drm/amd/display: Parse all extension blocks for VSDB
authorRay Wu <ray.wu@amd.com>
Mon, 26 Jan 2026 07:55:18 +0000 (15:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Feb 2026 20:13:06 +0000 (15:13 -0500)
commit0faccfa9ca8e9688f106c961972b885f7eb86941
tree14c0722aef3e5d1118940c2046174d779e719ce3
parent4bff89bad90cff5b8422813f659317637d0a1994
drm/amd/display: Parse all extension blocks for VSDB

[Why]
VSDB parsing loop only searched within the first extension block.
If the VSDB was located in a subsequent extension block,
it would not be found.

[How]
Calculate the total length of all extension blocks (EDID_LENGTH *
edid->extensions) and use that as the loop boundary, allowing the
parser to search through all available extension blocks.

Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c