projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de95753
)
drm/amd/pm: correct the way for retrieving enabled ppfeatures on Renoir
author
Evan Quan
<evan.quan@amd.com>
Wed, 8 Dec 2021 04:08:39 +0000
(12:08 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 7 Feb 2022 23:01:16 +0000
(18:01 -0500)
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>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
b/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
index 2c1eff9fe4f26bbc66562f3d31d7fd32e22c377b..ab9c1c156868649c9979a51ae93357db43b3533b 100644
(file)
--- a/
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
+++ b/
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
@@
-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);