drm/vc4: Add support for setting DPMS in firmwarekms.
authorEric Anholt <eric@anholt.net>
Thu, 6 Jul 2017 18:45:48 +0000 (11:45 -0700)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:00 +0000 (00:08 +0100)
commitdd068d7f1d700795bc34f61547753ecaccbef076
tree3ea10622bd0e0f36876e68ff6c0f9485fef1d6ce
parent5fb60153e9fe979ea9abda8203df757d46b16b6d
drm/vc4: Add support for setting DPMS in firmwarekms.

This ensures that the screen goes blank during DPMS (screensaver),
including the cursor.  Planes don't necessarily get disabled during
CRTC disable, so we need to be careful to not leave them on or turn
them back on early.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_firmware_kms.c