drm/i915/selftests: Refactor common flush_test()
authorChris Wilson <[email protected]>
Sat, 5 May 2018 09:10:13 +0000 (10:10 +0100)
committerChris Wilson <[email protected]>
Tue, 8 May 2018 11:44:31 +0000 (12:44 +0100)
commit98dc0454c023985cb31de2578c941391a900e941
tree56f7b25d0ea495ab74e28f8dfbe3005043f2dea1
parentc11c7bfd213495784b22ef82a69b6489f8d0092f
drm/i915/selftests: Refactor common flush_test()

Pull igt_flush_test() out into its own library before copying and
pasting the code for a third time.

Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/selftests/igt_flush_test.c [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/igt_flush_test.h [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/intel_hangcheck.c
drivers/gpu/drm/i915/selftests/intel_lrc.c