drm/etnaviv: enable GPU module level clock gating support
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 21 Jan 2016 15:20:45 +0000 (15:20 +0000)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 5 Jul 2016 14:26:36 +0000 (16:26 +0200)
commit7d0c6e711549cb623dc98a68bf89e66208263636
tree6aa1f6e0c234458d903386cd8d1615b5793cc35f
parent33688abb2802ff3a230bd2441f765477b94cc89e
drm/etnaviv: enable GPU module level clock gating support

Enable GPU module level hardware clock gating, using the conditions
found in the galcore v5 driver.

v2 lst: Split out clock gating enable into separate function, as
there might be more conditions needed for new hardware.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
drivers/gpu/drm/etnaviv/state_hi.xml.h