]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: anx7625: Fix invalid EDID size
authorLoic Poulain <loic.poulain@oss.qualcomm.com>
Thu, 18 Dec 2025 15:13:07 +0000 (16:13 +0100)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Wed, 21 Jan 2026 07:01:30 +0000 (09:01 +0200)
commit1d5362145de96b5d00d590605cc94cdfa572b405
treec5d1106cc3f1f0931056a1626f0ce410989026ff
parentdc0e3aa54eaa4fc6efa1cf4467a487ea52b94f01
drm/bridge: anx7625: Fix invalid EDID size

DRM checks EDID block count against allocated size in drm_edid_valid
function. We have to allocate the right EDID size instead of the max
size to prevent the EDID to be reported as invalid.

Cc: stable@kernel.org
Fixes: 7c585f9a71aa ("drm/bridge: anx7625: use struct drm_edid more")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20251218151307.95491-1-loic.poulain@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/bridge/analogix/anx7625.c