drm/nv50: disregard dac outputs in nv50_sor_dpms()
authorBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 02:30:35 +0000 (12:30 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 22:19:33 +0000 (08:19 +1000)
Fixes DVI+VGA on my 9400, and likely a lot of other configurations that
got broken by the previos DVI-over-DP fix.

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

index ecf1936b822416f5b6606a39054717af3a440846..c2fff543b06f4a1c5269e4fa8e7cfb4b69f475d2 100644 (file)
@@ -101,6 +101,7 @@ nv50_sor_dpms(struct drm_encoder *encoder, int mode)
                struct nouveau_encoder *nvenc = nouveau_encoder(enc);
 
                if (nvenc == nv_encoder ||
+                   nvenc->disconnect != nv50_sor_disconnect ||
                    nvenc->dcb->or != nv_encoder->dcb->or)
                        continue;