The AMD Vendor-Specific Data Block (VSDB) v3 parsing currently lives in amdgpu_dm, using raw byte-walking over EDID extension blocks. This series moves the parsing into the DRM EDID core so the data is available through drm_display_info for any driver.
Patch 1 adds the parser in drm_edid.c and the new drm_amd_vsdb_info struct in drm_connector.h. Patch 2 updates amdgpu_dm to consume the parsed data from display_info instead of doing its own parsing, and factors out panel type determination into a dedicated function. Chenyu Chen (2): drm/edid: Parse AMD Vendor-Specific Data Block drm/amd/display: Use drm_display_info for AMD VSDB data .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 120 ++++++++++-------- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 14 -- drivers/gpu/drm/drm_edid.c | 72 +++++++++++ include/drm/drm_connector.h | 38 ++++++ 4 files changed, 178 insertions(+), 66 deletions(-) -- 2.43.0
