Commit d2b0d820 authored by Felix Kühling's avatar Felix Kühling

Fixed PCI ShadowStatus initialization for the case that ShadowStatus is

    explicitly enabled in the configuration file.
parent 8bbfca79
......@@ -670,7 +670,11 @@ static Bool SAVAGEDRIMapInit( ScreenPtr pScreen )
psav->ShadowStatus = TRUE;
xf86DrvMsg( pScreen->myNum, X_INFO,
"[drm] Enabling ShadowStatus for DRI.\n" );
}
/* If shadow status is manually or automatically enabled, use a
* page in system memory. */
if ( psav->ShadowStatus ) {
pSAVAGEDRIServer->status.size = 4096; /* 1 page */
if ( drmAddMap( psav->drmFD, 0, pSAVAGEDRIServer->status.size,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment