Skip to content

drm/amd/display: Use drm_edid for more code

Mario Limonciello amd-gfx dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v7 Latest10 patches 12 repliesIn review

Changes in v7 from the cover letter

* Rebase on amd-staging-drm-next which is now 6.10 based
* Fix the two LKP robot reported issues

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/amd/display: switch amdgpu_dm_connector to use struct drm_ediddrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c +1 more+84 -900 replies
2/10drm/amd/display: switch to setting physical address directlydrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+3 -30 replies
3/10drm/amd/display: always call connector_update when parsing freesync_capsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+2 -20 replies
4/10drm/amd/display: remove redundant freesync parser for DPdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+4 -700 replies
5/10drm/amd/display: use drm_edid_product_id for parsing EDID product infodrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c+20 -180 replies
6/10drm/amd/display: parse display name from drm_elddrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c+6 -40 replies
7/10drm/amd/display: get SAD from drm_eld when parsing EDID capsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c+10 -101 reply
8/10drm/amd/display: get SADB from drm_eld when parsing EDID capsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c+3 -120 replies
9/10drm/amd/display: remove dc_edid handler from dm_helpers_parse_edid_capsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c drivers/gpu/drm/amd/display/dc/dm_helpers.h +1 more+16 -263 replies
10/10drm/amd/display: Fetch the EDID from _DDC if available for eDPdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c drivers/gpu/drm/amd/include/amd_shared.h+66 -15 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchAlex Hung
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10R-b

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

Read the v7 thread

Cover letter [PATCH v7 00/10] drm/amd/display: Use drm_edid for more code

This is the successor of Melissa's v5 series that was posted [1] as well as my series that was posted [2].

Melissa's patches are mostly unmodified from v5, but the series has been rebase on the new 6.10 based amd-staging-drm-next.

As were both touching similar code for fetching the EDID, I've merged the pertinent parts of my series into this one in allowing the connector to fetch the EDID from _DDC if available for eDP as well.

There are still some remaining uses of drm_edid_raw() but they touch pure DC code, so a wrapper or macro will probably be needed to convert them. This can be for follow ups later on.

v7:
* Rebase on amd-staging-drm-next which is now 6.10 based
* Fix the two LKP robot reported issues

Mario Limonciello (1):
drm/amd/display: Fetch the EDID from _DDC if available for eDP

Melissa Wen (9):
drm/amd/display: switch amdgpu_dm_connector to use struct drm_edid drm/amd/display: switch to setting physical address directly drm/amd/display: always call connector_update when parsing
freesync_caps
drm/amd/display: remove redundant freesync parser for DP drm/amd/display: use drm_edid_product_id for parsing EDID product info drm/amd/display: parse display name from drm_eld drm/amd/display: get SAD from drm_eld when parsing EDID caps drm/amd/display: get SADB from drm_eld when parsing EDID caps drm/amd/display: remove dc_edid handler from
dm_helpers_parse_edid_caps

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 200 ++++++------------
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |   4 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 172 +++++++++------
 .../display/amdgpu_dm/amdgpu_dm_mst_types.c   |  34 +--
 drivers/gpu/drm/amd/display/dc/dm_helpers.h   |   1 -
 .../drm/amd/display/dc/link/link_detection.c  |   6 +-
 drivers/gpu/drm/amd/include/amd_shared.h      |   5 +
 7 files changed, 200 insertions(+), 222 deletions(-)

base-commit: 0569603f945225067d963c8ba4fda31d967ab584

Signature · 1 line
2.34.1