drm/i915: Sync intel_ringbuffer.c with Linux 3.8.13
authorFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 25 Jul 2014 06:18:59 +0000 (08:18 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 25 Jul 2014 06:25:49 +0000 (08:25 +0200)
commitb5c29a3405686a232e667f64c5ecf10bac5f8907
treea1c2f2d70321128edc236a04db91632e0d3f33e6
parentf192107f8611297ebbd0ebbea48cfedda0c9d84d
drm/i915: Sync intel_ringbuffer.c with Linux 3.8.13

* Preallocate next seqno before touching the ring

* Rearrange code to only have a single method for waiting upon the ring

* Don't allow ring tail to reach the same cacheline as head

* Implement workaround for broken CS tlb on i830/845
sys/dev/drm/i915/i915_dma.c
sys/dev/drm/i915/i915_drv.h
sys/dev/drm/i915/i915_gem.c
sys/dev/drm/i915/i915_gem_execbuffer.c
sys/dev/drm/i915/intel_ringbuffer.c
sys/dev/drm/i915/intel_ringbuffer.h