aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vc4/vc4_irq.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2021-08-03 11:07:01 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2021-08-10 20:13:53 +0200
commitb6366814fa77cfbc2a816614f7a981a9d1eadf8d (patch)
treee291c77161cde1fc536ea3ae1083a8ead2fb920f /drivers/gpu/drm/vc4/vc4_irq.c
parentdrm/tidss: Convert to Linux IRQ interfaces (diff)
downloadlinux-dev-b6366814fa77cfbc2a816614f7a981a9d1eadf8d.tar.xz
linux-dev-b6366814fa77cfbc2a816614f7a981a9d1eadf8d.zip
drm/tilcdc: Convert to Linux IRQ interfaces
Drop the DRM IRQ midlayer in favor of Linux IRQ interfaces. DRM's IRQ helpers are mostly useful for UMS drivers. Modern KMS drivers don't benefit from using it. DRM IRQ callbacks are now being called directly or inlined. Calls to platform_get_irq() can fail with a negative errno code. Abort initialization in this case. The DRM IRQ midlayer does not handle this case correctly. For most drivers, only the DRM IRQ helpers use irq_enabled from struct drm_device. Tilcdc also uses irq_enabled to make its error rollback work correctly. As the field will become legacy, duplicated the state in the driver's local private structure. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210803090704.32152-12-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_irq.c')
0 files changed, 0 insertions, 0 deletions