summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/etnaviv/etnaviv_gpu.h
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-01-19 17:05:40 +0300
committerLucas Stach <l.stach@pengutronix.de>2018-03-09 14:22:35 +0300
commit65f037e8e9085b9d6d76e5894c1e5353602202be (patch)
tree3e3149268950681f6c5b691937819edfc0d380b1 /drivers/gpu/drm/etnaviv/etnaviv_gpu.h
parent4df3000ebcc43af39e3312e2c0d084dcd625c758 (diff)
downloadlinux-65f037e8e9085b9d6d76e5894c1e5353602202be.tar.xz
drm/etnaviv: add support for slave interface clock
The slave interface clock is a clock input found on newer cores to gate the register interface. For now we simply ungate it when the GPU is in active state. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gpu.h')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_gpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h
index 186f7c7408b5..3b19528330a0 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h
+++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h
@@ -147,6 +147,7 @@ struct etnaviv_gpu {
/* Power Control: */
struct clk *clk_bus;
+ struct clk *clk_reg;
struct clk *clk_core;
struct clk *clk_shader;