From 854026c90782d16b9b6271338ed9aade53a30e78 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Fri, 5 May 2006 09:11:05 +0000 Subject: [PATCH] disabled some invalid register programming, and fixed output1 to see a CRT. This might fix use of the driver on some systems outthere.. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17331 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/via/engine/info.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/add-ons/accelerants/via/engine/info.c b/src/add-ons/accelerants/via/engine/info.c index fe1ed29954..0c419c0824 100644 --- a/src/add-ons/accelerants/via/engine/info.c +++ b/src/add-ons/accelerants/via/engine/info.c @@ -1,7 +1,7 @@ /* Read initialisation information from card */ /* some bits are hacks, where PINS is not known */ /* Author: - Rudolf Cornelissen 7/2003-7/2005 + Rudolf Cornelissen 7/2003-5/2006 */ #define MODULE_BIT 0x00002000 @@ -625,11 +625,17 @@ static void setup_output_matrix() } else /* singlehead cards */ { +//temporary (VIA) + si->ps.tmds1_active = false; + si->ps.tmds2_active = false; + + /* presetup by the card's BIOS, we can't change this (lack of info) */ if (si->ps.tmds1_active) si->ps.monitors |= 0x01; /* detect analog monitor (confirmed working OK on all cards): */ /* sense analog monitor on primary connector */ - if (eng_dac_crt_connected()) si->ps.monitors |= 0x02; +//temporary (VIA) + if (1/*eng_dac_crt_connected()*/) si->ps.monitors |= 0x02; //fixme? add TVout (only, so no CRT connected) support... }