]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:21:10 +0000 (07:21 -0500)
commit5e27e7f22978538bbe12f95d462c18e0002bfa73
treebddf899758da6f78110d721eb7e80cd37f4af7e1
parent6236c1cd9fdf433d39ed28b2491ccdfe7ae95061
drm/bridge: anx7625: Fix invalid EDID size

[ Upstream commit 1d5362145de96b5d00d590605cc94cdfa572b405 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/bridge/analogix/anx7625.c