drm: xlnx: zynqmp_dpsub: Move connector registration to bridge attach
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 4 Aug 2021 16:21:41 +0000 (19:21 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 19 Oct 2022 13:51:02 +0000 (16:51 +0300)
commit2374b6ea30384f23a78555c3b962bce358a8869e
tree2a1c04db803b1d50db8c19254319165575b81823
parent5827398b0e765324bdd89df96b3e948847dc7663
drm: xlnx: zynqmp_dpsub: Move connector registration to bridge attach

Connector creation requires the DRM encoder, and it thus typically
performed in the bridge attach operation. Move it there, to prepare for
registration of the DRM bridge. For now the zynqmp_dp_bridge_attach() is
called manually at initialization time.

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