fixed RAM access errors on coldstarted G450s. If this introduces trouble on other G450s or G550s please file a bug report. Bumped version to 0.32.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33822 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2009-10-28 21:58:53 +00:00
parent 8b20f2e4ae
commit f532a74ba9
2 changed files with 15 additions and 5 deletions
@@ -1,7 +1,7 @@
/* Authors: /* Authors:
Mark Watson 12/1999, Mark Watson 12/1999,
Apsed, Apsed,
Rudolf Cornelissen 10/2002-5/2006 Rudolf Cornelissen 10/2002-10/2009
*/ */
#define MODULE_BIT 0x00008000 #define MODULE_BIT 0x00008000
@@ -54,7 +54,7 @@ status_t gx00_general_powerup()
status_t status; status_t status;
uint8 card_class; uint8 card_class;
LOG(1,("POWERUP: Haiku Matrox Accelerant 0.31 running.\n")); LOG(1,("POWERUP: Haiku Matrox Accelerant 0.32 running.\n"));
/* log VBLANK INT usability status */ /* log VBLANK INT usability status */
if (si->ps.int_assigned) if (si->ps.int_assigned)
@@ -720,8 +720,14 @@ status_t g450_general_powerup()
} }
/* create positive flank to generate memory reset */ /* create positive flank to generate memory reset */
ACCW(MACCESS, (maccess & 0xffff7fff)); //fixme: G550 is still noted as a G450, fix upon trouble..
ACCW(MACCESS, (maccess | 0x00008000)); if (si->ps.card_type == G450) {
ACCW(MACCESS, (maccess & 0xffff3fff));
ACCW(MACCESS, (maccess | 0x0000c000));
} else { //G550
ACCW(MACCESS, (maccess & 0xffff7fff));
ACCW(MACCESS, (maccess | 0x00008000));
}
snooze(250); snooze(250);
/* start memory refresh */ /* start memory refresh */
@@ -4,7 +4,7 @@
</head> </head>
<body> <body>
<p><h2>Changes done for each driverversion:</h2></p> <p><h2>Changes done for each driverversion:</h2></p>
<p><h1>head (svn 0.31, Rudolf)</h1></p> <p><h1>head (svn 0.32, Rudolf)</h1></p>
<ul> <ul>
<li><strong>G100-G200:</strong> <li><strong>G100-G200:</strong>
<ul> <ul>
@@ -16,6 +16,10 @@
<ul> <ul>
<li>The overlay engine code now respects the B_OVERLAY_COLOR_KEY flag instead of forcing keying ON. <li>The overlay engine code now respects the B_OVERLAY_COLOR_KEY flag instead of forcing keying ON.
</ul> </ul>
<li><strong>G450:</strong>
<ul>
<li>Coldstarting now works on more cards: fixed RAM reset trouble so RAM access now works (no more ghosting on the screen).
</ul>
<li><strong>General:</strong> <li><strong>General:</strong>
<ul> <ul>
<li>Hook GET_ACCELERANT_DEVICE_INFO now returns more detailed info about the card in use; <li>Hook GET_ACCELERANT_DEVICE_INFO now returns more detailed info about the card in use;