drm/amdgpu: drop debug_enable_ras_aca debug mask flag
Subsystems (2)
PATCH 2/2 drm/amdgpu: drop debug_enable_ras_aca debug mask flag
drop debug_enable_ras_aca debug mask flag
Signed-off-by Ce Sun <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 6 ------ 2 files changed, 7 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -1
@@ -926,7 +926,6 @@ struct amdgpu_device {bool debug_largebar;bool debug_disable_soft_recovery;bool debug_use_vram_fw_buf; -bool debug_enable_ras_aca;bool debug_exp_resets;bool debug_disable_gpu_ring_reset;bool debug_vm_userptr;
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0 -6
@@ -139,7 +139,6 @@ enum AMDGPU_DEBUG_MASK {AMDGPU_DEBUG_LARGEBAR =BIT (1 ),AMDGPU_DEBUG_DISABLE_GPU_SOFT_RECOVERY =BIT (2 ),AMDGPU_DEBUG_USE_VRAM_FW_BUF =BIT (3 ), -AMDGPU_DEBUG_ENABLE_RAS_ACA =BIT (4 ),AMDGPU_DEBUG_ENABLE_EXP_RESETS =BIT (5 ),AMDGPU_DEBUG_DISABLE_GPU_RING_RESET =BIT (6 ), AMDGPU_DEBUG_SMU_POOL = BIT(7),
@@ -2264,11 +2263,6 @@ static void amdgpu_init_debug_options(struct amdgpu_device *adev) adev->debug_use_vram_fw_buf = true; } -if (amdgpu_debug_mask &AMDGPU_DEBUG_ENABLE_RAS_ACA ) { -pr_info ("debug: enable RAS ACA\n" ); - adev->debug_enable_ras_aca = true; - } -if (amdgpu_debug_mask &AMDGPU_DEBUG_ENABLE_EXP_RESETS ) {pr_info ("debug: enable experimental reset features\n" ); adev->debug_exp_resets = true;
Signature · 1 line
2.34.1
AMD General
The patch is
Reviewed-by Hawking Zhang <[email protected]>
Regards,
Hawking
-----Original Message-----
From: Sun, Ce(Overlord) <[email protected]>
Sent: Tuesday, July 7, 2026 9:59 PM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Chai, Thomas <[email protected]>; Zhou1, Tao <[email protected]>; Yang, Stanley <[email protected]>; Sun, Ce(Overlord) <[email protected]>
Subject: [PATCH 2/2] drm/amdgpu: drop debug_enable_ras_aca debug mask flag
drop debug_enable_ras_aca debug mask flag
Signed-off-by Ce Sun <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 6 ------ 2 files changed, 7 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -1
@@ -926,7 +926,6 @@ struct amdgpu_device {bool debug_largebar;bool debug_disable_soft_recovery;bool debug_use_vram_fw_buf; -bool debug_enable_ras_aca;bool debug_exp_resets;bool debug_disable_gpu_ring_reset;bool debug_vm_userptr;
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0 -6
@@ -139,7 +139,6 @@ enum AMDGPU_DEBUG_MASK {AMDGPU_DEBUG_LARGEBAR =BIT (1 ),AMDGPU_DEBUG_DISABLE_GPU_SOFT_RECOVERY =BIT (2 ),AMDGPU_DEBUG_USE_VRAM_FW_BUF =BIT (3 ), -AMDGPU_DEBUG_ENABLE_RAS_ACA =BIT (4 ),AMDGPU_DEBUG_ENABLE_EXP_RESETS =BIT (5 ),AMDGPU_DEBUG_DISABLE_GPU_RING_RESET =BIT (6 ), AMDGPU_DEBUG_SMU_POOL = BIT(7),
@@ -2264,11 +2263,6 @@ static void amdgpu_init_debug_options(struct amdgpu_device *adev) adev->debug_use_vram_fw_buf = true; } -if (amdgpu_debug_mask &AMDGPU_DEBUG_ENABLE_RAS_ACA ) { -pr_info ("debug: enable RAS ACA\n" ); - adev->debug_enable_ras_aca = true; - } -if (amdgpu_debug_mask &AMDGPU_DEBUG_ENABLE_EXP_RESETS ) {pr_info ("debug: enable experimental reset features\n" ); adev->debug_exp_resets = true;
--
2.34.1