summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-03-30 16:01:41 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-04-09 10:15:41 +1000
commite60a9df3a8e60e5f16707897467b36702e8c4cdc (patch)
tree0482649436dd6dd4659c53b08995cd32c6ec7342
parenta5acac66685397a73bed8638114262520565e41c (diff)
downloadlinux-e60a9df3a8e60e5f16707897467b36702e8c4cdc.tar.gz
linux-e60a9df3a8e60e5f16707897467b36702e8c4cdc.tar.bz2
linux-e60a9df3a8e60e5f16707897467b36702e8c4cdc.zip
drm/nv50: another dodgy DP hack
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>
-rw-r--r--drivers/gpu/drm/nouveau/nv50_sor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_sor.c b/drivers/gpu/drm/nouveau/nv50_sor.c
index e31ba312c2ff..0c68698f23df 100644
--- a/drivers/gpu/drm/nouveau/nv50_sor.c
+++ b/drivers/gpu/drm/nouveau/nv50_sor.c
@@ -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;