Re: [PATCH v1 v1 5/7] drm/vs: Register DRM device

From: Randy Dunlap
Date: Tue Aug 01 2023 - 14:56:03 EST




On 8/1/23 03:10, Keith Zhao wrote:
> diff --git a/drivers/gpu/drm/verisilicon/Kconfig b/drivers/gpu/drm/verisilicon/Kconfig
> new file mode 100644
> index 000000000..fcc39dded
> --- /dev/null
> +++ b/drivers/gpu/drm/verisilicon/Kconfig
> @@ -0,0 +1,25 @@
> +# SPDX-License-Identifier: GPL-2.0
> +config DRM_VERISILICON
> + tristate "DRM Support for VeriSilicon"
> + depends on DRM
> + select DRM_KMS_HELPER
> + select DRM_GEM_DMA_HELPER
> + select CMA
> + select DMA_CMA
> + help
> + Choose this option if you have a VeriSilicon soc chipset.

s/soc/SoC/ as used below.

> + This driver provides VeriSilicon kernel mode
> + setting and buffer management. It does not
> + provide 2D or 3D acceleration.
> +
> +if DRM_VERISILICON
> +
> +config STARFIVE_HDMI
> + bool "Starfive specific extensions HDMI"
> + help
> + This selects support for StarFive SoC specific extensions
> + for the Innosilicon HDMI driver. If you want to enable
> + HDMI on JH7110 based SoC, you should select this option.
> +
> + To compile this driver as a module, choose M here.
> +endif

--
~Randy