[PATCH v2] drm/loongson: Add platform dependency
Jean Delvare
jdelvare at suse.de
Mon Nov 13 11:55:08 UTC 2023
Only offer the Loongson DRM driver as an option on platforms where
it makes sense.
Signed-off-by: Jean Delvare <jdelvare at suse.de>
Cc: Sui Jingfeng <sui.jingfeng at linux.dev>
Cc: David Airlie <airlied at gmail.com>
Cc: Daniel Vetter <daniel at ffwll.ch>
---
Changes since v1:
* Use the architecture dependencies suggested by Sui Jingfeng.
drivers/gpu/drm/loongson/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-6.6.orig/drivers/gpu/drm/loongson/Kconfig
+++ linux-6.6/drivers/gpu/drm/loongson/Kconfig
@@ -3,6 +3,7 @@
config DRM_LOONGSON
tristate "DRM support for Loongson Graphics"
depends on DRM && PCI && MMU
+ depends on LOONGARCH || MIPS || COMPILE_TEST
select DRM_KMS_HELPER
select DRM_TTM
select I2C
--
Jean Delvare
SUSE L3 Support
More information about the dri-devel
mailing list