]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Apply interactive priority to explicit flip fences
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Jan 2021 20:44:54 +0000 (20:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Jan 2021 23:22:33 +0000 (23:22 +0000)
commitbe76f619c064cdc02a196cc7c3aa2358ac4c763a
treef441d869149f4ee63dd39105a54e3afd2a3c406b
parent4fde2d504263814409d4a0f4205fd92baa7ce6fe
drm/i915/display: Apply interactive priority to explicit flip fences

Currently, if a modeset/pageflip needs to wait for render completion to
an object, we boost the priority of that rendering above all other work.
We can apply the same interactive priority boosting to explicit fences
that we can unwrap into a native i915_request (i.e. sync_file).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210119204454.10343-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/gem/i915_gem_object.h
drivers/gpu/drm/i915/gem/i915_gem_wait.c