kernel_samsung_a53x/drivers/gpu/drm/amd
Alex Deucher 83535625d4 drm/amdgpu: properly handle vbios fake edid sizing
[ Upstream commit 8155566a26b8d6c1dd914f06a0c652e4e2f2adf1 ]

The comment in the vbios structure says:
// = 128 means EDID length is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128

This fake edid struct has not been used in a long time, so I'm
not sure if there were actually any boards out there with a non-128 byte
EDID, but align the code with the comment.

Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Reported-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lists.freedesktop.org/archives/amd-gfx/2024-June/109964.html
Fixes: d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:21 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: properly handle vbios fake edid sizing 2024-11-23 23:21:21 +01:00
amdkfd drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device 2024-11-23 23:20:57 +01:00
display drm/amd/display: Skip wbscl_set_scaler_filter if filter is null 2024-11-23 23:20:58 +01:00
include drm/amdgpu: Replace one-element array with flexible-array member 2024-11-23 23:21:21 +01:00
pm drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr 2024-11-23 23:20:59 +01:00