Project

General

Profile

Bug #2834 ยป jiri.diff

davshao, 08/02/2015 12:53 PM

View differences:

sys/dev/drm/i915/intel_ringbuffer.c
517 517
	else
518 518
		ring_setup_phys_status_page(ring);
519 519

  
520
	/* Enforce ordering by reading HEAD register back */
521
	I915_READ_HEAD(ring);
522

  
520 523
	/* Initialize the ring. This must happen _after_ we've cleared the ring
521 524
	 * registers with the above sequence (the readback of the HEAD registers
522 525
	 * also enforces ordering), otherwise the hw might lose the new ring
    (1-1/1)