diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0943-drm-amd-powerplay-Tidy-up-smu7_fan_ctrl_get_fan_spee.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0943-drm-amd-powerplay-Tidy-up-smu7_fan_ctrl_get_fan_spee.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0943-drm-amd-powerplay-Tidy-up-smu7_fan_ctrl_get_fan_spee.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0943-drm-amd-powerplay-Tidy-up-smu7_fan_ctrl_get_fan_spee.patch deleted file mode 100644 index 3cbfc987..00000000 --- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0943-drm-amd-powerplay-Tidy-up-smu7_fan_ctrl_get_fan_spee.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 9fc035b911fdc74660ae4a8e53e85899a870a34d Mon Sep 17 00:00:00 2001 -From: Tom St Denis <tom.stdenis@amd.com> -Date: Tue, 12 Sep 2017 09:46:40 -0400 -Subject: [PATCH 0943/4131] drm/amd/powerplay: Tidy up - smu7_fan_ctrl_get_fan_speed_info() - -Signed-off-by: Tom St Denis <tom.stdenis@amd.com> -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c -index baddb56..a491f12 100644 ---- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c -+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c -@@ -37,9 +37,8 @@ int smu7_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, - fan_speed_info->min_percent = 0; - fan_speed_info->max_percent = 100; - -- if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, -- PHM_PlatformCaps_FanSpeedInTableIsRPM) && -- hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution) { -+ if (PP_CAP(PHM_PlatformCaps_FanSpeedInTableIsRPM) && -+ hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution) { - fan_speed_info->supports_rpm_read = true; - fan_speed_info->supports_rpm_write = true; - fan_speed_info->min_rpm = hwmgr->thermal_controller.fanInfo.ulMinRPM; -@@ -581,4 +580,4 @@ void pp_smu7_thermal_fini(struct pp_hwmgr *hwmgr) - phm_destroy_table(hwmgr, &(hwmgr->set_temperature_range)); - phm_destroy_table(hwmgr, &(hwmgr->start_thermal_controller)); - return; --} -\ No newline at end of file -+} --- -2.7.4 - |