diff options
| author | Yang Wang <[email protected]> | 2024-05-14 07:56:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-17 21:40:36 +0000 |
| commit | b2aa3d4b3048598e665230e2da46a62ad1f48d52 (patch) | |
| tree | aedf35907612c37a1735dcae5a3c8cd0402ba220 /drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | |
| parent | drm/amdgpu: enable some cg feature for gc 12.0.0 (diff) | |
| download | kernel-b2aa3d4b3048598e665230e2da46a62ad1f48d52.tar.gz kernel-b2aa3d4b3048598e665230e2da46a62ad1f48d52.zip | |
drm/amdgpu: add debug flag to enable RAS ACA
Use debug_mask=0x10 (BIT.4) param to help enable RAS ACA.
(RAS ACA is disabled by default.)
Signed-off-by: Yang Wang <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c index 9e3560c190e3..0002d3ae4761 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c @@ -686,7 +686,8 @@ static void aca_manager_fini(struct aca_handle_manager *mgr) bool amdgpu_aca_is_enabled(struct amdgpu_device *adev) { - return adev->aca.is_enabled; + return (adev->aca.is_enabled || + adev->debug_enable_ras_aca); } int amdgpu_aca_init(struct amdgpu_device *adev) |
