]> 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)
commit6a000cc582cf34650d61266a0651f54c3dcfb125
tree239f95b5bd66ce6fd9ca59809712d52f99bc62c5
parent160c4345de995ad1c593ecda14d471cc8782cdca
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: 569de45cb14d ("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