added PLL reset, hopefully this makes the driver independant of vesa on more systems. Bumped version to 0.08.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13839 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -90,7 +90,7 @@ status_t eng_general_powerup()
|
|||||||
{
|
{
|
||||||
status_t status;
|
status_t status;
|
||||||
|
|
||||||
LOG(1,("POWERUP: Haiku VIA Accelerant 0.07 running.\n"));
|
LOG(1,("POWERUP: Haiku VIA Accelerant 0.08 running.\n"));
|
||||||
|
|
||||||
/* preset no laptop */
|
/* preset no laptop */
|
||||||
si->ps.laptop = false;
|
si->ps.laptop = false;
|
||||||
@@ -520,6 +520,11 @@ static status_t eng_general_bios_to_powergraphics()
|
|||||||
/* setup sequencer clocking mode */
|
/* setup sequencer clocking mode */
|
||||||
SEQW(CLKMODE, 0x21);
|
SEQW(CLKMODE, 0x21);
|
||||||
|
|
||||||
|
/* reset primary pixelPLL */
|
||||||
|
SEQW(PLL_RESET, ((SEQR(PLL_RESET)) | 0x02));
|
||||||
|
snooze(1000);
|
||||||
|
SEQW(PLL_RESET, ((SEQR(PLL_RESET)) & ~0x02));
|
||||||
|
|
||||||
/* setup AGP:
|
/* setup AGP:
|
||||||
* Note:
|
* Note:
|
||||||
* This may only be done when no transfers are in progress on the bus, so now
|
* This may only be done when no transfers are in progress on the bus, so now
|
||||||
|
|||||||
Reference in New Issue
Block a user