drm/i915/selftests: Move igt_atomic_section[] out of the header
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Jan 2020 10:45:15 +0000 (10:45 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Jan 2020 13:31:39 +0000 (13:31 +0000)
commitf3bc632acbb33ac3d725a0248c99db3697b3bba1
tree3565ea0cebfce2f6ea99e89af95d7f58b8f8cdff
parent6056e50033d9f840bc1e35cac794b13144710a25
drm/i915/selftests: Move igt_atomic_section[] out of the header

Move the definition of the igt_atomic_section[] into a C file, leaving
the declaration in the header so as not to upset headertest!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200103104516.1757103-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/selftests/igt_atomic.c [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/igt_atomic.h