diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-07-10 20:07:44 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-08-25 09:22:35 -0400 |
commit | 5b2e095c31b88d8495a4f86e6cb46b49fa4acd65 (patch) | |
tree | 05897e9ca9fa3647566bd05d148a29551cb099f1 /src/radeon_dri.c | |
parent | 2145309230e36aee7758bd244deb1e72ada0c065 (diff) |
Move CP into a separate struct
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r-- | src/radeon_dri.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index a192811f..c0b809cd 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -364,7 +364,7 @@ static void RADEONEnterServer(ScreenPtr pScreen) pSAREAPriv = DRIGetSAREAPrivate(pScrn->pScreen); if (pSAREAPriv->ctxOwner != DRIGetContext(pScrn->pScreen)) { info->XInited3D = FALSE; - info->needCacheFlush = (info->ChipFamily >= CHIP_FAMILY_R300); + info->cp->needCacheFlush = (info->ChipFamily >= CHIP_FAMILY_R300); } #ifdef DAMAGE @@ -1106,7 +1106,7 @@ static int RADEONDRIKernelInit(RADEONInfoPtr info, ScreenPtr pScreen) drmInfo.cp_mode = RADEON_CSQ_PRIBM_INDBM; drmInfo.gart_size = info->gartSize*1024*1024; drmInfo.ring_size = info->ringSize*1024*1024; - drmInfo.usec_timeout = info->CPusecTimeout; + drmInfo.usec_timeout = info->cp->CPusecTimeout; drmInfo.fb_bpp = info->CurrentLayout.pixel_code; drmInfo.depth_bpp = (info->depthBits - 8) * 2; @@ -1897,7 +1897,7 @@ static void RADEONDRIRefreshArea(ScrnInfoPtr pScrn, RegionPtr pReg) RegionRec region; BoxPtr pbox; - if (!info->directRenderingInited || !info->CPStarted) + if (!info->directRenderingInited || !info->cp->CPStarted) return; /* Don't want to do this when no 3d is active and pages are |