From 79ad98bd61db08b19ae23053ec4027f5c8449b19 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Thu, 17 Jun 2004 10:33:14 +0000 Subject: [PATCH] last update for AGP support for now: I need to make a detour first and create an AGP GART driver for BeOS. For now no AGP speed yet... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8020 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/nvidia/engine/nv_general.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/add-ons/accelerants/nvidia/engine/nv_general.c b/src/add-ons/accelerants/nvidia/engine/nv_general.c index 76415a3d3c..899222ee2e 100644 --- a/src/add-ons/accelerants/nvidia/engine/nv_general.c +++ b/src/add-ons/accelerants/nvidia/engine/nv_general.c @@ -1180,7 +1180,7 @@ static status_t nv_general_bios_to_powergraphics() /* ... and activate them. */ //fixme: only if specified by user in nv.settings!?! - //fixme: probably won't work if the MB glue chipset wasn't inited also + //fixme: create and contact AGP_GART kernel driver for activating mainboard! if (0) { LOG(4,("INIT: enabling AGP\n")); @@ -1243,7 +1243,9 @@ static status_t nv_general_bios_to_powergraphics() if (agp_stat & 0x00000200) agp_cmd |= 0x00000200; /* activate fast writes if supported */ - if (agp_stat & 0x00000010) agp_cmd |= 0x00000010; + //fixme: curious: while mainboard AGP should be disabled still ATM, + //activating this stops the card from working! (Thomas saw this also..) + //if (agp_stat & 0x00000010) agp_cmd |= 0x00000010; /* set request depth: using maximum */ agp_cmd |= (agp_stat & 0xff000000);