summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/intel_ringbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/intel_ringbuffer.c')
-rw-r--r--sys/dev/pci/drm/intel_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/intel_ringbuffer.c b/sys/dev/pci/drm/intel_ringbuffer.c
index c206e3bec00..e9b5f0f1686 100644
--- a/sys/dev/pci/drm/intel_ringbuffer.c
+++ b/sys/dev/pci/drm/intel_ringbuffer.c
@@ -461,7 +461,7 @@ init_ring_common(struct intel_ring_buffer *ring)
| RING_VALID);
/* If the head is still not zero, the ring is dead */
- for (retries = 1000; retries > 0; retries--) {
+ for (retries = 50; retries > 0; retries--) {
if ((I915_READ_CTL(ring) & RING_VALID) != 0 &&
I915_READ_START(ring) == obj->gtt_offset &&
(I915_READ_HEAD(ring) & HEAD_ADDR) == 0)