diff --git a/drivers/gpu/drm/nouveau/nv50_sor.c b/drivers/gpu/drm/nouveau/nv50_sor.c index c25c593..e4e33d0 100644 --- a/drivers/gpu/drm/nouveau/nv50_sor.c +++ b/drivers/gpu/drm/nouveau/nv50_sor.c @@ -334,6 +334,14 @@ nv50_sor_create(struct drm_connector *connector, struct dcb_entry *entry) if (!nv_encoder->dp.mc_unknown) nv_encoder->dp.mc_unknown = 5; + + NV_INFO(dev, "DP config: 0x%08x/0x%08x 0x%08x 0x%08x\n", + tmp, nv_rd32(dev, 0x610798 + (or * 8)), + nv_rd32(dev, NV50_SOR_DP_CTRL(or, link)), + nv_rd32(dev, NV50_SOR_DP_UNK128(or, link))); + nv_encoder->dp.mc_unknown = 2; + nv_encoder->dp.unk0 = 0x000000c8; + nv_encoder->dp.unk1 = 0x010c2c08; } drm_mode_connector_attach_encoder(connector, encoder);