fixed driver assuming enabling AGP succeeded if it did not block it itself. This was a problem if AGP was disabled totally via the busmanager settings file. Driver now only notes down AGP is running if the busmanager 'reported' this succeeded. This fixes the long standing trouble (ever since DMA is in the driver, so since version 0.53) that user kraton was having. He stumbled on this problem since on his system 'default' AGP mode seems to result in trouble, so he tried blocking it via agp.settings..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17132 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1df23ecc52
commit
c02dfedfc1
@ -128,8 +128,8 @@ status_t nv_agp_setup(bool enable_agp)
|
||||
/* ..but we do need to select the right speed scheme fetched from our card */
|
||||
if (nv_ai.interface.agp_stat & AGP_rate_rev) nca.cmd |= AGP_rate_rev;
|
||||
ioctl(fd, NV_ENABLE_AGP, &nca, sizeof(nca));
|
||||
/* tell the engine in may use AGP transfers */
|
||||
si->engine.agp_mode = true;
|
||||
/* tell the engine in may use AGP transfers if AGP is up and running */
|
||||
if (nca.cmd & AGP_enable) si->engine.agp_mode = true;
|
||||
}
|
||||
|
||||
/* list mode now activated,
|
||||
|
@ -91,7 +91,7 @@ status_t nv_general_powerup()
|
||||
{
|
||||
status_t status;
|
||||
|
||||
LOG(1,("POWERUP: Haiku nVidia Accelerant 0.80 running.\n"));
|
||||
LOG(1,("POWERUP: Haiku nVidia Accelerant 0.81 running.\n"));
|
||||
|
||||
/* log VBLANK INT usability status */
|
||||
if (si->ps.int_assigned)
|
||||
|
Loading…
x
Reference in New Issue
Block a user