]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/scheduler: Boost priorities for flips
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Nov 2016 20:41:05 +0000 (20:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Nov 2016 21:01:22 +0000 (21:01 +0000)
commit7ecad4d8dafb70cdd32b145cd87ef3a72b4bce4e
treed5e5d56f570f4cbe94143a5fecaa1a88471c24e8
parent0fa0c37f9965142a7fdafcc3bea1f0010c1eeecf
drm/i915/scheduler: Boost priorities for flips

Boost the priority of any rendering required to show the next pageflip
as we want to avoid missing the vblank by being delayed by invisible
workload. We prioritise avoiding jank and jitter in the GUI over
starving background tasks.

v2: Descend dma_fence_array when boosting priorities.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161114204105.29171-10-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c