]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: sink EDID data null check
authorRichard Chiang <Richard.Chiang@amd.com>
Wed, 3 Dec 2025 14:24:59 +0000 (22:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:59:58 +0000 (16:59 -0500)
commita8936060a01715552cac818019ca5e88201a3b7b
treed320f2c9a86b926511d49e4a3ae479323e2f7cb0
parent9862d2ac667a0e731aa75c17c1b146da809bc3ae
drm/amd/display: sink EDID data null check

[Why]
When sink EDID data pointer is NULL, it will cause an
unexpected error.

[How]
Check data pointer is not NULL first.

Reviewed-by: Yihan Zhu <yihan.zhu@amd.com>
Signed-off-by: Richard Chiang <Richard.Chiang@amd.com>
Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_detection.c