[PATCH v2] drm/loongson: Add platform dependency

Sui Jingfeng sui.jingfeng at linux.dev
Mon Nov 13 15:39:12 UTC 2023


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 at suse.de>


Reviewed-by: Sui Jingfeng <sui.jingfeng at linux.dev>


> 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
>
>


More information about the dri-devel mailing list