drm/vc4: Fix warning about vblank interrupts before DRM core is ready.
authorEric Anholt <eric@anholt.net>
Mon, 5 Feb 2018 18:01:02 +0000 (18:01 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:01 +0000 (00:08 +0100)
commit54151729c25f5e74b98c5b7f3955bf89aa9eec49
treed93961af04dd1b0f2437b8911d17345cb90e71c6
parent75c60dd2a904663e0e606efd0bfb369163e167fe
drm/vc4: Fix warning about vblank interrupts before DRM core is ready.

The SMICS interrupt fires continuously, but since it's 1/100 the rate
of the USB interrupts, we don't really need a way to turn it off.  We
do need to make sure that we don't tell DRM about it until DRM has
asked for the interrupt at least once, because otherwise it will throw
a warning at boot time.

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