]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b428eb455e2e806e5aedafa0632d3da20362df1
tree5330de85f7bc31fb6d67aa9b10ae850d96843d43
parente2a4cab7db3a0690bba9da9c65ee8a35950250a8
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