[PATCH] drm: bridge: adv7511: get edid in hpd_work to update CEC phys address

Alvin Šipraga ALSI at bang-olufsen.dk
Sat Oct 14 19:48:18 UTC 2023


On Sat, Oct 14, 2023 at 09:43:01PM +0200, Alvin Šipraga wrote:
> From: Alvin Šipraga <alsi at bang-olufsen.dk>
> 
> The adv7511 driver is solely responsible for setting the physical
> address of its CEC adapter. To do this, it must read the EDID. However,
> EDID is only read when either the drm_bridge_funcs :: get_edid or
> drm_connector_helper_funcs :: get_modes ops are called. Without loss of
> generality, it cannot be assumed that these ops are called when a sink
> gets attached. Therefore there exist scenarios in which the CEC physical
> address will be invalid (f.f.f.f), rendering the CEC adapter inoperable.
> 
> Address this problem by always fetching the EDID in the HPD work when we
> detect a connection. The CEC physical address is set in the process.
> 
> Signed-off-by: Alvin Šipraga <alsi at bang-olufsen.dk>


Oops, I think that I got the subject prefix wrong. It should be

    drm/bridge:

and not

    drm: bridge:

right?

Thanks.

Kind regards,
Alvin


More information about the dri-devel mailing list