diff options
author | Aradhya Bhatia <a-bhatia1@ti.com> | 2023-06-06 13:51:41 +0530 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2023-07-10 14:21:29 +0200 |
commit | c932ced6b58524eeb948ff252f6512cd6bcb9d9f (patch) | |
tree | 01622ee6ec3190a2849b05a654e7839e1c55e25d /drivers/gpu/drm/tidss/tidss_encoder.h | |
parent | b1c08ffcab41dd49d91c4cf6e7af489d05eca862 (diff) | |
download | lwn-c932ced6b58524eeb948ff252f6512cd6bcb9d9f.tar.gz lwn-c932ced6b58524eeb948ff252f6512cd6bcb9d9f.zip |
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
Diffstat (limited to 'drivers/gpu/drm/tidss/tidss_encoder.h')
-rw-r--r-- | drivers/gpu/drm/tidss/tidss_encoder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tidss/tidss_encoder.h b/drivers/gpu/drm/tidss/tidss_encoder.h index ace877c0e0fd..3e561d6b1e83 100644 --- a/drivers/gpu/drm/tidss/tidss_encoder.h +++ b/drivers/gpu/drm/tidss/tidss_encoder.h @@ -11,7 +11,8 @@ struct tidss_device; -struct drm_encoder *tidss_encoder_create(struct tidss_device *tidss, - u32 encoder_type, u32 possible_crtcs); +int tidss_encoder_create(struct tidss_device *tidss, + struct drm_bridge *next_bridge, + u32 encoder_type, u32 possible_crtcs); #endif |