[PATCH 12/18] drm: pass the irq explicitly to drm_irq_install

Thierry Reding thierry.reding at gmail.com
Thu Apr 17 08:06:56 PDT 2014


On Fri, Apr 11, 2014 at 11:36:09PM +0200, Daniel Vetter wrote:
> 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.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  Documentation/DocBook/drm.tmpl           | 10 +---------
>  drivers/gpu/drm/armada/armada_drv.c      |  2 +-
>  drivers/gpu/drm/drm_irq.c                | 13 +++----------
>  drivers/gpu/drm/gma500/psb_drv.c         |  2 +-
>  drivers/gpu/drm/i915/i915_dma.c          |  2 +-
>  drivers/gpu/drm/i915/i915_drv.c          |  4 ++--
>  drivers/gpu/drm/i915/i915_gem.c          |  2 +-
>  drivers/gpu/drm/msm/msm_drv.c            |  2 +-
>  drivers/gpu/drm/qxl/qxl_irq.c            |  2 +-
>  drivers/gpu/drm/radeon/radeon_irq_kms.c  |  2 +-
>  drivers/gpu/drm/shmobile/shmob_drm_drv.c |  2 +-
>  drivers/gpu/drm/tilcdc/tilcdc_drv.c      |  2 +-
>  drivers/gpu/drm/vmwgfx/vmwgfx_drv.c      |  2 +-
>  include/drm/drmP.h                       |  2 +-
>  14 files changed, 17 insertions(+), 32 deletions(-)

Looks good to me:

Reviewed-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140417/da1f6737/attachment.sig>


More information about the dri-devel mailing list