Skip to content

Commit f875f61

Browse files
Yang Wangalexdeucher
authored andcommitted
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>
1 parent 9596ffe commit f875f61

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3132,7 +3132,8 @@ int amdgpu_ras_late_init(struct amdgpu_device *adev)
31323132
if (amdgpu_sriov_vf(adev))
31333133
return 0;
31343134

3135-
amdgpu_ras_set_mca_debug_mode(adev, false);
3135+
/* enable MCA debug on APU device */
3136+
amdgpu_ras_set_mca_debug_mode(adev, !!(adev->flags & AMD_IS_APU));
31363137

31373138
list_for_each_entry_safe(node, tmp, &adev->ras_list, node) {
31383139
if (!node->ras_obj) {

0 commit comments

Comments
 (0)