From: Ben Skeggs Date: Tue, 30 Mar 2010 06:01:41 +0000 (+1000) Subject: drm/nv50: another dodgy DP hack X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e60a9df3a8e60e5f16707897467b36702e8c4cdc;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- 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;