]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit393e59fce418dcb3c1407e848fff6911b0458c2c
tree3723f6e0791f0c7fb6a6e6469132300c9ce01c9a
parentf04d70a7abaf7c41ac054a8f056314277a0af7b6
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