diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-07-08 19:18:02 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-07-08 19:18:02 +0200 |
commit | 9645838c57f6b40837fdce23ce7f9faefb3d9966 (patch) | |
tree | 1f15d4bb51c6740d0da738a2f8a6c9dde277cdd0 /src/radeon_exa_render.c | |
parent | 2d86ec4ddb1fb83be95ed9cdcbabf4d568a6d7b6 (diff) |
Further non-KMS fixes / cleanups.
Only compile tested.
Diffstat (limited to 'src/radeon_exa_render.c')
-rw-r--r-- | src/radeon_exa_render.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c index 73f8ee94..641ea1f2 100644 --- a/src/radeon_exa_render.c +++ b/src/radeon_exa_render.c @@ -2115,12 +2115,8 @@ static void FUNC_NAME(RadeonCompositeTile)(ScrnInfoPtr pScrn, /* ErrorF("RadeonComposite (%d,%d) (%d,%d) (%d,%d) (%d,%d)\n", srcX, srcY, maskX, maskY,dstX, dstY, w, h); */ -#ifdef ACCEL_CP - if (info->cs -#ifdef XF86DRM_MODE - && info->cs->cdw > 15 * 1024 -#endif - ) { +#if defined(ACCEL_CP) && defined(XF86DRM_MODE) + if (info->cs && CS_FULL(info->cs)) { FUNC_NAME(RadeonDoneComposite)(info->accel_state->dst_pix); radeon_cs_flush_indirect(pScrn); info->accel_state->exa->PrepareComposite(info->accel_state->composite_op, |