OpenCloudOS-Kernel/drivers/gpu/drm/tilcdc
Thomas Zimmermann b6366814fa 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
2021-08-10 20:13:53 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile doc: use KCFLAGS instead of EXTRA_CFLAGS to pass flags from command line 2021-02-22 13:59:10 -07:00
tilcdc_crtc.c drm/tilcdc: fix pixel clock setting warning message 2021-03-24 12:05:28 +02:00
tilcdc_drv.c drm/tilcdc: Convert to Linux IRQ interfaces 2021-08-10 20:13:53 +02:00
tilcdc_drv.h drm/tilcdc: Convert to Linux IRQ interfaces 2021-08-10 20:13:53 +02:00
tilcdc_external.c drm/bridge: Centralize error message when bridge attach fails 2021-07-28 16:33:12 +03:00
tilcdc_external.h drm/tilcdc: Remove obsolete crtc_mode_valid() hack 2019-08-02 16:00:42 +03:00
tilcdc_panel.c drm/tilcdc: panel: fix platform_no_drv_owner.cocci warnings 2021-03-24 12:05:28 +02:00
tilcdc_panel.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
tilcdc_plane.c drm: Use state helper instead of the plane state pointer 2021-02-25 08:05:28 +01:00
tilcdc_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00