aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2025-04-04 14:34:52 +0000
committerAlex Deucher <[email protected]>2025-04-22 20:48:44 +0000
commit870bea21fdf88f45c94c0a3dbb0e3cc1b219680f (patch)
tree154413345caaa77f6b29e0d6e72070bb4260a193 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: Allow P2P access through XGMI (diff)
downloadkernel-870bea21fdf88f45c94c0a3dbb0e3cc1b219680f.tar.gz
kernel-870bea21fdf88f45c94c0a3dbb0e3cc1b219680f.zip
drm/amd/display: Fix ACPI edid parsing on some Lenovo systems
[Why] The ACPI EDID in the BIOS of a Lenovo laptop includes 3 blocks, but dm_helpers_probe_acpi_edid() has a start that is 'char'. The 3rd block index starts after 255, so it can't be indexed properly. This leads to problems with the display when the EDID is parsed. [How] Change the variable type to 'short' so that larger values can be indexed. Cc: Renjith Pananchikkal <[email protected]> Reported-by: Mark Pearson <[email protected]> Suggested-by: David Ober <[email protected]> Fixes: c6a837088bed ("drm/amd/display: Fetch the EDID from _DDC if available for eDP") Reviewed-by: Alex Hung <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Zaeem Mohamed <[email protected]> Tested-by: Mark Broadworth <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit a918bb4a90d423ced2976a794f2724c362c1f063) Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions