Always call Radeon_InitCP ; it explicitly checks if acc_dma is set and skips
parts of the init sequence if that's not the case anyways. This correctly initializes the engine lock and a few other things, fixing the deadlock in ticket #2893. This also seems to result in somewhat improved graphics performance, at least on my X800. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28295 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
02e577f99a
commit
1ad73b3187
@ -382,13 +382,14 @@ status_t Radeon_FirstOpen( device_info *di )
|
||||
// fix AGP settings for IGP chipset
|
||||
Radeon_Set_AGP( di, !di->settings.force_pci ); // disable AGP
|
||||
|
||||
|
||||
// time to init Command Processor
|
||||
result = Radeon_InitCP( di );
|
||||
if( result != B_OK )
|
||||
goto err;
|
||||
|
||||
if ( di->acc_dma )
|
||||
{
|
||||
// time to init Command Processor
|
||||
result = Radeon_InitCP( di );
|
||||
if( result != B_OK )
|
||||
goto err;
|
||||
|
||||
result = Radeon_InitDMA( di );
|
||||
if( result != B_OK )
|
||||
goto err0;
|
||||
|
Loading…
Reference in New Issue
Block a user