Parse the Display Device Technology field from the DisplayID v2.x
Display Parameters Data Block to identify LCD and OLED panels, and
wire it into amdgpu_dm as a fallback for panel type detection.

Chenyu Chen (2):
  drm/edid: parse panel type from DisplayID 2.x Display Parameters block
  drm/amd/display: use DisplayID panel type in dm_set_panel_type

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 ++--
 drivers/gpu/drm/drm_displayid_internal.h      | 25 ++++++++
 drivers/gpu/drm/drm_edid.c                    | 61 +++++++++++++++----
 include/drm/drm_connector.h                   |  6 ++
 include/uapi/drm/drm_mode.h                   |  1 +
 5 files changed, 89 insertions(+), 16 deletions(-)

-- 
2.43.0

Reply via email to