diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1069-drm-amd-pp-thermal-control-not-enabled-on-vega10.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1069-drm-amd-pp-thermal-control-not-enabled-on-vega10.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1069-drm-amd-pp-thermal-control-not-enabled-on-vega10.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1069-drm-amd-pp-thermal-control-not-enabled-on-vega10.patch deleted file mode 100644 index 3a66d981..00000000 --- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1069-drm-amd-pp-thermal-control-not-enabled-on-vega10.patch +++ /dev/null @@ -1,46 +0,0 @@ -From dff2b372c42b8b3ccdf38aa2dba10634fc76552f Mon Sep 17 00:00:00 2001 -From: Rex Zhu <Rex.Zhu@amd.com> -Date: Wed, 18 Oct 2017 14:31:40 +0800 -Subject: [PATCH 1069/4131] drm/amd/pp: thermal control not enabled on vega10. - -regression issue. -caused by "f12f9f5e5d455edebc01" -forget to set start_thermal_controller function point. - -Change-Id: Ica1ef147ca5d31a5a5104dcf0399e91bb3742d10 -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> ---- - drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 1 + - drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h | 3 ++- - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c -index 2642e02..015f149 100644 ---- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c -+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c -@@ -5048,6 +5048,7 @@ static const struct pp_hwmgr_func vega10_hwmgr_funcs = { - .get_mclk_od = vega10_get_mclk_od, - .set_mclk_od = vega10_set_mclk_od, - .avfs_control = vega10_avfs_enable, -+ .start_thermal_controller = vega10_start_thermal_controller, - }; - - int vega10_hwmgr_init(struct pp_hwmgr *hwmgr) -diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h -index f34ce04..82f10bd 100644 ---- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h -+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h -@@ -71,7 +71,8 @@ extern int vega10_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, - extern int vega10_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr); - extern int vega10_thermal_disable_alert(struct pp_hwmgr *hwmgr); - extern int vega10_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr); -- -+extern int vega10_start_thermal_controller(struct pp_hwmgr *hwmgr, -+ struct PP_TemperatureRange *range); - extern uint32_t smu7_get_xclk(struct pp_hwmgr *hwmgr); - - #endif --- -2.7.4 - |