From 86d4aecc83487981424b59adbd0e51c88185f5d1 Mon Sep 17 00:00:00 2001 From: Stuart Bennett Date: Thu, 12 Feb 2009 14:17:40 +0000 Subject: [PATCH] 20006: dual link for tmds --- src/nv_bios.c | 2 +- src/nv_crtc.c | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/nv_bios.c b/src/nv_bios.c index 37a41a4..8facd23 100644 --- a/src/nv_bios.c +++ b/src/nv_bios.c @@ -3070,7 +3070,7 @@ static void link_head_and_output(ScrnInfoPtr pScrn, struct dcb_entry *dcbent, in nv_write_tmds(pNv, dcbent->or, 0, 0x04, tmds04); - if (dcbent->type == OUTPUT_LVDS && pNv->VBIOS.fp.dual_link) +// if (dcbent->type == OUTPUT_LVDS && pNv->VBIOS.fp.dual_link) nv_write_tmds(pNv, dcbent->or, 1, 0x04, tmds04 ^ 0x08); } diff --git a/src/nv_crtc.c b/src/nv_crtc.c index 87ee69b..9cb9e1c 100644 --- a/src/nv_crtc.c +++ b/src/nv_crtc.c @@ -837,6 +837,7 @@ nv_crtc_mode_set_fp_regs(xf86CrtcPtr crtc, DisplayModePtr mode, DisplayModePtr a if (is_lvds && pNv->VBIOS.fp.dual_link) regp->fp_control |= (8 << 28); + regp->fp_control = 0x91100111; /* Use the generic value, and enable x-scaling, y-scaling, and the TMDS enable bit */ regp->debug_0 = 0x01101191; -- 1.5.4.4