projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca55f45
)
drm/amd/pm: enable the fine grain tuning function for renoir
author
Xiaojian Du
<Xiaojian.Du@amd.com>
Fri, 18 Dec 2020 08:07:14 +0000
(16:07 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:30:41 +0000
(11:30 -0500)
This patch is to enable the fine grain tuning function for renoir.
Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
index d921986448c547b5ad0f5283370fe07f17fdd7a9..d80f7f8efdcddac87a6de9aca53d407a84385aba 100644
(file)
--- a/
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
+++ b/
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@
-402,6
+402,8
@@
static int smu_set_funcs(struct amdgpu_device *adev)
break;
case CHIP_RENOIR:
renoir_set_ppt_funcs(smu);
+ /* enable the OD by default to allow the fine grain tuning function */
+ smu->od_enabled = true;
break;
case CHIP_VANGOGH:
vangogh_set_ppt_funcs(smu);