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>
Wed, 1 Jul 2020 15:32:43 +0000 (16:32 +0100)
commit3fe049568fdab8674ecb27130785ec118b41df2d
tree709298ecff156891ac61affc3593304b7cf05349
parentdf74805df15d740b47bd6aca7f03ef992b0e4e6a
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