Nouveau Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm: add support for retrieving EDID via ACPI _DDC
@ 2020-07-27 20:53 Daniel Dadap
       [not found] ` <20200727205357.27839-1-ddadap-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Dadap @ 2020-07-27 20:53 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9/egYHeGw8Jk,
	intel-gfx-PD4FTy7X32lNgt0PjOBp9/egYHeGw8Jk,
	nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	jani.nikula-VuQAYsv1563Yd54FQh9/CA,
	joonas.lahtinen-VuQAYsv1563Yd54FQh9/CA,
	rodrigo.vivi-ral2JQCrhuEAvxtiuMwx3w,
	bskeggs-H+wXaHxf7aLQT0dZR+AlfA, alexander.deucher-5C7GfCeVMHo,
	christian.koenig-5C7GfCeVMHo, david1.zhou-5C7GfCeVMHo
  Cc: Daniel Dadap

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(-)

-- 
2.18.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-08-13  3:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-27 20:53 [PATCH 0/4] drm: add support for retrieving EDID via ACPI _DDC Daniel Dadap
     [not found] ` <20200727205357.27839-1-ddadap-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-07-27 20:53   ` [PATCH 1/4] drm: retrieve EDID via ACPI _DDC method Daniel Dadap
     [not found]     ` <20200727205357.27839-2-ddadap-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-08-08 22:11       ` [Nouveau] " Lukas Wunner
     [not found]         ` <20200808221114.5rfnys76ozoj62wv-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2020-08-12 22:37           ` Daniel Dadap
     [not found]             ` <3aa06548-b7b4-6753-7169-88e9b2d80acc-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-08-13  3:05               ` [Nouveau] " Alex Deucher
2020-07-27 20:53   ` [PATCH 2/4] i915: fall back to ACPI EDID retrieval Daniel Dadap
2020-07-27 20:53   ` [PATCH 3/4] nouveau: " Daniel Dadap
2020-07-27 20:53   ` [PATCH 4/4] radeon: " Daniel Dadap
     [not found]     ` <20200727205357.27839-5-ddadap-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-07-28  6:50       ` Christian König
     [not found]         ` <3c355e4d-b9ff-66b7-e9e3-86027deeba6d-5C7GfCeVMHo@public.gmane.org>
2020-07-28 18:44           ` Daniel Dadap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox