drm/nouveau/disp/dp: ensure sink is powered up before attempting link training

commit 95664e66fa upstream.

This can happen under some annoying circumstances, and is a quick fix
until more substantial changes can be made.

Fixed eDP mode changes on (at least) the Lenovo P50.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ben Skeggs 2016-02-18 08:14:19 +10:00 • committed by Greg Kroah-Hartman
commit 2168fe3d7b
2 changed files with 16 additions and 0 deletions