]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Add the mock engine to the gt->engine[]
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 18 Oct 2019 13:07:03 +0000 (14:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 18 Oct 2019 13:53:48 +0000 (14:53 +0100)
commit6bf5c5838388b338ada45808d984a91fe6781bd6
tree8338c71c422ea16dc045e9c9bf1c70ce6eeca9ac
parent24c3dc773faf370f2f8c9e1769cdb0a09824934a
drm/i915/selftests: Add the mock engine to the gt->engine[]

Remember to include the newly created mock engine in the list of
available engines inside the gt.

Fixes: e94f76970b1b ("drm/i915: Make for_each_engine_masked work on intel_gt")
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/20191018130703.31125-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/mock_engine.c