drm/i915/selftests: Drop global engine lookup for gt selftests
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 27 Oct 2019 22:58:04 +0000 (22:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 28 Oct 2019 11:23:35 +0000 (11:23 +0000)
commit1f9f6353e8b83676bbf23c2bbb07d447563e5e83
tree87b9e6b4f21d2698e399a1ff80ee2af48b85d0a4
parent39f9547a339a261c74f845017654ced1de116b5f
drm/i915/selftests: Drop global engine lookup for gt selftests

As we are inside the gt, we have a local gt->engine[] lookup we should
be using in preference over the i915->engine[] copy.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191027225808.19437-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_hangcheck.c