drm/nv50: another dodgy DP hack
authorBen Skeggs <bskeggs@redhat.com>
Tue, 30 Mar 2010 06:01:41 +0000 (16:01 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 9 Apr 2010 00:15:41 +0000 (10:15 +1000)
Allows *some* DP cards to keep working in some corner cases that most
people shouldn't hit.  I hit it all the time with development, so this
can stay for now.

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

index e31ba31..0c68698 100644 (file)
@@ -337,6 +337,9 @@ nv50_sor_create(struct drm_device *dev, struct dcb_entry *entry)
                default:
                        break;
                }
+
+               if (!nv_encoder->dp.mc_unknown)
+                       nv_encoder->dp.mc_unknown = 5;
        }
 
        return 0;