]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Check NULL before calling dac_load_detection
authorAlex Hung <alex.hung@amd.com>
Mon, 8 Dec 2025 19:11:43 +0000 (12:11 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jan 2026 22:24:16 +0000 (17:24 -0500)
commiteb236fb911ca0f4243124d8a285ec0453a99a8b4
tree3b32de02ea7ce891dc5c5572096670ed099a8ab6
parent0de604d0357d0d22cbf03af1077d174b641707b6
drm/amd/display: Check NULL before calling dac_load_detection

dac_load_detection can be NULL in some scenario, so checking it before
calling.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@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>
(cherry picked from commit 179176134b535246f0b368b30e8ecad50066f896)
drivers/gpu/drm/amd/display/dc/link/link_detection.c