]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Track active elements during dequeue
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Mar 2020 09:26:23 +0000 (09:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Mar 2020 11:59:59 +0000 (11:59 +0000)
commit8ab55e78b4fcfe312486af69adb07a37080b2e41
treec041b6dd2cfa833c7eb72bb184655eee263fb7ad
parentaf5cc5bed6358c7123b515143ea92c41e7399251
drm/i915/execlists: Track active elements during dequeue

Record the initial active element we use when building the next ELSP
submission, so that we can compare against it latter to see if there's
no change.

Fixes: a99d4c53fd08 ("drm/i915/execlists: Skip redundant resubmission")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200311092624.10012-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c