summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/Makefile
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2026-07-07 15:48:47 +0300
committerImre Deak <imre.deak@intel.com>2026-07-09 10:38:03 +0300
commitd5a48b4817810a8278a880845581f8ecf1ccdd73 (patch)
tree2e52c665abdbbe6175155804b30bb94e1e2a0233 /drivers/gpu/drm/xe/Makefile
parent82ae0ce1ffd0bada35ca87e29d5d23fb999d4ab1 (diff)
downloadlinux-next-d5a48b4817810a8278a880845581f8ecf1ccdd73.tar.gz
linux-next-d5a48b4817810a8278a880845581f8ecf1ccdd73.zip
drm/xe/kunit: Build DP link display tests
Hook the shared i915 display DP link KUnit tests into the xe display test build. Build the shared display test source from the i915 display test directory when xe display support is enabled. v2: Unchanged. v3: Add SPDX license header. (Michał) Reviewed-by: Michał Grzelak <michal.grzelak@intel.com> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Link: https://patch.msgid.link/20260707124849.135319-2-imre.deak@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 e5a04253e73b..3ff58186c767 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -373,6 +373,9 @@ xe-$(CONFIG_DRM_XE_DP_TUNNEL) += \
obj-$(CONFIG_DRM_XE) += xe.o
obj-$(CONFIG_DRM_XE_KUNIT_TEST) += tests/
+ifeq ($(CONFIG_DRM_XE_DISPLAY),y)
+ obj-$(CONFIG_DRM_XE_KUNIT_TEST) += display/tests/
+endif
# header test
hdrtest_find_args := -not -path xe_rtp_helpers.h