]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Don't turn off DP sink when disconnected
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 14 Mar 2018 17:14:04 +0000 (18:14 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Mar 2018 15:38:40 +0000 (10:38 -0500)
commitc3dfdf6716f8934b7cb9a5826e7a9e0f53ddf097
tree2f6f5914a560175928b02460e49c02c3eea1aec5
parentc10a69fc2d4f4f8afa0c9184de36228435daad6d
drm/radeon: 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/radeon/radeon_connectors.c