Fix an issue in amd/display where devices with HF-EEODB blocks would be missing these additional blocks during EDID reads.
The driver previously used `edid->extensions + 1` to calculate the number of blocks to copy, but the base extension flag does not include HF-EEODB blocks. Use drm_edid_block_count() directly to get the true number of blocks, ensuring that HF-EEODB blocks are properly copied. Timo Prömer (2): drm/edid: Export drm_edid_block_count() drm/amd/display: Use drm_edid_block_count() instead of raw extensions drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 5 ++++- drivers/gpu/drm/drm_edid.c | 3 ++- include/drm/drm_edid.h | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) -- 2.55.0
