diff options
author | Dave Airlie <airlied@linux.ie> | 2009-10-04 18:18:51 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-10-04 18:18:51 +1000 |
commit | 8404c37b2ff95aba31db97676f106ec2f30fda7f (patch) | |
tree | e734d323e6944cdca5d45efc25124a75d5269fc5 | |
parent | 9460ea864b12ec1fbd11c5d9a20bb5a4279d9d3d (diff) |
radeon: fix build without kms
-rw-r--r-- | src/radeon_exa_render.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c index 7bc8ef0..6753f00 100644 --- a/src/radeon_exa_render.c +++ b/src/radeon_exa_render.c @@ -2237,9 +2237,11 @@ static void FUNC_NAME(RadeonCompositeTile)(ScrnInfoPtr pScrn, if (!info->accel_state->draw_header) { BEGIN_RING(2); +#ifdef XF86DRM_MODE if (info->cs) info->accel_state->draw_header = info->cs->packets + info->cs->cdw; else +#endif info->accel_state->draw_header = __head; info->accel_state->num_vtx = 0; info->accel_state->vtx_count = vtx_count; |