[PATCH] drm/imx: move IPUv3 driver into separate subdirectory

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Dec 16 12:03:52 UTC 2022


On Fri, Nov 25, 2022 at 12:25:19PM +0100, Lucas Stach wrote:
> diff --git a/drivers/gpu/drm/imx/Makefile b/drivers/gpu/drm/imx/Makefile
> index b644deffe948..909622864716 100644
> --- a/drivers/gpu/drm/imx/Makefile
> +++ b/drivers/gpu/drm/imx/Makefile
> @@ -1,12 +1,4 @@
> [...]
>  obj-$(CONFIG_DRM_IMX_DCSS) += dcss/
> +obj-$(CONFIG_DRM_IMX) += ipuv3/

I wonder if it would make sense to rename DRM_IMX to DRM_IMX_IPUV3 ?!

> diff --git a/drivers/gpu/drm/imx/ipuv3/Kconfig b/drivers/gpu/drm/imx/ipuv3/Kconfig
> new file mode 100644
> index 000000000000..f518eb47a18e
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/ipuv3/Kconfig
> [...]
> +config DRM_IMX_HDMI
> +	tristate "Freescale i.MX DRM HDMI"
> +	select DRM_DW_HDMI
> +	depends on DRM_IMX && OF
> +	help
> +	  Choose this if you want to use HDMI on i.MX6.
> +

Trailing empty line could be dropped.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20221216/90aacbf0/attachment.sig>


More information about the dri-devel mailing list