]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Use drm_bridge_connector_init() helper
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 25 May 2020 03:18:01 +0000 (06:18 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 28 Jul 2021 13:33:29 +0000 (16:33 +0300)
commitc24110a8fd09ac754df36feeece4b98d072f0f64
tree6aae62d1e499f5b6277ab353f24a57a43f3b42d2
parentd0f44e0dac29aca3f85d238dfbcd2e52450b38dc
drm: rcar-du: Use drm_bridge_connector_init() helper

Use the drm_bridge_connector_init() helper to create a drm_connector for
each output, instead of relying on the bridge drivers doing so. Attach
the bridges with the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag to instruct
them not to create a connector.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> # On V3U
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_encoder.c