]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Mark up priority boost on preemption
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Jan 2019 13:51:55 +0000 (13:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Jan 2019 14:25:58 +0000 (14:25 +0000)
commit8431426248cdeb7dab27e7cecd6dc7f324e9cefd
treea69be4347bbe7ea0a5aebcf12ece7f2b427cc963
parent3e4579804f4a47cafa6c5009c6415a02bae4a3b9
drm/i915/execlists: Mark up priority boost on preemption

Record the priority boost we giving to the preempted client or else we
may end up in a situation where the priority queue no longer matches the
request priority order and so we can end up in an infinite loop of
preempting the same pair of requests.

Fixes: 4a841b7be20b ("drm/i915: Priority boost for waiting clients")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190123135155.21562-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c