]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop no-semaphore boosting
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 May 2020 17:35:04 +0000 (18:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 May 2020 05:14:33 +0000 (06:14 +0100)
commit0c972551a752ce23164c20988723f81701d6a572
tree8e210c2ce5d22b90d10ec24e610400c5a1ba26fa
parent036fd70f1088fc679636a72dc0db35390bbdffef
drm/i915: Drop no-semaphore boosting

Now that we have fast timeslicing on semaphores, we no longer need to
prioritise none-semaphore work as we will yield any work blocked on a
semaphore to the next in the queue. Previously with no timeslicing,
blocking on the semaphore caused extremely bad scheduling with multiple
clients utilising multiple rings. Now, there is no impact and we can
remove the complication.

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/20200513173504.28322-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/selftest_context.c
drivers/gpu/drm/i915/i915_priolist_types.h
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/i915_request.h
drivers/gpu/drm/i915/i915_scheduler.c
drivers/gpu/drm/i915/i915_scheduler_types.h