drm/amd/powerplay: correct SW SMU valid mapping check
Current implementation is not actually able to detect invalid message/table/workload mapping. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -141,6 +141,7 @@ enum PP_SMC_POWER_PROFILE {
|
||||
PP_SMC_POWER_PROFILE_VR = 0x4,
|
||||
PP_SMC_POWER_PROFILE_COMPUTE = 0x5,
|
||||
PP_SMC_POWER_PROFILE_CUSTOM = 0x6,
|
||||
PP_SMC_POWER_PROFILE_COUNT,
|
||||
};
|
||||
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user