aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-02 09:10:55 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-02 11:58:21 -0400
commitff1f525ef4da9d5abdb40893044ef5b041da52c0 (patch)
tree9029109788bd74a7b4e6a318293c899d5f1d904e /drivers/gpu/drm/i915/i915_irq.c
parentb0e77b9c6b2fc21ec2e3d8b54edf8757a7c6a8dd (diff)
drm/i915: s/DRM_IRQ_ARGS/int irq, void *arg
I'm official fed up with the yelling and useless indirection. Let it burn! Reviewed-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index f7ec794480c8..337c5cdf5598 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -521,7 +521,7 @@ static void gen6_queue_rps_work(struct drm_i915_private *dev_priv,
521 queue_work(dev_priv->wq, &dev_priv->rps.work); 521 queue_work(dev_priv->wq, &dev_priv->rps.work);
522} 522}
523 523
524static irqreturn_t valleyview_irq_handler(DRM_IRQ_ARGS) 524static irqreturn_t valleyview_irq_handler(int irq, void *arg)
525{ 525{
526 struct drm_device *dev = (struct drm_device *) arg; 526 struct drm_device *dev = (struct drm_device *) arg;
527 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private; 527 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
@@ -671,7 +671,7 @@ static void cpt_irq_handler(struct drm_device *dev, u32 pch_iir)
671 I915_READ(FDI_RX_IIR(pipe))); 671 I915_READ(FDI_RX_IIR(pipe)));
672} 672}
673 673
674static irqreturn_t ivybridge_irq_handler(DRM_IRQ_ARGS) 674static irqreturn_t ivybridge_irq_handler(int irq, void *arg)
675{ 675{
676 struct drm_device *dev = (struct drm_device *) arg; 676 struct drm_device *dev = (struct drm_device *) arg;
677 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private; 677 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
@@ -746,7 +746,7 @@ static void ilk_gt_irq_handler(struct drm_device *dev,
746 notify_ring(dev, &dev_priv->ring[VCS]); 746 notify_ring(dev, &dev_priv->ring[VCS]);
747} 747}
748 748
749static irqreturn_t ironlake_irq_handler(DRM_IRQ_ARGS) 749static irqreturn_t ironlake_irq_handler(int irq, void *arg)
750{ 750{
751 struct drm_device *dev = (struct drm_device *) arg; 751 struct drm_device *dev = (struct drm_device *) arg;
752 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private; 752 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
@@ -2120,7 +2120,7 @@ static int i8xx_irq_postinstall(struct drm_device *dev)
2120 return 0; 2120 return 0;
2121} 2121}
2122 2122
2123static irqreturn_t i8xx_irq_handler(DRM_IRQ_ARGS) 2123static irqreturn_t i8xx_irq_handler(int irq, void *arg)
2124{ 2124{
2125 struct drm_device *dev = (struct drm_device *) arg; 2125 struct drm_device *dev = (struct drm_device *) arg;
2126 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private; 2126 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
@@ -2298,7 +2298,7 @@ static int i915_irq_postinstall(struct drm_device *dev)
2298 return 0; 2298 return 0;
2299} 2299}
2300 2300
2301static irqreturn_t i915_irq_handler(DRM_IRQ_ARGS) 2301static irqreturn_t i915_irq_handler(int irq, void *arg)
2302{ 2302{
2303 struct drm_device *dev = (struct drm_device *) arg; 2303 struct drm_device *dev = (struct drm_device *) arg;
2304 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private; 2304 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
@@ -2536,7 +2536,7 @@ static int i965_irq_postinstall(struct drm_device *dev)
2536 return 0; 2536 return 0;
2537} 2537}
2538 2538
2539static irqreturn_t i965_irq_handler(DRM_IRQ_ARGS) 2539static irqreturn_t i965_irq_handler(int irq, void *arg)
2540{ 2540{
2541 struct drm_device *dev = (struct drm_device *) arg; 2541 struct drm_device *dev = (struct drm_device *) arg;
2542 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private; 2542 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;