mbox series

[v4,0/3] Add drm_get_acpi_edid() helper

Message ID 20240207224429.104625-1-mario.limonciello@amd.com
Headers show
Series Add drm_get_acpi_edid() helper | expand

Message

Mario Limonciello Feb. 7, 2024, 10:44 p.m. UTC
The drm_get_acpi_edid() helper is for drivers that would prefer
to get the EDID from ACPI instead of from the panel.

Earlier versions of this series were aimed at using this in amdgpu
and nouveau.

This version does NOT update amdgpu as the change will require a
larger overhaul to use struct drm_edid. There will be a follow up
patch to amdgpu after Melissa Wen finishes that effort [2].

https://lore.kernel.org/dri-devel/20240201221119.42564-1-mario.limonciello@amd.com/ [1]
https://lore.kernel.org/amd-gfx/20240126163429.56714-1-mwen@igalia.com/ [2]
Mario Limonciello (3):
  drm: Add drm_get_acpi_edid() helper
  drm/nouveau: Use drm_get_acpi_edid() helper
  drm: Drop unneeded selects in DRM drivers

 drivers/gpu/drm/Kconfig                     |  5 ++
 drivers/gpu/drm/amd/amdgpu/Kconfig          |  7 --
 drivers/gpu/drm/drm_edid.c                  | 77 +++++++++++++++++++++
 drivers/gpu/drm/gma500/Kconfig              |  6 --
 drivers/gpu/drm/i915/Kconfig                |  7 --
 drivers/gpu/drm/nouveau/Kconfig             |  4 --
 drivers/gpu/drm/nouveau/nouveau_acpi.c      | 27 --------
 drivers/gpu/drm/nouveau/nouveau_acpi.h      |  2 -
 drivers/gpu/drm/nouveau/nouveau_connector.c | 20 +++---
 drivers/gpu/drm/radeon/Kconfig              |  7 --
 drivers/gpu/drm/xe/Kconfig                  |  6 --
 include/drm/drm_edid.h                      |  1 +
 12 files changed, 92 insertions(+), 77 deletions(-)