mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
drm/amd/pm: correct the way for retrieving enabled ppfeatures on Renoir
As other dGPU asics, Renoir should use smu_cmn_get_enabled_mask() for that job. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
de95753cce
commit
bd42571168
|
|
@ -710,7 +710,8 @@ size_t smu_cmn_get_pp_feature_mask(struct smu_context *smu,
|
|||
size_t size = 0;
|
||||
int ret = 0, i;
|
||||
|
||||
if (!smu->is_apu) {
|
||||
if (!smu->is_apu ||
|
||||
(smu->adev->asic_type == CHIP_RENOIR)) {
|
||||
ret = smu_cmn_get_enabled_mask(smu,
|
||||
feature_mask,
|
||||
2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user