drm/i915/selftests: Teach workarounds to take intel_gt as its argument
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Oct 2019 11:49:02 +0000 (12:49 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Oct 2019 17:20:05 +0000 (18:20 +0100)
commitbb3d4c9d636b3304da95facd172323f9e86e1262
tree9d59de28e35f789ff3d9be066a3cbfa9cf3aa69d
parent3b05c4f832fa9beeb8da4bafb3c2d115b77a8d5b
drm/i915/selftests: Teach workarounds to take intel_gt as its argument

The workarounds selftests are hardware centric and so want to use the gt
as its target.

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/20191016114902.24388-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_workarounds.c