aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorYang Wang <[email protected]>2024-05-14 07:56:34 +0000
committerAlex Deucher <[email protected]>2024-05-17 21:40:36 +0000
commitb2aa3d4b3048598e665230e2da46a62ad1f48d52 (patch)
treeaedf35907612c37a1735dcae5a3c8cd0402ba220 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: enable some cg feature for gc 12.0.0 (diff)
downloadkernel-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.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 733ecffc640e..d66163e756f1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1166,6 +1166,7 @@ struct amdgpu_device {
bool debug_largebar;
bool debug_disable_soft_recovery;
bool debug_use_vram_fw_buf;
+ bool debug_enable_ras_aca;
};
static inline uint32_t amdgpu_ip_version(const struct amdgpu_device *adev,