drm/selftest: Refactor drm mode setting selftests
authorDeepak Rawat <drawat@vmware.com>
Tue, 16 Oct 2018 20:46:08 +0000 (13:46 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 17 Oct 2018 07:38:04 +0000 (09:38 +0200)
commit920532991aca4314cfd494301d9a5b9c8b26c374
tree34b2e99b827cd1e482fe3f1a1dcae72024d11d0e
parenta37805098900a6e73a55b3a43b7d3bcd987bb3f4
drm/selftest: Refactor drm mode setting selftests

With this patch split the kernel module specific code from actual
selftest code. This is done to allow adding more selftests as separate
file. Also added kernel module exit stub with this patch.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: alexandru-cosmin.gheorghe@arm.com
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181016204609.1555-1-drawat@vmware.com
drivers/gpu/drm/selftests/Makefile
drivers/gpu/drm/selftests/drm_helper_selftests.h [deleted file]
drivers/gpu/drm/selftests/drm_plane_helper_selftests.h [new file with mode: 0644]
drivers/gpu/drm/selftests/test-drm-helper.c [deleted file]
drivers/gpu/drm/selftests/test-drm_modeset_common.c [new file with mode: 0644]
drivers/gpu/drm/selftests/test-drm_modeset_common.h [new file with mode: 0644]
drivers/gpu/drm/selftests/test-drm_plane_helper.c [new file with mode: 0644]