diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-03 15:09:27 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-04-23 04:32:50 -0400 |
commit | bb0f1b5c1695b4399cfd2359c114ae63edbb3ad8 (patch) | |
tree | 2b5eb0a2b6e44168ab4af4f8393d5fcee8e2beee /include/drm | |
parent | a319c1a47855eef2e1789527688b8dfdcf101dba (diff) |
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>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 8e8c392d6fa8..7a7cfe88b9bf 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1353,7 +1353,7 @@ extern void drm_core_reclaim_buffers(struct drm_device *dev, | |||
1353 | /* IRQ support (drm_irq.h) */ | 1353 | /* IRQ support (drm_irq.h) */ |
1354 | extern int drm_control(struct drm_device *dev, void *data, | 1354 | extern int drm_control(struct drm_device *dev, void *data, |
1355 | struct drm_file *file_priv); | 1355 | struct drm_file *file_priv); |
1356 | extern int drm_irq_install(struct drm_device *dev); | 1356 | extern int drm_irq_install(struct drm_device *dev, int irq); |
1357 | extern int drm_irq_uninstall(struct drm_device *dev); | 1357 | extern int drm_irq_uninstall(struct drm_device *dev); |
1358 | 1358 | ||
1359 | extern int drm_vblank_init(struct drm_device *dev, int num_crtcs); | 1359 | extern int drm_vblank_init(struct drm_device *dev, int num_crtcs); |