drm/tidss: Update encoder/bridge chain connect model
authorAradhya Bhatia <a-bhatia1@ti.com>
Tue, 6 Jun 2023 08:21:41 +0000 (13:51 +0530)
committerJavier Martinez Canillas <javierm@redhat.com>
Mon, 10 Jul 2023 12:21:29 +0000 (14:21 +0200)
commitc932ced6b58524eeb948ff252f6512cd6bcb9d9f
tree01622ee6ec3190a2849b05a654e7839e1c55e25d
parentb1c08ffcab41dd49d91c4cf6e7af489d05eca862
drm/tidss: Update encoder/bridge chain connect model

With the new encoder/bridge chain model, the display controller driver
is required to create a drm_connector entity instead of asking the
bridge to do so during drm_bridge_attach. Moreover, the controller
driver should create a drm_bridge entity to negotiate bus formats and a
'simple' drm_encoder entity to expose it to userspace.

Update the encoder/bridge initialization sequence in tidss as per the
new model.

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230606082142.23760-8-a-bhatia1@ti.com
drivers/gpu/drm/tidss/tidss_encoder.c
drivers/gpu/drm/tidss/tidss_encoder.h
drivers/gpu/drm/tidss/tidss_kms.c