diff options
author | 2023-11-30 18:39:03 +0800 | |
---|---|---|
committer | 2023-11-30 18:26:31 -0500 | |
commit | f875f61b1fd626a4223a5bdf0339b5372c689e13 (patch) | |
tree | bd1066f4519d80181c8643c0dc540bbfbf5134a6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | drm/amdgpu: distinguish rlc fw for different SKU (diff) | |
download | linux-f875f61b1fd626a4223a5bdf0339b5372c689e13.tar.gz linux-f875f61b1fd626a4223a5bdf0339b5372c689e13.tar.bz2 linux-f875f61b1fd626a4223a5bdf0339b5372c689e13.zip |
drm/amdgpu: enable mca debug mode on APU by default
enable MCA debug mode on APU device by default.
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index f6b47ebce9d6..72634d675e27 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -3132,7 +3132,8 @@ int amdgpu_ras_late_init(struct amdgpu_device *adev) if (amdgpu_sriov_vf(adev)) return 0; - amdgpu_ras_set_mca_debug_mode(adev, false); + /* enable MCA debug on APU device */ + amdgpu_ras_set_mca_debug_mode(adev, !!(adev->flags & AMD_IS_APU)); list_for_each_entry_safe(node, tmp, &adev->ras_list, node) { if (!node->ras_obj) { |