drm/i915/selftests: Teach timelines to take intel_gt as its argument
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Oct 2019 11:38:40 +0000 (12:38 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Oct 2019 17:20:18 +0000 (18:20 +0100)
commit5f65d5a6e4bddd8212a101fd566e1554cfd5e355
tree0e47b3728caa087b7719f2bcb9007aaf51623623
parentbb3d4c9d636b3304da95facd172323f9e86e1262
drm/i915/selftests: Teach timelines to take intel_gt as its argument

The timelines selftests are [mostly] 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/20191016113840.1106-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_timeline.c