MLK-22599 drm/imx: dpu: kms: Support full screen CRTC background
authorLiu Ying <victor.liu@nxp.com>
Tue, 3 Sep 2019 20:44:08 +0000 (16:44 -0400)
committerLiu Ying <victor.liu@nxp.com>
Mon, 16 Sep 2019 08:18:53 +0000 (16:18 +0800)
commit35af8c6450a02b6d450f36d90c67a30e7f499fe7
tree470930f8724f020bc2f356ef3a2b2f3411ec3db5
parent38ffd565ee39f8e8b5d2bbfc493e88c2c104c2c6
MLK-22599 drm/imx: dpu: kms: Support full screen CRTC background

The CRTC background should be full screen instead of partial
screen, because the DRM core is likely to add configurable
background color support in the future.  We may cover the full
screen with ConstFrame0/1, upon which builds planes.  With this,
it is easier to compute each plane's layer offset vs CRTC start
point and all ConstFrame units can be controlled by CRTC.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit ba18a9874cf010032413ca70f9b358399a143037)
drivers/gpu/drm/imx/dpu/dpu-crtc.c
drivers/gpu/drm/imx/dpu/dpu-crtc.h
drivers/gpu/drm/imx/dpu/dpu-kms.c
drivers/gpu/drm/imx/dpu/dpu-plane.c
drivers/gpu/drm/imx/dpu/dpu-plane.h
drivers/gpu/imx/dpu/dpu-common.c
drivers/gpu/imx/dpu/dpu-constframe.c
drivers/gpu/imx/dpu/dpu-framegen.c
include/video/dpu.h