]> 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)
commitadbb6dd176b39198a4ff65c01f4b8cb0818bcff9
tree14d05921a34ff86736f22440ffef863d626974d9
parent1eb648298dccb2b9f48d7de7ee0f40cef63a9f1f
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