diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0099-drm-amd-pp-OverDrive-gfx-domain-voltage-on-Tonga.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0099-drm-amd-pp-OverDrive-gfx-domain-voltage-on-Tonga.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0099-drm-amd-pp-OverDrive-gfx-domain-voltage-on-Tonga.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0099-drm-amd-pp-OverDrive-gfx-domain-voltage-on-Tonga.patch new file mode 100644 index 00000000..9c8ee68a --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0099-drm-amd-pp-OverDrive-gfx-domain-voltage-on-Tonga.patch @@ -0,0 +1,36 @@ +From a3ea9c0de9c1e778aef7029849386abc07d32a8d Mon Sep 17 00:00:00 2001 +From: Rex Zhu <Rex.Zhu@amd.com> +Date: Mon, 13 Aug 2018 18:37:39 +0800 +Subject: [PATCH 0099/2940] drm/amd/pp: OverDrive gfx domain voltage on Tonga + +Also ajust the gfx domain voltage on Tonga when user overdriver +the voltage. + +For Tonga, Driver do not update user's setting to voltage table +in smu, we only pick up a minimum value from voltage table that +not less than the user's setting. + +v2: fix a typo + +Acked-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +index ab759e38e4ea..04b7da0e39a6 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +@@ -4857,6 +4857,7 @@ static int smu7_odn_edit_dpm_table(struct pp_hwmgr *hwmgr, + podn_vdd_dep_in_backend->entries[input_level].clk = input_clk; + podn_dpm_table_in_backend->entries[input_level].vddc = input_vol; + podn_vdd_dep_in_backend->entries[input_level].vddc = input_vol; ++ podn_vdd_dep_in_backend->entries[input_level].vddgfx = input_vol; + } else { + return -EINVAL; + } +-- +2.17.1 + |