drm/i915: Fix core-2 ring buffer init
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 3 Aug 2015 00:49:41 +0000 (17:49 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 3 Aug 2015 00:49:41 +0000 (17:49 -0700)
commit0f3709757bcd92b057b45f4738aebb03d2063428
treeead0ebe077a1fc8a58763ab2da83bc9397cf8876
parentf4dab6e912b2a8d923147fc270a5048284e96521
drm/i915: Fix core-2 ring buffer init

* Fix a ring buffer initialization issue with core-2 by using a read-back
  to enforce order.

* Taken-from linux, checked linux-current and same fix is still there.

Taken-from: a4acb8d0933f89 (linux)
Reported-by: davshao bug #2834
sys/dev/drm/i915/intel_ringbuffer.c