drm/amd/display: Fix refcount over dc_sink.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Wed, 7 Dec 2016 19:10:05 +0000 (14:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:04:38 +0000 (17:04 -0400)
commit922aa1e15e03ee2b32f50cd8a9d2c8376a19d22c
tree3a6bda92474a208ec6e2839c6526e65f72225485
parentf4c07f88cc30e77d2431b5bcf95a05e0ee6f3482
drm/amd/display: Fix refcount over dc_sink.

Retain a dc_sink pointer until a new physical pointer
arrives in case of new display connected.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c