aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-11 05:34:47 -0500
committerDave Airlie <airlied@redhat.com>2013-12-17 20:36:06 -0500
commitb8673b648ad5443e00fa07a4104d0d64855d2ca0 (patch)
treeaf7146650c19b4f5345bd6dd2d710081b4bb831d /drivers/gpu/drm/gma500
parent4cda878b129aa873bc7c83c61f2a8d830b138de6 (diff)
drm/gma500: Remove dead code
This has the nice advantage that we'll get rid of a DRM_WAIT_ON user for free. Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r--drivers/gpu/drm/gma500/psb_irq.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c
index a9bb34704738..f883f9e4c524 100644
--- a/drivers/gpu/drm/gma500/psb_irq.c
+++ b/drivers/gpu/drm/gma500/psb_irq.c
@@ -450,21 +450,6 @@ int psb_irq_disable_dpst(struct drm_device *dev)
450 return 0; 450 return 0;
451} 451}
452 452
453#ifdef PSB_FIXME
454static int psb_vblank_do_wait(struct drm_device *dev,
455 unsigned int *sequence, atomic_t *counter)
456{
457 unsigned int cur_vblank;
458 int ret = 0;
459 DRM_WAIT_ON(ret, dev->vblank.queue, 3 * HZ,
460 (((cur_vblank = atomic_read(counter))
461 - *sequence) <= (1 << 23)));
462 *sequence = cur_vblank;
463
464 return ret;
465}
466#endif
467
468/* 453/*
469 * It is used to enable VBLANK interrupt 454 * It is used to enable VBLANK interrupt
470 */ 455 */