diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1983-drm-amd-powerplay-get-the-temperature-on-CZ.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1983-drm-amd-powerplay-get-the-temperature-on-CZ.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1983-drm-amd-powerplay-get-the-temperature-on-CZ.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1983-drm-amd-powerplay-get-the-temperature-on-CZ.patch new file mode 100644 index 00000000..46cbae2f --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1983-drm-amd-powerplay-get-the-temperature-on-CZ.patch @@ -0,0 +1,29 @@ +From f0972025906ed52597cd1ef5718a1e99603b4f6f Mon Sep 17 00:00:00 2001 +From: Satyajit Sahu <satyajit.sahu@amd.com> +Date: Fri, 6 Oct 2017 06:28:16 +0000 +Subject: [PATCH 1983/4131] drm/amd/powerplay: get the temperature on CZ + +Setting the function pointer to the get the temperature on CZ. + +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c +index 189f3b5..bd5b0c1 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c +@@ -1894,6 +1894,7 @@ static const struct pp_hwmgr_func cz_hwmgr_funcs = { + .get_current_shallow_sleep_clocks = cz_get_current_shallow_sleep_clocks, + .get_clock_by_type = cz_get_clock_by_type, + .get_max_high_clocks = cz_get_max_high_clocks, ++ .get_temperature = cz_thermal_get_temperature, + .read_sensor = cz_read_sensor, + .power_off_asic = cz_power_off_asic, + .asic_setup = cz_setup_asic_task, +-- +2.7.4 + |