OpenCloudOS-Kernel/drivers/gpu/drm/omapdrm
Laurent Pinchart f13ab00567 drm: omapdrm: Simplify IRQ registration
The omapdrm can't use drm_irq_install() and drm_irq_uninstall() as it
delegates IRQ handling to the omapdss driver. However, the code still
declares IRQ-related operations used by the DRM IRQ helpers, and calls
them indirectly.

Simplify the implementation by calling the functions directly or
inlining them. The irq_enabled checks can then also be simplified as
the call stacks guarantees that omap_drm_irq_install() and
omap_drm_irq_uninstall() will never run concurrently.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2015-06-12 22:52:45 +03:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/omap: kill omap_gem_helpers.c 2013-08-19 10:36:16 +10:00
TODO drm/omap: move out of staging 2013-02-16 17:38:06 -05:00
omap_connector.c fbdev changes for v4.1 2015-04-20 15:16:25 -07:00
omap_crtc.c drm: omapdrm: Rename omap_crtc page flip-related fields 2015-06-12 22:52:45 +03:00
omap_debugfs.c drm: store the gem vma offset manager in a typed pointer 2014-01-14 12:38:32 +10:00
omap_dmm_priv.h drm/omap: fix race conditon in DMM 2015-03-24 13:50:59 +02:00
omap_dmm_tiler.c drm/omap: tiler: add hibernation callback 2015-03-24 14:09:43 +02:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm: omapdrm: Simplify IRQ registration 2015-06-12 22:52:45 +03:00
omap_drv.h drm: omapdrm: Simplify IRQ registration 2015-06-12 22:52:45 +03:00
omap_encoder.c drm/omap: Add infoframe & dvi/hdmi mode support 2014-07-04 11:17:59 +03:00
omap_fb.c drm/omap: handle incompatible buffer stride and pixel size 2015-03-24 13:50:55 +02:00
omap_fbdev.c drm: omapdrm: Remove manual update display support 2015-03-20 14:30:19 +02:00
omap_gem.c drm/omap: fix race condition with dev->obj_list 2015-03-24 13:50:58 +02:00
omap_gem_dmabuf.c dma-buf: cleanup dma_buf_export() to make it easily extensible 2015-04-21 14:47:16 +05:30
omap_irq.c drm: omapdrm: Simplify IRQ registration 2015-06-12 22:52:45 +03:00
omap_plane.c drm: omapdrm: Apply settings synchronously 2015-06-12 22:52:45 +03:00
tcm-sita.c drm/omap: move out of staging 2013-02-16 17:38:06 -05:00
tcm-sita.h drm/omap: move out of staging 2013-02-16 17:38:06 -05:00
tcm.h drm/omap: move out of staging 2013-02-16 17:38:06 -05:00