From: Xiaojian Du Date: Fri, 18 Dec 2020 08:07:14 +0000 (+0800) Subject: drm/amd/pm: enable the fine grain tuning function for renoir X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=16a0fd2a15f4735e5523fa9794e39d6176e5040a;p=linux.git drm/amd/pm: enable the fine grain tuning function for renoir This patch is to enable the fine grain tuning function for renoir. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c index d921986448c54..d80f7f8efdcdd 100644 --- 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);