RE: [PATCH] drm/amdgpu: Quit RAS initialization earlier if RAS is disabled

2021-05-08 Thread Zhang, Hawking
ed-by: Hawking Zhang Regards, Hawking -Original Message- From: Zeng, Oak Sent: Friday, May 7, 2021 09:15 To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Lazar, Lijo ; Clements, John ; Joshi, Mukul ; Zeng, Oak Subject: [PATCH] drm/amdgpu: Quit RAS in

Re: [PATCH] drm/amdgpu: Quit RAS initialization earlier if RAS is disabled

2021-05-07 Thread Zeng, Oak
ng -Original Message- From: Zeng, Oak Sent: Friday, May 7, 2021 09:15 To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Lazar, Lijo ; Clements, John ; Joshi, Mukul ; Zeng, Oak Subject: [PATCH] drm/amdgpu: Quit RAS initialization earlier if RAS is disabled

RE: [PATCH] drm/amdgpu: Quit RAS initialization earlier if RAS is disabled

2021-05-07 Thread Zhang, Hawking
initialization earlier if RAS is disabled If RAS is disabled through amdgpu_ras_enable kernel parameter, we should quit the RAS initialization eariler to avoid initialization of some RAS data structure such as sysfs etc. Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1

[PATCH] drm/amdgpu: Quit RAS initialization earlier if RAS is disabled

2021-05-06 Thread Oak Zeng
If RAS is disabled through amdgpu_ras_enable kernel parameter, we should quit the RAS initialization eariler to avoid initialization of some RAS data structure such as sysfs etc. Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio