]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Track timeline activeness in enter/exit
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Aug 2019 20:57:06 +0000 (21:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Aug 2019 22:16:05 +0000 (23:16 +0100)
commit6e35a2ddc1f35c2ef8a70fdf441dc480419081bf
tree200e8e83f2d3049fc59f97d3409f265db5975eff
parentb1a1775822e356f35418aecb6a1d436b102f55b6
drm/i915/gt: Track timeline activeness in enter/exit

Lift moving the timeline to/from the active_list on enter/exit in order
to shorten the active tracking span in comparison to the existing
pin/unpin.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190815205709.24285-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_pm.c
drivers/gpu/drm/i915/gt/intel_context.c
drivers/gpu/drm/i915/gt/intel_engine_pm.c
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_timeline.c
drivers/gpu/drm/i915/gt/intel_timeline.h
drivers/gpu/drm/i915/gt/intel_timeline_types.h
drivers/gpu/drm/i915/gt/selftest_timeline.c