summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/Makefile
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2023-12-18 22:06:24 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-22 00:31:30 +0300
commit5095d13d758b4e602eb78771abf65ee5dc867645 (patch)
treef82cd3abeee125e2ba491c8b03b6e3693e8fa08e /drivers/gpu/drm/xe/Makefile
parent4ceb8645bd85aeefab0929ada82a95603c6e1f2b (diff)
downloadlinux-5095d13d758b4e602eb78771abf65ee5dc867645.tar.xz
drm/xe/kunit: Define helper functions to allocate fake xe device
There will be more KUnit tests added that will require fake device. Define generic helper functions to avoid code duplications. Cc: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20231218190629.502-6-michal.wajdeczko@intel.com Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/Makefile')
-rw-r--r--drivers/gpu/drm/xe/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index a1aa0028e153..df8601d6a59f 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -156,6 +156,9 @@ xe-$(CONFIG_PCI_IOV) += \
xe_lmtt_2l.o \
xe_lmtt_ml.o
+xe-$(CONFIG_DRM_XE_KUNIT_TEST) += \
+ tests/xe_kunit_helpers.o
+
# i915 Display compat #defines and #includes
subdir-ccflags-$(CONFIG_DRM_XE_DISPLAY) += \
-I$(srctree)/$(src)/display/ext \