Skip to content

Commit 768e9e6

Browse files
bijudasmripard
authored andcommitted
drm: renesas: Add RZ/G2L DU Support
The LCD controller is composed of Frame Compression Processor (FCPVD), Video Signal Processor (VSPD), and Display Unit (DU). It has DPI/DSI interfaces and supports a maximum resolution of 1080p along with 2 RPFs to support the blending of two picture layers and raster operations (ROPs). The DU module is connected to VSPD. Add RZ/G2L DU support for RZ/G2L alike SoCs. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20240218164840.57662-4-biju.das.jz@bp.renesas.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
1 parent ac23216 commit 768e9e6

File tree

14 files changed

+1735
-0
lines changed

14 files changed

+1735
-0
lines changed

drivers/gpu/drm/renesas/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

33
source "drivers/gpu/drm/renesas/rcar-du/Kconfig"
4+
source "drivers/gpu/drm/renesas/rz-du/Kconfig"
45
source "drivers/gpu/drm/renesas/shmobile/Kconfig"

drivers/gpu/drm/renesas/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
obj-y += rcar-du/
4+
obj-y += rz-du/
45
obj-$(CONFIG_DRM_SHMOBILE) += shmobile/

drivers/gpu/drm/renesas/rz-du/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
config DRM_RZG2L_DU
3+
tristate "DRM Support for RZ/G2L Display Unit"
4+
depends on ARCH_RZG2L || COMPILE_TEST
5+
depends on DRM && OF
6+
depends on VIDEO_RENESAS_VSP1
7+
select DRM_GEM_DMA_HELPER
8+
select DRM_KMS_HELPER
9+
select VIDEOMODE_HELPERS
10+
help
11+
Choose this option if you have an RZ/G2L alike chipset.
12+
If M is selected the module will be called rzg2l-du-drm.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
rzg2l-du-drm-y := rzg2l_du_crtc.o \
3+
rzg2l_du_drv.o \
4+
rzg2l_du_encoder.o \
5+
rzg2l_du_kms.o \
6+
7+
rzg2l-du-drm-$(CONFIG_VIDEO_RENESAS_VSP1) += rzg2l_du_vsp.o
8+
obj-$(CONFIG_DRM_RZG2L_DU) += rzg2l-du-drm.o

0 commit comments

Comments
 (0)