]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Defer engine registration until fully initialised
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Nov 2019 08:12:41 +0000 (08:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Nov 2019 16:28:44 +0000 (16:28 +0000)
commit7caaed94eade788e79618685a52e223f23786e0d
tree4e7162a651da6bcf6cc1b7299ec0af30ac3f5157
parent0ccc42a2fd5107a7f58e62c8b35b61de9a70ce82
drm/i915/gt: Defer engine registration until fully initialised

Only add the engine to the available set of uabi engines once it has
been fully initialised and we know we want it in the public set.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: MichaƂ Wajdeczko <michal.wajdeczko@intel.com>
Cc: Andi Shyti <andi.shyti@intel.com>
Acked-by: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107081252.10542-17-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_cs.c