[PATCH] drm/vc4: Move IRQ enable to PM path

Stefan Wahren stefan.wahren at i2se.com
Sat Dec 30 20:03:00 UTC 2017


> Stefan Schake <stschake at gmail.com> hat am 29. Dezember 2017 um 17:05 geschrieben:
> 
> 
> 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: 253696ccd613 ("drm/vc4: Account for interrupts in flight")
> Signed-off-by: Stefan Schake <stschake at gmail.com>

Tested-by: Stefan Wahren <stefan.wahren at i2se.com>


More information about the dri-devel mailing list