Re: [PATCH v2] drm/loongson: Add platform dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, thanks for the patch.


On 2023/11/13 19:55, Jean Delvare wrote:
Only offer the Loongson DRM driver as an option on platforms where
it makes sense.

Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>


Reviewed-by: Sui Jingfeng <sui.jingfeng@xxxxxxxxx>


Cc: Sui Jingfeng <sui.jingfeng@xxxxxxxxx>
Cc: David Airlie <airlied@xxxxxxxxx>
Cc: Daniel Vetter <daniel@xxxxxxxx>
---
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





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux