drm/imx: Add i.MX8qxp Display Controller KMS
authorLiu Ying <victor.liu@nxp.com>
Mon, 14 Apr 2025 03:50:21 +0000 (11:50 +0800)
committerLiu Ying <victor.liu@nxp.com>
Wed, 14 May 2025 07:11:31 +0000 (15:11 +0800)
commit711a3b8783666ffd24ca99ae1c0fde76315b27a9
tree5ec4a5dfd71d32f3f0e8fa5fd6f259c4cc9d8001
parent37571feb6c08dab97f0a8a37e3c486aa8aead5f7
drm/imx: Add i.MX8qxp Display Controller KMS

i.MX8qxp Display Controller(DC) is comprised of three main components that
include a blit engine for 2D graphics accelerations, display controller for
display output processing, as well as a command sequencer.  Add kernel
mode setting support for the display controller part with two CRTCs and
two primary planes(backed by FetchLayer and FetchWarp respectively).  The
registers of the display controller are accessed without command sequencer
involved, instead just by using CPU.  The command sequencer is supposed to
be used by the blit engine.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Link: https://lore.kernel.org/r/20250414035028.1561475-13-victor.liu@nxp.com
drivers/gpu/drm/imx/dc/Kconfig
drivers/gpu/drm/imx/dc/Makefile
drivers/gpu/drm/imx/dc/dc-crtc.c [new file with mode: 0644]
drivers/gpu/drm/imx/dc/dc-de.h
drivers/gpu/drm/imx/dc/dc-drv.c
drivers/gpu/drm/imx/dc/dc-drv.h
drivers/gpu/drm/imx/dc/dc-kms.c [new file with mode: 0644]
drivers/gpu/drm/imx/dc/dc-kms.h [new file with mode: 0644]
drivers/gpu/drm/imx/dc/dc-plane.c [new file with mode: 0644]