Skip to content

Commit d76271d

Browse files
xlnx-hyunkwonpinchartl
authored andcommitted
drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem
The Xilinx ZynqMP SoC has a hardened display pipeline named DisplayPort Subsystem. It includes a buffer manager, a video pipeline renderer (blender), an audio mixer and a DisplayPort source controller (transmitter). The DMA engine the provide data to the buffer manager, as well as the DisplayPort PHYs that drive the lanes, are external to the subsystem and interfaced using the DMA engine and PHY APIs respectively. This driver supports the DisplayPort Subsystem and implements - Two planes, for graphics and video - One CRTC that supports alpha blending - One encoder for the DisplayPort transmitter - One connector for an external monitor It currently doesn't support - Color keying - Test pattern generation - Audio - Live input from the Programmable Logic (FPGA) - Output to the Programmable Logic (FPGA) Signed-off-by: Hyun Kwon <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
1 parent e7c7970 commit d76271d

File tree

12 files changed

+4104
-0
lines changed

12 files changed

+4104
-0
lines changed

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5843,6 +5843,15 @@ T: git git://anongit.freedesktop.org/drm/drm-misc
58435843
F: Documentation/gpu/xen-front.rst
58445844
F: drivers/gpu/drm/xen/
58455845

5846+
DRM DRIVERS FOR XILINX
5847+
M: Hyun Kwon <[email protected]>
5848+
M: Laurent Pinchart <[email protected]>
5849+
5850+
S: Maintained
5851+
T: git git://anongit.freedesktop.org/drm/drm-misc
5852+
F: Documentation/devicetree/bindings/display/xlnx/
5853+
F: drivers/gpu/drm/xlnx/
5854+
58465855
DRM DRIVERS FOR ZTE ZX
58475856
M: Shawn Guo <[email protected]>
58485857

drivers/gpu/drm/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@ source "drivers/gpu/drm/mcde/Kconfig"
386386

387387
source "drivers/gpu/drm/tidss/Kconfig"
388388

389+
source "drivers/gpu/drm/xlnx/Kconfig"
390+
389391
# Keep legacy drivers last
390392

391393
menuconfig DRM_LEGACY

drivers/gpu/drm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,4 @@ obj-$(CONFIG_DRM_PANFROST) += panfrost/
123123
obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed/
124124
obj-$(CONFIG_DRM_MCDE) += mcde/
125125
obj-$(CONFIG_DRM_TIDSS) += tidss/
126+
obj-y += xlnx/

drivers/gpu/drm/xlnx/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
config DRM_ZYNQMP_DPSUB
2+
tristate "ZynqMP DisplayPort Controller Driver"
3+
depends on ARCH_ZYNQMP || COMPILE_TEST
4+
depends on COMMON_CLK && DRM && OF
5+
select DMA_ENGINE
6+
select DRM_GEM_CMA_HELPER
7+
select DRM_KMS_CMA_HELPER
8+
select DRM_KMS_HELPER
9+
select GENERIC_PHY
10+
help
11+
This is a DRM/KMS driver for ZynqMP DisplayPort controller. Choose
12+
this option if you have a Xilinx ZynqMP SoC with DisplayPort
13+
subsystem.

drivers/gpu/drm/xlnx/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
zynqmp-dpsub-y := zynqmp_disp.o zynqmp_dpsub.o zynqmp_dp.o
2+
obj-$(CONFIG_DRM_ZYNQMP_DPSUB) += zynqmp-dpsub.o

0 commit comments

Comments
 (0)