Displaying 2 results from an estimated 2 matches for "drm_edid_duplicate".
2020 Jul 27
0
[PATCH 1/4] drm: retrieve EDID via ACPI _DDC method
...defined(CONFIG_PCI)
+ struct edid *edid;
+
+ edid = search_pci_class_for_acpi_ddc(PCI_CLASS_DISPLAY_VGA);
+ if (edid)
+ return edid;
+
+ edid = search_pci_class_for_acpi_ddc(PCI_CLASS_DISPLAY_3D);
+ if (edid)
+ return edid;
+#endif
+
+ return NULL;
+}
+EXPORT_SYMBOL(drm_get_edid_acpi);
+
/**
* drm_edid_duplicate - duplicate an EDID and the extensions
* @edid: EDID to duplicate
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 34b15e3d070c..ec2fe6d98560 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -485,6 +485,7 @@ struct edid *drm_get_edid(struct drm_connector *conn...
2020 Jul 27
6
[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