The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] drm/appletbdrm: Make appletbdrm depend on X86
@ 2025-04-10 18:20 Aditya Garg
  2025-04-10 18:21 ` Alyssa Rosenzweig
  2025-04-29 13:53 ` Alyssa Rosenzweig
  0 siblings, 2 replies; 3+ messages in thread
From: Aditya Garg @ 2025-04-10 18:20 UTC (permalink / raw)
  To: alyssa@rosenzweig.io, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Jacek Lawrynowicz,
	Maciej Falkowski, Lizhi Hou, Aun-Ali Zaidi
  Cc: dri-devel@lists.freedesktop.org, Linux Kernel Mailing List

From: Aditya Garg <gargaditya08@live.com>

The appletbdrm driver is exclusively for Touch Bars on x86 Intel Macs.
The M1 Macs have a separate driver. So, lets avoid compiling it for
other architectures.

Signed-off-by: Aditya Garg <gargaditya08@live.com>
---
 drivers/gpu/drm/tiny/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig
index 95c1457d7..d66681d0e 100644
--- a/drivers/gpu/drm/tiny/Kconfig
+++ b/drivers/gpu/drm/tiny/Kconfig
@@ -3,6 +3,7 @@
 config DRM_APPLETBDRM
 	tristate "DRM support for Apple Touch Bars"
 	depends on DRM && USB && MMU
+	depends on X86 || COMPILE_TEST
 	select DRM_GEM_SHMEM_HELPER
 	select DRM_KMS_HELPER
 	help
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-29 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10 18:20 [PATCH] drm/appletbdrm: Make appletbdrm depend on X86 Aditya Garg
2025-04-10 18:21 ` Alyssa Rosenzweig
2025-04-29 13:53 ` Alyssa Rosenzweig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox