]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/dce: Don't turn off DP sink when disconnected
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 9 Mar 2018 17:26:18 +0000 (18:26 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 20:40:00 +0000 (15:40 -0500)
commitc98eb9e2c6fd53fa62ef721f885e78e13aa50b37
tree65daa824148bb0a450d08802d1b13fd7b10e7d87
parentc92952e677231f3726ca8a35ce0a2210d47cb407
drm/amdgpu/dce: Don't turn off DP sink when disconnected

Turning off the sink in this case causes various issues, because
userspace expects it to stay on until it turns it off explicitly.

Instead, turn the sink off and back on when a display is connected
again. This dance seems necessary for link training to work correctly.

Bugzilla: https://bugs.freedesktop.org/105308
Cc: stable@vger.kernel.org
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c