Browse Source

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>
Ben Skeggs 15 năm trước cách đây
mục cha
commit
e60a9df3a8
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      drivers/gpu/drm/nouveau/nv50_sor.c

+ 3 - 0
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;