drm: xlnx: zynqmp_dpsub: Move CRTC 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:51:31 +0000 (16:51 +0300)
commit83a956d3c316ca63cc4cc931afce474f9e0199a1
treedce743ab277e26a025f9988c946704840cd9f4d4
parent76c8eeb72dbbe31770c645e4039846f6f4019475
drm: xlnx: zynqmp_dpsub: Move CRTC handling to zynqmp_kms.c

Decouple the CRTC 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 a
DRM CRTC in the DPSUB driver.

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_dp.c
drivers/gpu/drm/xlnx/zynqmp_kms.c
drivers/gpu/drm/xlnx/zynqmp_kms.h