projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aeff6b
)
[intel] When polling for ring space, sleep for a lot longer (10ms)
author
Keith Packard
<keithp@keithp.com>
Mon, 12 May 2008 20:03:16 +0000
(13:03 -0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 12 May 2008 20:03:16 +0000
(13:03 -0700)
If the ring is full, the engine will surely be running for more than 10ms.
shared-core/i915_dma.c
patch
|
blob
|
history
diff --git
a/shared-core/i915_dma.c
b/shared-core/i915_dma.c
index
24f361e
..
cf2dfeb
100644
(file)
--- a/
shared-core/i915_dma.c
+++ b/
shared-core/i915_dma.c
@@
-63,7
+63,7
@@
int i915_wait_ring(struct drm_device * dev, int n, const char *caller)
last_head = ring->head;
last_acthd = acthd;
-
DRM_UDELAY
(10);
+
msleep_interruptible
(10);
}
return -EBUSY;