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>
Wed, 1 Jul 2020 15:32:43 +0000 (16:32 +0100)
commit1d15d36df3c5910de9d4115cc3937083820816f9
treebd3cca83e3e193158c33d3dc2c6961c3be2d04f4
parentb237a7a6fb9192de1a8c29bd62c0bd78a1da1d2c
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