Skip to content
Permalink
Browse files
drm: xlnx: DRM KMS driver for xilinx display pipeline
Various xilinx display IP client drivers need common code for
providing DRM KMS component like CRTC and plane. This driver
is intended to provide such component. This is a virtual driver
with no hardware involved.

Adding multiple color formats in single plane.
In case of framebuffer, color format will be queried from framebuffer
driver and in case of vdma, device tree color format will be the only
color format supported.

Adding semi planar color format support in pl_disp for color aware dma.
Framebuffer driver requires chroma buffer address for semi-planar color
format. As we dont have any separate API call in dmaengine for passing
chroma buffer, we calculate the offset from chroma buffer to luma buffer
and pass it in src_icg along with xt. In framebuffer driver chroma buffer
is calculated based on this offset from luma buffer address.

Signed-off-by: Saurabh Sengar <saurabh.singh@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
State: pending
[michal: /drmP.h/d, Add missing drm/drm_vblank.h]
[michals: Squashed with
drm: xlnx: pl_disp: Use xlnx pipeline calls
drm: xlnx: pl_disp: fix odd_ptr_err.cocci warnings
drm: xlnx: pl_disp: fix vblank time out issue
drm: xlnx: pl_disp: Add VTC bridge support
drm: xlnx: pl_disp: Pass interlaced field info to frmbuf DMA
drm: xlnx: pl_disp: Enable early callback
drm: xlnx: pl_disp: handle software vblank
drm: xlnx: pl_disp: Pass early callback mode
drm: xlnx: pl_disp: Added plane atomic check function
drm: xlnx: pl_disp: make the incoming interlaced fields in order
drm: xlnx: pl_disp: fix missing xlnx_crtc_unregister
drm: xlnx: pl_disp: remove unused variables
drm: xlnx: pl_disp: Release DMA when probe deferred
drm: xlnx: pl_disp: Fix MIXED_ENUM_TYPE type warning
drm: xlnx: pl_disp: Add plane properties for fid error detection
drm: xlnx: pl_disp: Update max number of supported planes
v5.15 update
]
  • Loading branch information
Saurabh Sengar authored and Michal Simek committed Feb 1, 2022
1 parent 3f6e854 commit 53714559153b6752c75bfc61ddf6680dfd2ae401
Show file tree
Hide file tree
Showing 3 changed files with 695 additions and 0 deletions.
@@ -64,6 +64,15 @@ config DRM_XLNX_MIXER
help
DRM driver for Xilinx Mixer driver

config DRM_XLNX_PL_DISP
tristate "Xilinx DRM PL display driver"
depends on DRM_XLNX
help
DRM driver for Xilinx PL display driver, provides drm
crtc and plane object to display pipeline. You need to
choose this option if your display pipeline needs one
crtc and plane object with single DMA connected.

config DRM_XLNX_SDI
tristate "Xilinx DRM SDI Subsystem Driver"
depends on DRM_XLNX
@@ -5,5 +5,6 @@ xlnx_drm-$(CONFIG_DRM_XLNX_BRIDGE) += xlnx_bridge.o
obj-$(CONFIG_DRM_XLNX) += xlnx_drm.o
obj-$(CONFIG_DRM_XLNX_DSI) += xlnx_dsi.o
obj-$(CONFIG_DRM_XLNX_MIXER) += xlnx_mixer.o
obj-$(CONFIG_DRM_XLNX_PL_DISP) += xlnx_pl_disp.o
xlnx-sdi-objs += xlnx_sdi.o xlnx_sdi_timing.o
obj-$(CONFIG_DRM_XLNX_SDI) += xlnx-sdi.o

0 comments on commit 5371455

Please sign in to comment.