drm/nouveau/dp: fix support for dpms
authorBen Skeggs <bskeggs@redhat.com>
Fri, 30 May 2014 15:48:06 +0000 (01:48 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 11 Jun 2014 06:11:10 +0000 (16:11 +1000)
commit4874322e78d505d38c8d4481118af5c9f0e8306d
treee5e995df297cb2ad3b15723afd546237b30b2a7f
parent8894f4919bc43f821775db2cfff4b917871b2102
drm/nouveau/dp: fix support for dpms

SOR_PWR has no effect to power-off DP links, unlike other SOR protocols.

Instead, on the source side, we cut power to the lanes after having put
the sink into D3.  Link training takes care of everything required to
bring it back again.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nv50_display.c