]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
authorYingjie Wang <wangyingjie55@126.com>
Fri, 9 Apr 2021 00:57:20 +0000 (17:57 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Apr 2021 21:19:22 +0000 (17:19 -0400)
commit9dbb54000e118e99d3a5e34baae588a56f21ab9b
tree239f95b5bd66ce6fd9ca59809712d52f99bc62c5
parenta720645d2f8059e13fb59a683d4e3dbf637a70f4
drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()

In dm_dp_mst_detect(), We should check whether or not @connector
has been unregistered from userspace. If the connector is unregistered,
we should return disconnected status.

Fixes: 2b1146294221 ("drm/amd/dc: Add dc display driver (v2)")
Signed-off-by: Yingjie Wang <wangyingjie55@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c