drm/i915/selftests: Use common mock_engine::advance
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Jan 2019 22:21:01 +0000 (22:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Jan 2019 13:13:53 +0000 (13:13 +0000)
commit1579ab2de9147c50b00b35d9e7a0a66c86dffe13
tree05d91eed54a148916d41afa9cc6115976b5947e2
parente4a8c8130ba3ac5566c96c0dd79d7a3988fc13ab
drm/i915/selftests: Use common mock_engine::advance

Replace the open-coding of advance with a call instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190121222117.23305-19-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/mock_engine.c