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
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
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
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