]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Pull timeline initialise to intel_gt_init_early
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2019 13:04:06 +0000 (13:04 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2019 14:47:36 +0000 (14:47 +0000)
commit4605bb73a81938a33a5db49d841466303f24b581
tree1de578cf21d2736bd171f0b5a740f381db281e88
parent1f594b209fe1c5fedd79e44939459f7e5ea525bb
drm/i915/gt: Pull timeline initialise to intel_gt_init_early

Our timelines are currently contained within an intel_gt, and we only
need to perform list/spinlock initialisation, so we can pull the
intel_timelines_init() into our intel_gt_init_early().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191101130406.4142-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_timeline.c
drivers/gpu/drm/i915/gt/intel_timeline.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/selftests/mock_gem_device.c