drm/amd/powerplay: add allowed feature mask for navi10
add smu feature mask: 1.FEATURE_DPM_PREFETCHER_BIT 2.FEATURE_DPM_PREFETCHER_BIT 3.FEATURE_ATHUB_PG Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
74c958a376
commit
77ee9caf38
|
@ -122,7 +122,9 @@ navi10_get_allowed_feature_mask(struct smu_context *smu,
|
|||
|
||||
memset(feature_mask, 0, sizeof(uint32_t) * num);
|
||||
|
||||
*(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DPM_SOCCLK_BIT)
|
||||
*(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DPM_PREFETCHER_BIT)
|
||||
| FEATURE_MASK(FEATURE_DPM_GFXCLK_BIT)
|
||||
| FEATURE_MASK(FEATURE_DPM_SOCCLK_BIT)
|
||||
| FEATURE_MASK(FEATURE_DPM_MP0CLK_BIT)
|
||||
| FEATURE_MASK(FEATURE_DPM_LINK_BIT)
|
||||
| FEATURE_MASK(FEATURE_GFX_ULV_BIT)
|
||||
|
@ -134,7 +136,8 @@ navi10_get_allowed_feature_mask(struct smu_context *smu,
|
|||
| FEATURE_MASK(FEATURE_FAN_CONTROL_BIT)
|
||||
| FEATURE_MASK(FEATURE_THERMAL_BIT)
|
||||
| FEATURE_MASK(FEATURE_LED_DISPLAY_BIT)
|
||||
| FEATURE_MASK(FEATURE_MMHUB_PG);
|
||||
| FEATURE_MASK(FEATURE_MMHUB_PG)
|
||||
| FEATURE_MASK(FEATURE_ATHUB_PG);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue