aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2020-12-10 12:15:11 +0000
committerDaniel Lezcano <[email protected]>2020-12-11 13:11:13 +0000
commitd7203eedf4f68e9909fd489453168a9d26bf0c3d (patch)
treee01753f7ff94f984387e65e7f2386426aeb371bd /drivers/gpu/drm/lima/lima_devfreq.c
parentthermal/core: Emit a warning if the thermal zone is updated without ops (diff)
downloadkernel-d7203eedf4f68e9909fd489453168a9d26bf0c3d.tar.gz
kernel-d7203eedf4f68e9909fd489453168a9d26bf0c3d.zip
thermal/core: Add critical and hot ops
Currently there is no way to the sensors to directly call an ops in interrupt mode without calling thermal_zone_device_update assuming all the trip points are defined. A sensor may want to do something special if a trip point is hot or critical. This patch adds the critical and hot ops to the thermal zone device, so a sensor can directly invoke them or let the thermal framework to call the sensor specific ones. Tested-by: Kai-Heng Feng <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Reviewed-by: Lukasz Luba <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.c')
0 files changed, 0 insertions, 0 deletions