]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Track active timelines
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 28 Jan 2019 18:18:12 +0000 (18:18 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 28 Jan 2019 19:07:13 +0000 (19:07 +0000)
commit5ca5183b318eac6948bc41145d0b90529469f8b8
tree14d05921a34ff86736f22440ffef863d626974d9
parentfe81e2d4660c47410dd46cad2a384b1168d1ef75
drm/i915: Track active timelines

Now that we pin timelines around use, we have a clearly defined lifetime
and convenient points at which we can track only the active timelines.
This allows us to reduce the list iteration to only consider those
active timelines and not all.

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