OSDN Git Service

drm/i915/gt: Merge engine init/setup loops
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Dec 2019 14:40:45 +0000 (14:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Dec 2019 15:18:05 +0000 (15:18 +0000)
commit7d70a1233d11ce9286e1a04c4f1bcd263e3e405e
treeef86d2885b047d8e4546af4f2c3ed4738b49481c
parentcfe6b30fc37cc8a6ac9241e450c91ad7a7d6874c
drm/i915/gt: Merge engine init/setup loops

Now that we don't need to create GEM contexts in the middle of engine
construction, we can pull the engine init/setup loops together.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191222144046.1674865-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine.h
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_lrc.h
drivers/gpu/drm/i915/gt/intel_ring_submission.c