drm/armada: disable CRTC clock during DPMS
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 29 Jun 2015 17:01:38 +0000 (18:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Sep 2015 15:26:50 +0000 (16:26 +0100)
commite0ac5e9b4b14ab4be7fbba48d666fc619342fd88
tree5330de85f7bc31fb6d67aa9b10ae850d96843d43
parentf8e140698234dae3a4ea7b971e7bf63a3e0c987a
drm/armada: disable CRTC clock during DPMS

When the CRTC is in low power mode, it isn't running, and so there's
no point keeping the CRTC clock enabled.  Disable the CRTC clock during
DPMS.

We need to re-enable it in the mode_set callback to ensure that the
variant's compute_clock() continues to see its clock in the expected
state (enabled).

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/armada/armada_crtc.c