]> 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)
commita3ca7602a4744d3c2ee7d4e15f747eb3e4856653
treef441d869149f4ee63dd39105a54e3afd2a3c406b
parentfd5c967af904aa6f88bcd60eef0932e87100a006
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