drm/imx: Add initial support for DCSS on iMX8MQ
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 31 Jul 2020 08:18:30 +0000 (11:18 +0300)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 9 Sep 2020 14:39:48 +0000 (16:39 +0200)
commit9021c317b77024fb2642af7e84ad944769ae0949
tree33cad18bdbf967a5ee7f503790a8cac014bb1ea1
parentce625f45670c90241e06d406cd1b0dbd19ed1044
drm/imx: Add initial support for DCSS on iMX8MQ

This adds initial support for iMX8MQ's Display Controller Subsystem (DCSS).
Some of its capabilities include:
 * 4K@60fps;
 * HDR10;
 * one graphics and 2 video pipelines;
 * on-the-fly decompression of compressed video and graphics;

The reference manual can be found here:
https://www.nxp.com/webapp/Download?colCode=IMX8MDQLQRM

The current patch adds only basic functionality: one primary plane for
graphics, linear, tiled and super-tiled buffers support (no graphics
decompression yet), no HDR10 and no video planes.

Video planes support and HDR10 will be added in subsequent patches once
per-plane de-gamma/CSC/gamma support is in.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200731081836.3048-3-laurentiu.palcu@oss.nxp.com
17 files changed:
drivers/gpu/drm/imx/Kconfig
drivers/gpu/drm/imx/Makefile
drivers/gpu/drm/imx/dcss/Kconfig [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/Makefile [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-blkctl.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-crtc.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-ctxld.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-dev.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-dev.h [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-dpr.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-drv.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-dtg.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-kms.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-kms.h [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-plane.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-scaler.c [new file with mode: 0644]
drivers/gpu/drm/imx/dcss/dcss-ss.c [new file with mode: 0644]