DRM's EDID helpers probe DDC before consulting debugfs or firmware
overrides. This prevents drivers with independent presence detection from
using an override when a connected sink stops responding over DDC.

Add an optional connector-specific DDC probe callback and use AMD Display
Core's existing connection state so EDID overrides remain handled through
the unified DRM core path.

v1->v2:
- Replace the override-only EDID reader with a connector callback, as
  suggested by Jani.
- Keep override and firmware EDID handling entirely within DRM core.

Cc: Curtis Vogt <[email protected]>
Mario Limonciello (2):
  drm/edid: Add a connector-specific DDC probe callback
  drm/amd/display: Honor EDID overrides for connected sinks

 .../amd/display/amdgpu_dm/amdgpu_dm_connector.c |  8 ++++++++
 drivers/gpu/drm/drm_edid.c                      | 15 +++++++++++++--
 include/drm/drm_connector.h                     | 17 +++++++++++++++++
 3 files changed, 38 insertions(+), 2 deletions(-)

-- 
2.43.0

Reply via email to