forcing PCI mode before coldstart exec: NV28 starts to show signs of life now... This might fix coldstart trouble on some cards outthere.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9342 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bf25ef8f47
commit
c1a1413c4d
@ -262,6 +262,12 @@ static status_t coldstart_card(uint8* rom, uint16 init1, uint16 init2, uint16 in
|
||||
nv_crtc2_cursor_hide();
|
||||
}
|
||||
|
||||
/* make sure AGP mode is OFF (confirmed NV28 getting into trouble otherwise!) */
|
||||
/* note:
|
||||
* this _must_ be done _after_ the screens where shut-off as no
|
||||
* (memory) transactions may be in progress during this command. */
|
||||
CFGW(AGPCMD, 0x00000000);
|
||||
|
||||
/* execute BIOS coldstart script(s) */
|
||||
if (init1 || init2)
|
||||
{
|
||||
@ -338,6 +344,12 @@ static status_t coldstart_card_516_up(uint8* rom, PinsTables tabs, uint16 ram_ta
|
||||
/* set timer denominator to 3 (in b0-15) */
|
||||
// ACCW(PT_DENOMINATR, 0x00000003);
|
||||
|
||||
/* make sure AGP mode is OFF (confirmed NV28 getting into trouble otherwise!) */
|
||||
/* note:
|
||||
* this _must_ be done _after_ the screens where shut-off as no
|
||||
* (memory) transactions may be in progress during this command. */
|
||||
CFGW(AGPCMD, 0x00000000);
|
||||
|
||||
/* execute all BIOS coldstart script(s) */
|
||||
if (tabs.InitScriptTablePtr)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user