Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/pp: Export new smu message for PCC feature on Vega10

used to set PccThrottleLevel and PccResidencyThreshold

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Rex Zhu and committed by
Alex Deucher
cc1bb66f ada6770e

+2 -2
+2 -2
drivers/gpu/drm/amd/powerplay/inc/smu9.h
··· 58 58 #define FEATURE_FAST_PPT_BIT 26 59 59 #define FEATURE_GFX_EDC_BIT 27 60 60 #define FEATURE_ACG_BIT 28 61 - #define FEATURE_SPARE_29_BIT 29 61 + #define FEATURE_PCC_LIMIT_CONTROL_BIT 29 62 62 #define FEATURE_SPARE_30_BIT 30 63 63 #define FEATURE_SPARE_31_BIT 31 64 64 ··· 94 94 #define FEATURE_FAST_PPT_MASK (1 << FAST_PPT_BIT ) 95 95 #define FEATURE_GFX_EDC_MASK (1 << FEATURE_GFX_EDC_BIT ) 96 96 #define FEATURE_ACG_MASK (1 << FEATURE_ACG_BIT ) 97 - #define FFEATURE_SPARE_29_MASK (1 << FEATURE_SPARE_29_BIT ) 97 + #define FEATURE_PCC_LIMIT_CONTROL_MASK (1 << FEATURE_PCC_LIMIT_CONTROL_BIT ) 98 98 #define FFEATURE_SPARE_30_MASK (1 << FEATURE_SPARE_30_BIT ) 99 99 #define FFEATURE_SPARE_31_MASK (1 << FEATURE_SPARE_31_BIT ) 100 100 /* Workload types */