drm/amd/pm: enable smu_v13_0_6 mca debug mode when UMC RAS feature is enabled
authorYang Wang <kevinyang.wang@amd.com>
Fri, 8 Sep 2023 03:26:42 +0000 (11:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:10:48 +0000 (17:10 -0400)
commitdf38fe12a22c5d9a6f4cb86ddcc853a234d3756d
tree761b52946454f995ac012453c79d0d6dcfa23e24
parent174a33e470bfff743b6886e78ae042e520d4f29b
drm/amd/pm: enable smu_v13_0_6 mca debug mode when UMC RAS feature is enabled

v1:
enable smu_v13_0_6 mca debug mode when UMC RAS feature is enabled.

v2:
use amdgpu_ras_is_supported() helper function instead bitmask check.

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>
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c