Skip to content

drm: add support for retrieving EDID via ACPI _DDC

Daniel Dadap amd-gfx nouveau 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm: retrieve EDID via ACPI _DDC methoddrivers/gpu/drm/drm_edid.c include/drm/drm_edid.h+162 -03 replies
2/4i915: fall back to ACPI EDID retrievaldrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_lvds.c+11 -10 replies
3/4nouveau: fall back to ACPI EDID retrievaldrivers/gpu/drm/nouveau/nouveau_connector.c+6 -00 replies
4/4radeon: fall back to ACPI EDID retrievaldrivers/gpu/drm/radeon/radeon_combios.c+3 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] drm: add support for retrieving EDID via ACPI _DDC

Some notebook systems provide the EDID for the internal panel via the _DDC method in ACPI, instead of or in addition to providing the EDID via DDC on LVDS/eDP. Add a DRM helper to search for an ACP _DDC method under the ACPI namespace for each VGA/3D controller, and return the first EDID successfully retrieved via _DDC. Update the i915, nouveau, and radeon DRM-KMS drivers to fall back to retrieving the EDID via ACPI _DDC on notebook internal display panels after failing to retrieve an EDID via other means.

This is useful for retrieving an internal panel's EDID both on hybrid graphics systems with muxed display output, when the display is muxed away, as well as on a small number of non-muxed and/or non-hybrid systems where ACPI _DDC is the only means of accessing the EDID for the internal panel.

Daniel Dadap (4):
drm: retrieve EDID via ACPI _DDC method
i915: fall back to ACPI EDID retrieval
nouveau: fall back to ACPI EDID retrieval
radeon: fall back to ACPI EDID retrieval

 drivers/gpu/drm/drm_edid.c                  | 161 ++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_dp.c     |   8 +-
 drivers/gpu/drm/i915/display/intel_lvds.c   |   4 +
 drivers/gpu/drm/nouveau/nouveau_connector.c |   6 +
 drivers/gpu/drm/radeon/radeon_combios.c     |   6 +-
 include/drm/drm_edid.h                      |   1 +
 6 files changed, 182 insertions(+), 4 deletions(-)
Signature · 1 line
2.18.4