aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/bridge/display-connector.c
diff options
context:
space:
mode:
authorNeil Armstrong <[email protected]>2021-10-29 13:59:47 +0000
committerNeil Armstrong <[email protected]>2021-11-12 09:05:45 +0000
commit3f2532d65a571ca02258b547b5b68ab2e9406fdb (patch)
tree2e86b01f19602d07636c19d6757fd1e58d3a610b /drivers/gpu/drm/bridge/display-connector.c
parentdrm/bridge: parade-ps8640: Populate devices on aux-bus (diff)
downloadkernel-3f2532d65a571ca02258b547b5b68ab2e9406fdb.tar.gz
kernel-3f2532d65a571ca02258b547b5b68ab2e9406fdb.zip
drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR
The current ELD handling takes the internal connector ELD buffer and shares it to the I2S and AHB sub-driver. But with DRM_BRIDGE_ATTACH_NO_CONNECTOR, the connector is created elsewhere (or not), and an eventual connector is known only if the bridge chain up to a connector is enabled. The current dw-hdmi code gets the current connector from atomic_enable() so use the already stored connector pointer and replace the buffer pointer with a callback returning the current connector ELD buffer. Since a connector is not always available, either pass an empty ELD to the alsa HDMI driver or don't call snd_pcm_hw_constraint_eld() in AHB driver. Reported-by: Martin Blumenstingl <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> [narmstrong: fixed typo in commit log] Acked-by: Jernej Skrabec <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/bridge/display-connector.c')
0 files changed, 0 insertions, 0 deletions