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>
Mon, 5 Jan 2026 21:59:59 +0000 (16:59 -0500)
commit179176134b535246f0b368b30e8ecad50066f896
tree62d5e1ff12b2935b6378b6d2e067dd2f735da555
parent57c8690a84bec025a8bc22e5f867fd660c4a3e76
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>
drivers/gpu/drm/amd/display/dc/link/link_detection.c