OSDN Git Service

drm/i915/selftests: Refactor common flush_test()
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 5 May 2018 09:10:13 +0000 (10:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
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 <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180505091014.26126-1-chris@chris-wilson.co.uk
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