]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd: Sanity check the ACPI EDID
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 28 Nov 2024 03:25:00 +0000 (21:25 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2024 23:34:43 +0000 (18:34 -0500)
commit0f15cbc203712ccad363611eded31a2c700f3974
treef0b5004c6df0d5b7e29c8866125006ec88fcbe4f
parent689275140cb8e9f8ae59e545086fce51fb0b994a
drm/amd: Sanity check the ACPI EDID

An HP Pavilion Aero Laptop 13-be0xxx/8916 has an ACPI EDID, but using
it is causing corruption. It's got illogical values of not specifying
a digital interface. Sanity check the ACPI EDID to avoid tripping such
problems.

Suggested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reported-and-tested-by: Chris Bainbridge <chris.bainbridge@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3782
Fixes: c6a837088bed ("drm/amd/display: Fetch the EDID from _DDC if available for eDP")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Link: https://lore.kernel.org/r/20241128032500.2088288-1-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c