Skip to content

drm: Move AMD VSDB parsing into DRM EDID core

Chenyu Chen amd-gfx dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/edid: Parse AMD Vendor-Specific Data Blockdrivers/gpu/drm/drm_edid.c include/drm/drm_connector.h+110 -00 replies
2/2drm/amd/display: Use drm_display_info for AMD VSDB datadrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h+68 -660 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMario Limonciello (AMD)
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] drm: Move AMD VSDB parsing into DRM EDID core

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(-)
Signature · 1 line
2.43.0