drm/i915/selftests: move gpu-write-dw into utils
authorMatthew Auld <matthew.auld@intel.com>
Sat, 10 Aug 2019 10:50:08 +0000 (11:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 10 Aug 2019 12:12:34 +0000 (13:12 +0100)
commit18851edfa7dbe156cfc5a73bf009d8a4def84bb5
tree695fcdaefa1eb9eefc7b25ddfaaae74b8569b6b8
parent554e330ceb9f00204bb692974c490ad50fc104cc
drm/i915/selftests: move gpu-write-dw into utils

Using the gpu to write to some dword over a number of pages is rather
useful, and we already have two copies of such a thing, and we don't
want a third so move it to utils. There is probably some other stuff
also...

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190810105008.14320-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/huge_pages.c
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c
drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.h