Message ID | 20231113125508.4dc755e8@endymion.delvare (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] drm/loongson: Add platform dependency | expand |
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@suse.de> Reviewed-by: Sui Jingfeng <sui.jingfeng@linux.dev> > Cc: Sui Jingfeng <sui.jingfeng@linux.dev> > Cc: David Airlie <airlied@gmail.com> > Cc: Daniel Vetter <daniel@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 > >
--- 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
Only offer the Loongson DRM driver as an option on platforms where it makes sense. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Sui Jingfeng <sui.jingfeng@linux.dev> Cc: David Airlie <airlied@gmail.com> Cc: Daniel Vetter <daniel@ffwll.ch> --- Changes since v1: * Use the architecture dependencies suggested by Sui Jingfeng. drivers/gpu/drm/loongson/Kconfig | 1 + 1 file changed, 1 insertion(+)