drm/i915/selftests: Extract spinner code
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 30 Nov 2018 08:02:53 +0000 (08:02 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 30 Nov 2018 15:09:00 +0000 (15:09 +0000)
commit8d2f6e2f2721097549dded41aa6e1c1a4e8e12ee
treee04da9af32354da5cfb4662782600e17ee713179
parentf545425a0145dc6cc9c6aca0f69d0bf7ca198906
drm/i915/selftests: Extract spinner code

Pull out spinner code to a standalone file to enable it to be shortly used
by other and new test cases.

Plain code movement - no functional changes.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20181130080254.15383-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/selftests/igt_spinner.c [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/igt_spinner.h [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/intel_lrc.c