[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240126184639.8187-1-mario.limonciello@amd.com>
Date: Fri, 26 Jan 2024 12:46:37 -0600
From: Mario Limonciello <mario.limonciello@....com>
To: <amd-gfx@...ts.freedesktop.org>, Alex Deucher <alexander.deucher@....com>,
Harry Wentland <harry.wentland@....com>, "Rafael J . Wysocki"
<rafael@...nel.org>, Hans de Goede <hdegoede@...hat.com>
CC: "open list:ACPI" <linux-acpi@...r.kernel.org>, open list
<linux-kernel@...r.kernel.org>, "open list:DRM DRIVERS"
<dri-devel@...ts.freedesktop.org>, Melissa Wen <mwen@...lia.com>, "Mark
Pearson" <mpearson-lenovo@...ebb.ca>, Mario Limonciello
<mario.limonciello@....com>
Subject: [PATCH 0/2] Fetch EDID from ACPI _DDC method if available
Some laptops ship an EDID in the BIOS encoded in the _DDC method that
differs than the EDID directly on the laptop panel for $REASONS.
This is the EDID that is used by the AMD Windows driver, and so sometimes
different results are found in different operating systems.
This series changes it so that when an eDP panel is found the BIOS
is checked first for an EDID and that used as a preference if found.
Mario Limonciello (2):
ACPI: video: Handle fetching EDID that is longer than 256 bytes
drm/amd: Fetch the EDID from _DDC if available for eDP
drivers/acpi/acpi_video.c | 23 +++++++++-----
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 30 +++++++++++++++++++
.../gpu/drm/amd/amdgpu/amdgpu_connectors.c | 5 ++++
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++++-
.../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 7 +++--
6 files changed, 65 insertions(+), 10 deletions(-)
--
2.34.1
Powered by blists - more mailing lists