diff options
author | Keith Packard <keithp@keithp.com> | 2008-05-12 13:03:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-05-12 13:03:16 -0700 |
commit | 7e7ea313c4a38370194290d05697bdb6a746669d (patch) | |
tree | e8c973b8702f245b90d09255fee8617d11f90ca3 | |
parent | 6aeff6b9e32b61beed0d5c3d871968fa6217b79d (diff) |
[intel] When polling for ring space, sleep for a lot longer (10ms)
If the ring is full, the engine will surely be running for more than 10ms.
-rw-r--r-- | shared-core/i915_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index 24f361e0..cf2dfeb6 100644 --- 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; |