Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions drivers/gpu/drm/apple/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@ config DRM_APPLE_DEBUG
bool "Enable additional driver debugging"
depends on DRM_APPLE
depends on EXPERT # only for developers

config DRM_APPLE_KUNIT_TEST
bool "KUnit tests for Apple DRM" if !KUNIT_ALL_TESTS
depends on DRM_APPLE && KUNIT=y
default KUNIT_ALL_TESTS
help
This builds unit tests for Apple DPTX transport-independent logic,
including remote-target encoding, the side-effect-free logical USB4
transport model, and the unconnected external-display ownership
reducer. These tests are intended for kernel developers.

If in doubt, say "N".
6 changes: 5 additions & 1 deletion drivers/gpu/drm/apple/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
CFLAGS_trace.o = -I$(src)

appledrm-y := apple_drv.o
appledrm-y += afk.o dcp.o dcp_backlight.o dptxep.o iomfb.o parser.o systemep.o
appledrm-y += afk.o dcp.o dcp_backlight.o dptxep.o dptx-transport.o
appledrm-y += dptx-transport-phy.o iomfb.o parser.o systemep.o
appledrm-$(CONFIG_DRM_APPLE_KUNIT_TEST) += dptx-transport-test.o
appledrm-$(CONFIG_DRM_APPLE_KUNIT_TEST) += dptx-attempt-test.o
appledrm-$(CONFIG_DRM_APPLE_KUNIT_TEST) += dcp-display-source-test.o
appledrm-$(CONFIG_DRM_APPLE_AUDIO) += audio.o
appledrm-$(CONFIG_DRM_APPLE_AUDIO) += av.o
appledrm-y += connector.o
Expand Down
Loading