mbox series

[v6,0/5] Add support for getting EDID over ACPI to DRM

Message ID 20240214215756.6530-1-mario.limonciello@amd.com (mailing list archive)
Headers show
Series Add support for getting EDID over ACPI to DRM | expand

Message

Mario Limonciello Feb. 14, 2024, 9:57 p.m. UTC
This series adds the ability to fetch the EDID through ACPI for laptop
panels. Drivers need to opt into the behavior.

In this series it's enabled by default for all eDP or LVDS panels with
AMDGPU and certain panels for Nouveau.

Mario Limonciello (5):
  drm: Stop using `select ACPI_VIDEO` in all drivers
  drm: Stop using `select BACKLIGHT_CLASS_DEVICE`
  drm: Add support to get EDID from ACPI
  drm/amd: Fetch the EDID from _DDC if available for eDP
  drm/nouveau: Use drm_edid_read_acpi() helper

 drivers/gpu/drm/Kconfig                       |   1 +
 drivers/gpu/drm/amd/amdgpu/Kconfig            |   9 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |   1 +
 .../gpu/drm/amd/amdgpu/amdgpu_connectors.c    |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |   8 ++
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |   4 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c |   2 +
 drivers/gpu/drm/bridge/Kconfig                |   2 +-
 drivers/gpu/drm/drm_edid.c                    | 109 ++++++++++++++++--
 drivers/gpu/drm/fsl-dcu/Kconfig               |   2 +-
 drivers/gpu/drm/gma500/Kconfig                |   7 +-
 drivers/gpu/drm/gud/Kconfig                   |   2 +-
 drivers/gpu/drm/i915/Kconfig                  |   9 +-
 drivers/gpu/drm/nouveau/Kconfig               |   9 +-
 drivers/gpu/drm/nouveau/nouveau_acpi.c        |  27 -----
 drivers/gpu/drm/nouveau/nouveau_acpi.h        |   2 -
 drivers/gpu/drm/nouveau/nouveau_connector.c   |  35 +++---
 drivers/gpu/drm/radeon/Kconfig                |   9 +-
 drivers/gpu/drm/renesas/shmobile/Kconfig      |   2 +-
 drivers/gpu/drm/solomon/Kconfig               |   2 +-
 drivers/gpu/drm/tilcdc/Kconfig                |   2 +-
 drivers/gpu/drm/tiny/Kconfig                  |  14 +--
 drivers/gpu/drm/xe/Kconfig                    |   8 +-
 drivers/platform/loongarch/Kconfig            |   2 +-
 drivers/platform/x86/Kconfig                  |   4 +-
 drivers/staging/olpc_dcon/Kconfig             |   2 +-
 drivers/usb/misc/Kconfig                      |   2 +-
 drivers/video/fbdev/core/Kconfig              |   2 +-
 include/drm/drm_connector.h                   |   6 +
 include/drm/drm_edid.h                        |   1 +
 30 files changed, 165 insertions(+), 123 deletions(-)