]> 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)
committerJani Nikula <jani.nikula@intel.com>
Mon, 16 Mar 2020 10:17:00 +0000 (12:17 +0200)
commit6d48878951a09b58304348a895ece2aa62bf69f9
tree7a83adfd2cd9d08a03d9dccfe61c939c41d1d994
parent300f50a3847de83aa4b2e44fa28dd668de331982
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: d8a386061ca0 ("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
(cherry picked from commit 60ef5b7ac6a131f09d287a5f156c878c2c926a30)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gt/intel_lrc.c