]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita90defbdd20bdee1e7befd7a88b7ecaadb39f5dc
tree87b9e6b4f21d2698e399a1ff80ee2af48b85d0a4
parent3cf0d5db4a703367e033ca3a2853b40fd6d5f33e
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