drm/nouveau/disp/sor/gf119: both links use the same training register
authorBen Skeggs <bskeggs@redhat.com>
Fri, 3 Jun 2016 04:37:40 +0000 (14:37 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 16:47:34 +0000 (09:47 -0700)
commit921daff213acae3cde81b880d5d9a484d9005839
treed49a956ef431d715f5e35dbba67b8802c0a4b965
parent7233bb86c334a1f09baff3a0bfc690078d332dd1
drm/nouveau/disp/sor/gf119: both links use the same training register

commit a8953c52b95167b5d21a66f0859751570271d834 upstream.

It appears that, for whatever reason, both link A and B use the same
register to control the training pattern.  It's a little odd, as the
GPUs before this (Tesla/Fermi1) have per-link registers, as do newer
GPUs (Maxwell).

Fixes the third DP output on NVS 510 (GK107).

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c