diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-07-23 13:23:56 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-25 17:41:46 -0400 |
commit | 8155566a26b8d6c1dd914f06a0c652e4e2f2adf1 (patch) | |
tree | 1ac455690eca416ae7d6b7196502bf495ac13cbd /drivers/gpu/drm/radeon | |
parent | 629568d25fea8ece4f65073f039aeef4e240ab67 (diff) |
drm/amdgpu: properly handle vbios fake edid sizing
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>
Diffstat (limited to 'drivers/gpu/drm/radeon')
0 files changed, 0 insertions, 0 deletions