mirror of https://gitee.com/openkylin/linux.git
drm/amd/pm: enable MP0 DPM for sienna_cichlid
Enable MP0 clock DPM for sienna_cichlid. Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
971df65cbf
commit
33286b793b
|
@ -68,7 +68,8 @@
|
||||||
FEATURE_MASK(FEATURE_DPM_LINK_BIT) | \
|
FEATURE_MASK(FEATURE_DPM_LINK_BIT) | \
|
||||||
FEATURE_MASK(FEATURE_DPM_SOCCLK_BIT) | \
|
FEATURE_MASK(FEATURE_DPM_SOCCLK_BIT) | \
|
||||||
FEATURE_MASK(FEATURE_DPM_FCLK_BIT) | \
|
FEATURE_MASK(FEATURE_DPM_FCLK_BIT) | \
|
||||||
FEATURE_MASK(FEATURE_DPM_DCEFCLK_BIT))
|
FEATURE_MASK(FEATURE_DPM_DCEFCLK_BIT) | \
|
||||||
|
FEATURE_MASK(FEATURE_DPM_MP0CLK_BIT))
|
||||||
|
|
||||||
#define SMU_11_0_7_GFX_BUSY_THRESHOLD 15
|
#define SMU_11_0_7_GFX_BUSY_THRESHOLD 15
|
||||||
|
|
||||||
|
@ -229,6 +230,7 @@ sienna_cichlid_get_allowed_feature_mask(struct smu_context *smu,
|
||||||
|
|
||||||
*(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DPM_PREFETCHER_BIT)
|
*(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DPM_PREFETCHER_BIT)
|
||||||
| FEATURE_MASK(FEATURE_DPM_FCLK_BIT)
|
| FEATURE_MASK(FEATURE_DPM_FCLK_BIT)
|
||||||
|
| FEATURE_MASK(FEATURE_DPM_MP0CLK_BIT)
|
||||||
| FEATURE_MASK(FEATURE_DS_SOCCLK_BIT)
|
| FEATURE_MASK(FEATURE_DS_SOCCLK_BIT)
|
||||||
| FEATURE_MASK(FEATURE_DS_DCEFCLK_BIT)
|
| FEATURE_MASK(FEATURE_DS_DCEFCLK_BIT)
|
||||||
| FEATURE_MASK(FEATURE_DS_FCLK_BIT)
|
| FEATURE_MASK(FEATURE_DS_FCLK_BIT)
|
||||||
|
|
Loading…
Reference in New Issue