diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-03-12 22:00:59 +0300 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-03-29 16:53:53 +0300 |
commit | bcdfb5e56dc539506f72e8087c993af1f7ff06eb (patch) | |
tree | b01232ce0b4e7a46e2fe60df346b602882c82954 /drivers/gpu/drm/etnaviv/etnaviv_gem.h | |
parent | fda8fa5b8ab2ceb02cb66ee2fe2ed83aa209bc5b (diff) | |
download | linux-bcdfb5e56dc539506f72e8087c993af1f7ff06eb.tar.xz |
drm/etnaviv: add etnaviv cooling device
Each Vivante GPU contains a clock divider which can divide the GPU clock
by 2^n, which can lower the power dissipation from the GPU. It has been
suggested that the GC600 on Dove is responsible for 20-30% of the power
dissipation from the SoC, so lowering the GPU clock rate provides a way
to throttle the power dissiptation, and reduce the temperature when the
SoC gets hot.
This patch hooks the Etnaviv driver into the kernel's thermal management
to allow the GPUs to be throttled when necessary, allowing a reduction in
GPU clock rate from /1 to /64 in power of 2 steps.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gem.h')
0 files changed, 0 insertions, 0 deletions