linux/drivers/gpu/drm/etnaviv
Russell King bcdfb5e56d 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>
2017-03-29 15:53:53 +02:00
..
cmdstream.xml.h drm/etnaviv: Allow DRAW_INSTANCED commands 2016-12-02 19:30:22 +01:00
common.xml.h drm/etnaviv: update common and state_hi xml.h files 2016-01-26 18:53:55 +01:00
etnaviv_buffer.c drm/etnaviv: wire up iova handling in new cmdbuf abstraction 2017-02-02 10:30:20 +01:00
etnaviv_cmd_parser.c drm/etnaviv: add new GC3000 sensitive states 2017-01-30 12:43:54 +01:00
etnaviv_cmdbuf.c drm/etnaviv: add cmdbuf suballocator 2017-02-02 10:30:37 +01:00
etnaviv_cmdbuf.h drm/etnaviv: add cmdbuf suballocator 2017-02-02 10:30:37 +01:00
etnaviv_drv.c drm/etnaviv: switch to postclose 2017-03-29 15:53:38 +02:00
etnaviv_drv.h mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmf 2017-02-24 17:46:54 -08:00
etnaviv_dump.c drm/etnaviv: wire up iova handling in new cmdbuf abstraction 2017-02-02 10:30:20 +01:00
etnaviv_dump.h
etnaviv_gem_prime.c drm/etnaviv: fix gem_prime_get_sg_table to return new SG table 2016-12-02 19:30:23 +01:00
etnaviv_gem_submit.c drm/etnaviv: add cmdbuf suballocator 2017-02-02 10:30:37 +01:00
etnaviv_gem.c sched/headers: Prepare to move the get_task_struct()/put_task_struct() and related APIs from <linux/sched.h> to <linux/sched/task.h> 2017-03-02 08:42:40 +01:00
etnaviv_gem.h drm/etnaviv: fix mmap operations for userptr and dma-buf objects 2016-05-06 10:42:33 +02:00
etnaviv_gpu.c drm/etnaviv: add etnaviv cooling device 2017-03-29 15:53:53 +02:00
etnaviv_gpu.h drm/etnaviv: add etnaviv cooling device 2017-03-29 15:53:53 +02:00
etnaviv_iommu_v2.c drm/etnaviv: get cmdbuf physical address through the cmdbuf abstraction 2017-02-02 10:30:27 +01:00
etnaviv_iommu.c drm/etnaviv: constify etnaviv_iommu_ops structures 2017-02-02 10:29:52 +01:00
etnaviv_iommu.h drm/etnaviv: implement IOMMUv2 translation 2016-09-15 15:29:43 +02:00
etnaviv_mmu.c drm: Improve drm_mm search (and fix topdown allocation) with rbtrees 2017-02-03 11:10:32 +01:00
etnaviv_mmu.h drm/etnaviv: add cmdbuf suballocator 2017-02-02 10:30:37 +01:00
Kconfig drm/etnaviv: allow build with COMPILE_TEST 2017-01-27 15:23:47 +01:00
Makefile drm/etnaviv: move cmdbuf de-/allocation into own file 2017-02-02 10:30:15 +01:00
state_3d.xml.h drm: etnaviv: flush all GPU caches when stopping GPU 2016-03-07 15:36:56 +01:00
state_hi.xml.h drm/etnaviv: handle MMU exception in IRQ handler 2016-09-15 15:29:42 +02:00
state.xml.h