RE: [PATCH 7/7] drm/amdgpu: Remove redundant .ras_late_init initialization in some ras blocks

2022-02-15 Thread Chai, Thomas
[AMD Official Use Only] OK -Original Message- From: Zhou1, Tao Sent: Wednesday, February 16, 2022 11:11 AM To: Chai, Thomas ; amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Clements, John Subject: RE: [PATCH 7/7] drm/amdgpu: Remove redundant .ras_late_init initialization in some

RE: [PATCH 7/7] drm/amdgpu: Remove redundant .ras_late_init initialization in some ras blocks

2022-02-15 Thread Zhou1, Tao
[AMD Official Use Only] > -Original Message- > From: Chai, Thomas > Sent: Tuesday, February 15, 2022 3:41 PM > To: amd-gfx@lists.freedesktop.org > Cc: Chai, Thomas ; Zhang, Hawking > ; Zhou1, Tao ; Clements, > John ; Chai, Thomas > Subject: [PATCH 7/7] drm/

[PATCH 7/7] drm/amdgpu: Remove redundant .ras_late_init initialization in some ras blocks

2022-02-14 Thread yipechai
1. Define amdgpu_ras_block_late_init_default in amdgpu_ras.c as .ras_late_init common function, which is called when .ras_late_init of ras block doesn't initialize. 2. Remove the code of using amdgpu_ras_block_late_init to initialize .ras_late_init in ras blocks. Signed-off-by: yipechai