[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231113125508.4dc755e8@endymion.delvare>
Date: Mon, 13 Nov 2023 12:55:08 +0100
From: Jean Delvare <jdelvare@...e.de>
To: dri-devel@...ts.freedesktop.org
Cc: Sui Jingfeng <sui.jingfeng@...ux.dev>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH v2] drm/loongson: Add platform dependency
Only offer the Loongson DRM driver as an option on platforms where
it makes sense.
Signed-off-by: Jean Delvare <jdelvare@...e.de>
Cc: Sui Jingfeng <sui.jingfeng@...ux.dev>
Cc: David Airlie <airlied@...il.com>
Cc: Daniel Vetter <daniel@...ll.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
Powered by blists - more mailing lists