intel_bufmgr_fake: fix compile warning.
authorEric Anholt <eric@anholt.net>
Wed, 26 May 2010 03:11:23 +0000 (20:11 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 May 2010 19:10:39 +0000 (12:10 -0700)
intel/intel_bufmgr_fake.c

index 9914952..bc4a2ff 100644 (file)
@@ -299,10 +299,10 @@ _fence_wait_internal(drm_intel_bufmgr_fake *bufmgr_fake, int seq)
                return;
        }
 
-       DBG("wait 0x%08x\n", iw.irq_seq);
-
        iw.irq_seq = seq;
 
+       DBG("wait 0x%08x\n", iw.irq_seq);
+
        /* The kernel IRQ_WAIT implementation is all sorts of broken.
         * 1) It returns 1 to 0x7fffffff instead of using the full 32-bit
         *    unsigned range.