]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Fix null pointer on analog detection
authorHarry Wentland <harry.wentland@amd.com>
Wed, 29 Oct 2025 14:28:14 +0000 (10:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Nov 2025 16:52:46 +0000 (11:52 -0500)
commit5e55fd9bc6bd5098ba963f6b3118549f2621bca5
treec88d711a49fb14a3bdaca71c55af83cbb620d2bc
parent812b727364f166e9e4529a56c33707a9cf15e651
drm/amd/display: Fix null pointer on analog detection

Check if we have an amdgpu_dm_connector->dc_sink first before
adding common modes for analog outputs. If we don't have a
sink yet we can safely skip this.

Fixes: 70181ad96ec2 ("drm/amd/display: Add common modes to analog displays without EDID")
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c