]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/sti/sti_hdmi: convert to struct drm_edid
authorJani Nikula <jani.nikula@intel.com>
Thu, 22 Aug 2024 17:42:47 +0000 (20:42 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 29 Aug 2024 11:30:14 +0000 (14:30 +0300)
commitf7945d9fa8b72dd6e0b1e4bfa68f6fe54fd521fe
treedf39a17d7dd4de777e82b5c63f936ceefa0b6a50
parentbfbdf72d6c145e008805f0745ff79f9b8e301e0e
drm/sti/sti_hdmi: convert to struct drm_edid

Prefer the struct drm_edid based functions for reading the EDID and
updating the connector.

The functional change is that the CEC physical address gets invalidated
when the EDID could not be read.

v2: Use drm_edid_read() instead of drm_edid_read_ddc() (Sima)

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/25879a0183e30792bf0d63bdf56a03f11018e4a3.1724348429.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/sti/sti_hdmi.c