]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: only set DP subconnector type on DP and eDP connectors
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Dec 2020 17:11:36 +0000 (12:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:03:08 +0000 (15:03 -0500)
commit05211e7fbbf042dd7f51155ebe64eb2ecacb25cb
treedeb6e5c7b6ed97d304fc7c76f97a98e4bf5f2e93
parente75a9db3c59e923f54a36870a7cc339afe9e611b
drm/amdgpu: only set DP subconnector type on DP and eDP connectors

Fixes a crash in drm_object_property_set_value() because the property
is not set for internal DP ports that connect to a bridge chips
(e.g., DP to VGA or DP to LVDS).

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=210739
Fixes: 65bf2cf95d3ade ("drm/amdgpu: utilize subconnector property for DP through atombios")
Tested-By: Kris Karas <bugs-a17@moonlit-rail.com>
Cc: Oleg Vasilev <oleg.vasilev@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.10.x
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c