diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-11 05:34:42 -0500 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2013-12-17 20:33:46 -0500 |
| commit | e9f0d76f3bcd4dda7136baaaaf45bda3b13ff40f (patch) | |
| tree | 557d43df25c4d6b40fee763d99c8844c7bd9c960 | |
| parent | bfd8303af0c46bd094289ee4e65f1e4bcc4fb7d3 (diff) | |
drm: Kill DRM_IRQ_ARGS
I've killed them a long time ago in drm/i915, let's get rid of this
remnant of shared drm core days for good.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
24 files changed, 24 insertions, 27 deletions
diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.h b/drivers/gpu/drm/cirrus/cirrus_drv.h index b6aded73838b..117d3eca5e37 100644 --- a/drivers/gpu/drm/cirrus/cirrus_drv.h +++ b/drivers/gpu/drm/cirrus/cirrus_drv.h | |||
| @@ -222,7 +222,7 @@ void cirrus_fbdev_fini(struct cirrus_device *cdev); | |||
| 222 | void cirrus_driver_irq_preinstall(struct drm_device *dev); | 222 | void cirrus_driver_irq_preinstall(struct drm_device *dev); |
| 223 | int cirrus_driver_irq_postinstall(struct drm_device *dev); | 223 | int cirrus_driver_irq_postinstall(struct drm_device *dev); |
| 224 | void cirrus_driver_irq_uninstall(struct drm_device *dev); | 224 | void cirrus_driver_irq_uninstall(struct drm_device *dev); |
| 225 | irqreturn_t cirrus_driver_irq_handler(DRM_IRQ_ARGS); | 225 | irqreturn_t cirrus_driver_irq_handler(int irq, void *arg); |
| 226 | 226 | ||
| 227 | /* cirrus_kms.c */ | 227 | /* cirrus_kms.c */ |
| 228 | int cirrus_driver_load(struct drm_device *dev, unsigned long flags); | 228 | int cirrus_driver_load(struct drm_device *dev, unsigned long flags); |
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h index 8d2a395edbd2..5ad6a03e477e 100644 --- a/drivers/gpu/drm/gma500/psb_drv.h +++ b/drivers/gpu/drm/gma500/psb_drv.h | |||
| @@ -769,7 +769,7 @@ extern void psb_mmu_remove_pages(struct psb_mmu_pd *pd, | |||
| 769 | *psb_irq.c | 769 | *psb_irq.c |
| 770 | */ | 770 | */ |
| 771 | 771 | ||
| 772 | extern irqreturn_t psb_irq_handler(DRM_IRQ_ARGS); | 772 | extern irqreturn_t psb_irq_handler(int irq, void *arg); |
| 773 | extern int psb_irq_enable_dpst(struct drm_device *dev); | 773 | extern int psb_irq_enable_dpst(struct drm_device *dev); |
| 774 | extern int psb_irq_disable_dpst(struct drm_device *dev); | 774 | extern int psb_irq_disable_dpst(struct drm_device *dev); |
| 775 | extern void psb_irq_preinstall(struct drm_device *dev); | 775 | extern void psb_irq_preinstall(struct drm_device *dev); |
diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c index 76224721177e..ef00bce9991a 100644 --- a/drivers/gpu/drm/gma500/psb_irq.c +++ b/drivers/gpu/drm/gma500/psb_irq.c | |||
| @@ -200,7 +200,7 @@ static void psb_vdc_interrupt(struct drm_device *dev, uint32_t vdc_stat) | |||
| 200 | mid_pipe_event_handler(dev, 1); | 200 | mid_pipe_event_handler(dev, 1); |
| 201 | } | 201 | } |
| 202 | 202 | ||
| 203 | irqreturn_t psb_irq_handler(DRM_IRQ_ARGS) | 203 | irqreturn_t psb_irq_handler(int irq, void *arg) |
| 204 | { | 204 | { |
| 205 | struct drm_device *dev = arg; | 205 | struct drm_device *dev = arg; |
| 206 | struct drm_psb_private *dev_priv = dev->dev_private; | 206 | struct drm_psb_private *dev_priv = dev->dev_private; |
diff --git a/drivers/gpu/drm/gma500/psb_irq.h b/drivers/gpu/drm/gma500/psb_irq.h index debb7f190c06..d0b45ffa1126 100644 --- a/drivers/gpu/drm/gma500/psb_irq.h +++ b/drivers/gpu/drm/gma500/psb_irq.h | |||
| @@ -32,7 +32,7 @@ void sysirq_uninit(struct drm_device *dev); | |||
| 32 | void psb_irq_preinstall(struct drm_device *dev); | 32 | void psb_irq_preinstall(struct drm_device *dev); |
| 33 | int psb_irq_postinstall(struct drm_device *dev); | 33 | int psb_irq_postinstall(struct drm_device *dev); |
| 34 | void psb_irq_uninstall(struct drm_device *dev); | 34 | void psb_irq_uninstall(struct drm_device *dev); |
| 35 | irqreturn_t psb_irq_handler(DRM_IRQ_ARGS); | 35 | irqreturn_t psb_irq_handler(int irq, void *arg); |
| 36 | 36 | ||
| 37 | int psb_irq_enable_dpst(struct drm_device *dev); | 37 | int psb_irq_enable_dpst(struct drm_device *dev); |
| 38 | int psb_irq_disable_dpst(struct drm_device *dev); | 38 | int psb_irq_disable_dpst(struct drm_device *dev); |
diff --git a/drivers/gpu/drm/mga/mga_drv.h b/drivers/gpu/drm/mga/mga_drv.h index ca4bc54ea214..901e4f935fed 100644 --- a/drivers/gpu/drm/mga/mga_drv.h +++ b/drivers/gpu/drm/mga/mga_drv.h | |||
| @@ -186,7 +186,7 @@ extern void mga_disable_vblank(struct drm_device *dev, int crtc); | |||
| 186 | extern u32 mga_get_vblank_counter(struct drm_device *dev, int crtc); | 186 | extern u32 mga_get_vblank_counter(struct drm_device *dev, int crtc); |
| 187 | extern int mga_driver_fence_wait(struct drm_device *dev, unsigned int *sequence); | 187 | extern int mga_driver_fence_wait(struct drm_device *dev, unsigned int *sequence); |
| 188 | extern int mga_driver_vblank_wait(struct drm_device *dev, unsigned int *sequence); | 188 | extern int mga_driver_vblank_wait(struct drm_device *dev, unsigned int *sequence); |
| 189 | extern irqreturn_t mga_driver_irq_handler(DRM_IRQ_ARGS); | 189 | extern irqreturn_t mga_driver_irq_handler(int irq, void *arg); |
| 190 | extern void mga_driver_irq_preinstall(struct drm_device *dev); | 190 | extern void mga_driver_irq_preinstall(struct drm_device *dev); |
| 191 | extern int mga_driver_irq_postinstall(struct drm_device *dev); | 191 | extern int mga_driver_irq_postinstall(struct drm_device *dev); |
| 192 | extern void mga_driver_irq_uninstall(struct drm_device *dev); | 192 | extern void mga_driver_irq_uninstall(struct drm_device *dev); |
diff --git a/drivers/gpu/drm/mga/mga_irq.c b/drivers/gpu/drm/mga/mga_irq.c index 8a92edb6bd61..14c0e3ca2b07 100644 --- a/drivers/gpu/drm/mga/mga_irq.c +++ b/drivers/gpu/drm/mga/mga_irq.c | |||
| @@ -47,7 +47,7 @@ u32 mga_get_vblank_counter(struct drm_device *dev, int crtc) | |||
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | irqreturn_t mga_driver_irq_handler(DRM_IRQ_ARGS) | 50 | irqreturn_t mga_driver_irq_handler(int irq, void *arg) |
| 51 | { | 51 | { |
| 52 | struct drm_device *dev = (struct drm_device *) arg; | 52 | struct drm_device *dev = (struct drm_device *) arg; |
| 53 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; | 53 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; |
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index aa5f3546bbec..28b57eb6f9a1 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c | |||
| @@ -326,7 +326,7 @@ static void msm_lastclose(struct drm_device *dev) | |||
| 326 | } | 326 | } |
| 327 | } | 327 | } |
| 328 | 328 | ||
| 329 | static irqreturn_t msm_irq(DRM_IRQ_ARGS) | 329 | static irqreturn_t msm_irq(int irq, void *arg) |
| 330 | { | 330 | { |
| 331 | struct drm_device *dev = arg; | 331 | struct drm_device *dev = arg; |
| 332 | struct msm_drm_private *priv = dev->dev_private; | 332 | struct msm_drm_private *priv = dev->dev_private; |
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.h b/drivers/gpu/drm/omapdrm/omap_drv.h index 07847693cf49..c88fea32dbf6 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.h +++ b/drivers/gpu/drm/omapdrm/omap_drv.h | |||
| @@ -141,7 +141,7 @@ int omap_gem_resume(struct device *dev); | |||
| 141 | 141 | ||
| 142 | int omap_irq_enable_vblank(struct drm_device *dev, int crtc_id); | 142 | int omap_irq_enable_vblank(struct drm_device *dev, int crtc_id); |
| 143 | void omap_irq_disable_vblank(struct drm_device *dev, int crtc_id); | 143 | void omap_irq_disable_vblank(struct drm_device *dev, int crtc_id); |
| 144 | irqreturn_t omap_irq_handler(DRM_IRQ_ARGS); | 144 | irqreturn_t omap_irq_handler(int irq, void *arg); |
| 145 | void omap_irq_preinstall(struct drm_device *dev); | 145 | void omap_irq_preinstall(struct drm_device *dev); |
| 146 | int omap_irq_postinstall(struct drm_device *dev); | 146 | int omap_irq_postinstall(struct drm_device *dev); |
| 147 | void omap_irq_uninstall(struct drm_device *dev); | 147 | void omap_irq_uninstall(struct drm_device *dev); |
diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c index cb858600185f..615bea967337 100644 --- a/drivers/gpu/drm/omapdrm/omap_irq.c +++ b/drivers/gpu/drm/omapdrm/omap_irq.c | |||
| @@ -173,7 +173,7 @@ void omap_irq_disable_vblank(struct drm_device *dev, int crtc_id) | |||
| 173 | dispc_runtime_put(); | 173 | dispc_runtime_put(); |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | irqreturn_t omap_irq_handler(DRM_IRQ_ARGS) | 176 | irqreturn_t omap_irq_handler(int irq, void *arg) |
| 177 | { | 177 | { |
| 178 | struct drm_device *dev = (struct drm_device *) arg; | 178 | struct drm_device *dev = (struct drm_device *) arg; |
| 179 | struct omap_drm_private *priv = dev->dev_private; | 179 | struct omap_drm_private *priv = dev->dev_private; |
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h index 7bda32f68d3b..36ed40ba773f 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.h +++ b/drivers/gpu/drm/qxl/qxl_drv.h | |||
| @@ -534,7 +534,7 @@ void qxl_debugfs_takedown(struct drm_minor *minor); | |||
| 534 | 534 | ||
| 535 | /* qxl_irq.c */ | 535 | /* qxl_irq.c */ |
| 536 | int qxl_irq_init(struct qxl_device *qdev); | 536 | int qxl_irq_init(struct qxl_device *qdev); |
| 537 | irqreturn_t qxl_irq_handler(DRM_IRQ_ARGS); | 537 | irqreturn_t qxl_irq_handler(int irq, void *arg); |
| 538 | 538 | ||
| 539 | /* qxl_fb.c */ | 539 | /* qxl_fb.c */ |
| 540 | int qxl_fb_init(struct qxl_device *qdev); | 540 | int qxl_fb_init(struct qxl_device *qdev); |
diff --git a/drivers/gpu/drm/qxl/qxl_irq.c b/drivers/gpu/drm/qxl/qxl_irq.c index 21393dc4700a..28f84b4fce32 100644 --- a/drivers/gpu/drm/qxl/qxl_irq.c +++ b/drivers/gpu/drm/qxl/qxl_irq.c | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | #include "qxl_drv.h" | 26 | #include "qxl_drv.h" |
| 27 | 27 | ||
| 28 | irqreturn_t qxl_irq_handler(DRM_IRQ_ARGS) | 28 | irqreturn_t qxl_irq_handler(int irq, void *arg) |
| 29 | { | 29 | { |
| 30 | struct drm_device *dev = (struct drm_device *) arg; | 30 | struct drm_device *dev = (struct drm_device *) arg; |
| 31 | struct qxl_device *qdev = (struct qxl_device *)dev->dev_private; | 31 | struct qxl_device *qdev = (struct qxl_device *)dev->dev_private; |
diff --git a/drivers/gpu/drm/r128/r128_drv.h b/drivers/gpu/drm/r128/r128_drv.h index 56eb5e3f5439..4318bfa845cb 100644 --- a/drivers/gpu/drm/r128/r128_drv.h +++ b/drivers/gpu/drm/r128/r128_drv.h | |||
| @@ -154,7 +154,7 @@ extern int r128_do_cleanup_cce(struct drm_device *dev); | |||
