dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm/bridge: adv7511: get edid in hpd_work to update CEC phys address
@ 2024-02-19 20:12 Alvin Šipraga
  2024-02-19 20:12 ` [PATCH v3 1/2] drm/bridge: adv7511: rearrange hotplug work code Alvin Šipraga
  2024-02-19 20:12 ` [PATCH v3 2/2] drm/bridge: adv7511: get edid in hpd_work to update CEC phys address Alvin Šipraga
  0 siblings, 2 replies; 8+ messages in thread
From: Alvin Šipraga @ 2024-02-19 20:12 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, David Airlie, Daniel Vetter,
	Hans Verkuil
  Cc: dri-devel, linux-kernel, Alvin Šipraga

This series fixes a small bug where the CEC adapter could have an
invalid CEC address even though we got a hotplug connect and could have
read it.

Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
---
Changes in v3:
- rebase on latest drm-misc-fixes
- remove redundant NULL check before kfree()
- collect Robert's Reviewed-by
- Link to v2: https://lore.kernel.org/r/20231124-adv7511-cec-edid-v2-0-f0e5eeafdfc2@bang-olufsen.dk

Changes in v2:
- Rearrange driver code to avoid the previous prototype of
  adv7511_get_edid(), per Laurent's feedback
- Free the returned EDID to prevent a memory leak, per Jani's comment
- Link to v1: https://lore.kernel.org/r/20231014-adv7511-cec-edid-v1-1-a58ceae0b57e@bang-olufsen.dk

---
Alvin Šipraga (2):
      drm/bridge: adv7511: rearrange hotplug work code
      drm/bridge: adv7511: get edid in hpd_work to update CEC phys address

 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 153 ++++++++++++++++-----------
 1 file changed, 89 insertions(+), 64 deletions(-)
---
base-commit: 335126937753844d36036984e96a8f343538a778
change-id: 20231014-adv7511-cec-edid-ff75bd3ac929


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-03-05 16:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19 20:12 [PATCH v3 0/2] drm/bridge: adv7511: get edid in hpd_work to update CEC phys address Alvin Šipraga
2024-02-19 20:12 ` [PATCH v3 1/2] drm/bridge: adv7511: rearrange hotplug work code Alvin Šipraga
2024-03-05 15:17   ` Laurent Pinchart
2024-02-19 20:12 ` [PATCH v3 2/2] drm/bridge: adv7511: get edid in hpd_work to update CEC phys address Alvin Šipraga
2024-03-05 15:05   ` Robert Foss
2024-03-05 16:10     ` Jani Nikula
2024-03-05 15:22   ` Laurent Pinchart
2024-03-05 16:18   ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).