mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
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>
This commit is contained in:
parent
9596ffe1cc
commit
f875f61b1f
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user