updated pre-NV10 card init code for a small 3D rendering speed increase on TNT2 and TNT2-M64 cardtypes: gain is some 1-4% depending on colorspace and exact card-type. This completes the 2D driver's 3D related init programming sweep. Next up should be adding cardID's and adding a new nv.setting to force screen aspect. Bumped version to 0.77.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17000 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* NV Acceleration functions */
|
||||
|
||||
/* Author:
|
||||
Rudolf Cornelissen 8/2003-3/2006.
|
||||
Rudolf Cornelissen 8/2003-4/2006.
|
||||
|
||||
This code was possible thanks to:
|
||||
- the Linux XFree86 NV driver,
|
||||
@@ -542,8 +542,12 @@ status_t nv_acc_init_dma()
|
||||
ACCW(DEBUG0, 0x000001ff);
|
||||
|
||||
/* init some function blocks */
|
||||
/* DEBUG0, b20 and b21 should be high, this has a big influence on
|
||||
* 3D rendering speed! (on all cards, confirmed) */
|
||||
ACCW(DEBUG0, 0x1230c000);
|
||||
ACCW(DEBUG1, 0x72111101);
|
||||
/* DEBUG1, b19 = 1 increases 3D rendering speed on TNT2 (M64) a bit,
|
||||
* TNT1 rendering speed stays the same (all cards confirmed) */
|
||||
ACCW(DEBUG1, 0x72191101);
|
||||
ACCW(DEBUG2, 0x11d5f071);
|
||||
ACCW(DEBUG3, 0x0004ff31);
|
||||
/* init OP methods */
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* Authors:
|
||||
Mark Watson 12/1999,
|
||||
Apsed,
|
||||
Rudolf Cornelissen 10/2002-3/2006
|
||||
Rudolf Cornelissen 10/2002-4/2006
|
||||
*/
|
||||
|
||||
#define MODULE_BIT 0x00008000
|
||||
@@ -91,7 +91,7 @@ status_t nv_general_powerup()
|
||||
{
|
||||
status_t status;
|
||||
|
||||
LOG(1,("POWERUP: Haiku nVidia Accelerant 0.76 running.\n"));
|
||||
LOG(1,("POWERUP: Haiku nVidia Accelerant 0.77 running.\n"));
|
||||
|
||||
/* log VBLANK INT usability status */
|
||||
if (si->ps.int_assigned)
|
||||
|
||||
Reference in New Issue
Block a user