sna: Fix cut'n'paste DBG error
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Jun 2014 14:03:23 +0000 (15:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Jun 2014 15:39:02 +0000 (16:39 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_display.c

index 876884f..aeafeea 100644 (file)
@@ -4462,7 +4462,7 @@ static int do_page_flip(struct sna *sna, struct kgem_bo *bo,
                if (bo->pitch != crtc->bo->pitch || crtc_offset != crtc->offset) {
                        DBG(("%s: changing pitch (%d == %d) or offset (%x == %x)\n",
                             __FUNCTION__,
-                            flip_bo->pitch, crtc->bo->pitch,
+                            bo->pitch, crtc->bo->pitch,
                             crtc_offset, crtc->offset));
 fixup_flip:
                        if (sna_crtc_flip(sna, crtc)) {