mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 09:35:52 -04:00
Add a simple KUnit test to ensure that the hardware engine lists for GMD_ID IP definitions are sensible (i.e., no graphics engines defined for the media IP and vice versa). Only the IP descriptors for GMD_ID platforms are checked for now. Presumably the engine lists on older pre-GMD_ID platforms shouldn't be changing. We can extend the KUnit testing in the future if we decide we want to check those as well. v2: - Add missing 'const' in xe_call_for_each_media_ip to avoid compiler warning. Cc: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20230406235621.1914492-9-matthew.d.roper@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
10 lines
179 B
Makefile
10 lines
179 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_DRM_XE_KUNIT_TEST) += \
|
|
xe_bo_test.o \
|
|
xe_dma_buf_test.o \
|
|
xe_migrate_test.o \
|
|
xe_pci_test.o \
|
|
xe_rtp_test.o \
|
|
xe_wa_test.o
|