drm/nv50/disp: prevent false output detection on the original nv50
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 23 Aug 2013 17:43:42 +0000 (18:43 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 4 Sep 2013 03:47:02 +0000 (13:47 +1000)
commit5087f51da805f53cba7366f70d596e7bde2a5486
treee73d10135fb529dfb5cfc863b697e3c692e60f99
parentc865534f1e5b5b4ef03f4a55cf4730f4b70dd75b
drm/nv50/disp: prevent false output detection on the original nv50

Commit ea9197cc323839ef3d5280c0453b2c622caa6bc7 effectively enabled the
use of an improved DAC detection code, but introduced a regression on
the original nv50 chipset, causing a ghost monitor to be detected.

v2 (Ben Skeggs): the offending line was likely a thinko, removed it for
all chipsets (tested nv50 and nve6 to cover entire range) and added
some additional debugging.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67382
Tested-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Cc: <stable@vger.kernel.org> # 3.9+
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/disp/dacnv50.c