drm/nouveau/disp/dp: ensure sink is powered up before attempting link training
authorBen Skeggs <bskeggs@redhat.com>
Wed, 17 Feb 2016 22:14:19 +0000 (08:14 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 25 Feb 2016 03:15:43 +0000 (13:15 +1000)
commit95664e66fad964c3dd7945d6edfb1d0931844664
treec9cd7c14e92ab4102fb631c10f35c215826c8458
parent870571a5698b2e9d0f4d2e5c6245967b582aab45
drm/nouveau/disp/dp: ensure sink is powered up before attempting link training

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nvkm/engine/disp/dport.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/dport.h