diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-07-08 12:33:34 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-07-08 12:33:34 -0400 |
commit | 2d86ec4ddb1fb83be95ed9cdcbabf4d568a6d7b6 (patch) | |
tree | 21cb7930ab5efdb12cd5f3dff094b32a3fce6acb /src/radeon_exa_render.c | |
parent | a68afc2a80b8581cc3d67e9b5a95a10b0d4ead0e (diff) |
Fix the build for the !XF86DRM_MODE case
compile tested only.
Diffstat (limited to 'src/radeon_exa_render.c')
-rw-r--r-- | src/radeon_exa_render.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c index 10144a60..73f8ee94 100644 --- a/src/radeon_exa_render.c +++ b/src/radeon_exa_render.c @@ -2116,7 +2116,11 @@ static void FUNC_NAME(RadeonCompositeTile)(ScrnInfoPtr pScrn, srcX, srcY, maskX, maskY,dstX, dstY, w, h); */ #ifdef ACCEL_CP - if (info->cs && info->cs->cdw > 15 * 1024) { + if (info->cs +#ifdef XF86DRM_MODE + && info->cs->cdw > 15 * 1024 +#endif + ) { FUNC_NAME(RadeonDoneComposite)(info->accel_state->dst_pix); radeon_cs_flush_indirect(pScrn); info->accel_state->exa->PrepareComposite(info->accel_state->composite_op, |