Skip to content

drm/amdgpu replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

Claudio Suarez amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amdgpu: update drm_display_info correctly when the edid is readdrivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+5 -30 replies
2/3drm/amdgpu: use drm_edid_get_monitor_name() instead of duplicating the codedrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c+3 -150 replies
3/3drm/amdgpu: replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmidrivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c drivers/gpu/drm/amd/amdgpu/amdgpu_display.c drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c +4 more+21 -260 replies

Reviews trailers per patch

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

PatchHarry Wentland
SeriesR-b
1/3
2/3
3/3

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/3] drm/amdgpu replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

From the TODO list Documentation/gpu/todo.rst
-----------------------
Once EDID is parsed, the monitor HDMI support information is available through drm_display_info.is_hdmi. Many drivers still call drm_detect_hdmi_monitor() to retrieve the same information, which is less efficient.

Audit each individual driver calling drm_detect_hdmi_monitor() and switch to drm_display_info.is_hdmi if applicable.
-----------------------
The task is divided in three small patches. The last patch depends on the first one.

Claudio Suarez (3):
drm/amdgpu: update drm_display_info correctly when the edid is read drm/amdgpu: use drm_edid_get_monitor_name() instead of duplicating the
code
drm/amdgpu: replace drm_detect_hdmi_monitor() with
drm_display_info.is_hdmi

 .../gpu/drm/amd/amdgpu/amdgpu_connectors.c    | 17 +++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c   |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c  |  4 +-
 .../gpu/drm/amd/amdgpu/atombios_encoders.c    |  6 +--
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  3 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 37 +++++--------------
 drivers/gpu/drm/amd/display/dc/core/dc.c      |  2 +-
 drivers/gpu/drm/amd/display/dc/dm_helpers.h   |  2 +-
 8 files changed, 29 insertions(+), 44 deletions(-)
Signature · 1 line
2.33.0