Files
linux/drivers/gpu/drm/vc4
Stefan Schake ce9caf2f79 drm/vc4: Move IRQ enable to PM path
We were calling enable_irq on bind, where it was already enabled previously
by the IRQ helper. Additionally, dev->irq is not set correctly until after
postinstall and so was always zero here, triggering a warning in 4.15.
Fix both by moving the enable to the power management resume path, where we
know there was a previous disable invocation during suspend.

Fixes: 253696ccd6 ("drm/vc4: Account for interrupts in flight")
Signed-off-by: Stefan Schake <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Tested-by: Stefan Wahren <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
2018-01-03 15:56:03 -08:00
..
2017-07-26 12:15:12 -07:00
2017-02-01 12:51:23 -08:00
2018-01-03 15:56:03 -08:00
2017-08-16 21:35:57 +02:00
2017-07-26 12:15:12 -07:00
2018-01-03 15:56:03 -08:00