summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-07-07 13:15:03 +1000
committerDave Airlie <airlied@redhat.com>2010-07-07 13:15:03 +1000
commit06691376b1ee963c711420edaf5a03eab6f5658f (patch)
tree89c591d3e6ea07e2c908c3fcc2b3244cfb2d5457 /src
parent052cf0169ae70d5448af6dc4db840b2fc195569b (diff)
fix build on non-kms
Diffstat (limited to 'src')
-rw-r--r--src/r6xx_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index 0edfe8bf..73f94627 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -1262,9 +1262,9 @@ void r600_finish_op(ScrnInfoPtr pScrn, int vtx_size)
void r600_vb_no_space(ScrnInfoPtr pScrn, int vert_size)
{
-#ifdef XF86DRM_MODE
RADEONInfoPtr info = RADEONPTR(pScrn);
struct radeon_accel_state *accel_state = info->accel_state;
+#ifdef XF86DRM_MODE
if (info->cs) {
if (accel_state->vb_bo) {