projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cda878
)
drm/gma500: Remove dead code
author
Daniel Vetter
<
[email protected]
>
Wed, 11 Dec 2013 10:34:47 +0000
(11:34 +0100)
committer
Dave Airlie
<
[email protected]
>
Wed, 18 Dec 2013 01:36:06 +0000
(11:36 +1000)
This has the nice advantage that we'll get rid of a DRM_WAIT_ON user
for free.
Cc: Patrik Jakobsson <
[email protected]
>
Cc: Alan Cox <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
Acked-by: Patrik Jakobsson <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/gma500/psb_irq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/gma500/psb_irq.c
b/drivers/gpu/drm/gma500/psb_irq.c
index a9bb3470473848ba17ebb7c216fc4f390d80d57a..f883f9e4c5240ee923cbaabb3c57b88472983431 100644
(file)
--- 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)
return 0;
}
-#ifdef PSB_FIXME
-static int psb_vblank_do_wait(struct drm_device *dev,
- unsigned int *sequence, atomic_t *counter)
-{
- unsigned int cur_vblank;
- int ret = 0;
- DRM_WAIT_ON(ret, dev->vblank.queue, 3 * HZ,
- (((cur_vblank = atomic_read(counter))
- - *sequence) <= (1 << 23)));
- *sequence = cur_vblank;
-
- return ret;
-}
-#endif
-
/*
* It is used to enable VBLANK interrupt
*/