Project

General

Profile

Bug #2834 ยป jiri.diff

davshao, 08/02/2015 12:53 PM

View differences:

sys/dev/drm/i915/intel_ringbuffer.c
else
ring_setup_phys_status_page(ring);
/* Enforce ordering by reading HEAD register back */
I915_READ_HEAD(ring);
/* Initialize the ring. This must happen _after_ we've cleared the ring
* registers with the above sequence (the readback of the HEAD registers
* also enforces ordering), otherwise the hw might lose the new ring
    (1-1/1)