drm/i915/execlists: Remove the ring advancement under preemption
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Feb 2018 13:32:36 +0000 (13:32 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Feb 2018 20:57:47 +0000 (20:57 +0000)
commit561210706cd00f83f14af124edb3a5ff1b732912
tree3723f6e0791f0c7fb6a6e6469132300c9ce01c9a
parente61e0f51ba7974bb575cdc23220b573e5cd4ff2a
drm/i915/execlists: Remove the ring advancement under preemption

Load an empty ringbuffer for preemption, ignoring the lite-restore
workaround as we know the preempt context is always idle before preemption.

Note that after some digging by Michal Winiarski, we found that
RING_HEAD is no longer being updated (due to inhibiting context save
restore) so this patch is already in effect!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180221133236.29402-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c