drm/selftests: Move i915 buddy selftests into drm
authorArunpravin <Arunpravin.PaneerSelvam@amd.com>
Tue, 22 Feb 2022 17:48:39 +0000 (23:18 +0530)
committerChristian König <christian.koenig@amd.com>
Wed, 23 Feb 2022 09:43:25 +0000 (10:43 +0100)
commit3d515ba9ead046a0c06a461697a8d5211298aadc
tree185c10dfb140c660c235825bb8b926b540e8133e
parent8ab62eda177bc350f34fea4fcea23603b8184bfd
drm/selftests: Move i915 buddy selftests into drm

- move i915 buddy selftests into drm selftests folder
- add Makefile and Kconfig support
- add sanitycheck testcase

Prerequisites
- These series of selftests patches are created on top of
  drm buddy series
- Enable kselftests for DRM as a module in .config

Signed-off-by: Arunpravin <Arunpravin.PaneerSelvam@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220222174845.2175-1-Arunpravin.PaneerSelvam@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/selftests/Makefile
drivers/gpu/drm/selftests/drm_buddy_selftests.h [new file with mode: 0644]
drivers/gpu/drm/selftests/test-drm_buddy.c [new file with mode: 0644]