drm: pass the irq explicitly to drm_irq_install
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 3 Nov 2013 20:09:27 +0000 (21:09 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Apr 2014 08:32:50 +0000 (10:32 +0200)
commitbb0f1b5c1695b4399cfd2359c114ae63edbb3ad8
tree2b5eb0a2b6e44168ab4af4f8393d5fcee8e2beee
parenta319c1a47855eef2e1789527688b8dfdcf101dba
drm: pass the irq explicitly to drm_irq_install

Unfortunately this requires a drm-wide change, and I didn't see a sane
way around that. Luckily it's fairly simple, we just need to inline
the respective get_irq implementation from either drm_pci.c or
drm_platform.c.

With that we can now also remove drm_dev_to_irq from drm_irq.c.

Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
14 files changed:
Documentation/DocBook/drm.tmpl
drivers/gpu/drm/armada/armada_drv.c
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/gma500/psb_drv.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/qxl/qxl_irq.c
drivers/gpu/drm/radeon/radeon_irq_kms.c
drivers/gpu/drm/shmobile/shmob_drm_drv.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/drmP.h