drm: xlnx: zynqmp_dpsub: Move planes handling to zynqmp_kms.c
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 6 Aug 2021 11:29:52 +0000 (14:29 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 19 Oct 2022 13:53:55 +0000 (16:53 +0300)
commitee1229b35d20d00ed13009d81401032de06ac58e
treefff6ae70a71a6f76bfe58fe7f30eb94a523a31a2
parent83a956d3c316ca63cc4cc931afce474f9e0199a1
drm: xlnx: zynqmp_dpsub: Move planes handling to zynqmp_kms.c

Decouple the planes handling from the display controller programming by
moving the corresponding code from zynqmp_disp.c to zynqmp_kms.c. This
prepares for using the DPSUB with a live video input, without creating
DRM planes in the DPSUB driver.

While at it, fix a typo in a comment.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/xlnx/zynqmp_disp.c
drivers/gpu/drm/xlnx/zynqmp_disp.h
drivers/gpu/drm/xlnx/zynqmp_dpsub.h
drivers/gpu/drm/xlnx/zynqmp_kms.c