[Intel-gfx] Fencing on the i915
Chris Wilson
chris at chris-wilson.co.uk
Mon Feb 9 13:14:26 CET 2009
Sorry, I left WATCH_FENCE enabled in this patch:
>From fe6754f6bbdf64de2c0bfab6638b5592ddabc48f Mon Sep 17 00:00:00 2001
From: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri, 6 Feb 2009 12:41:21 +0000
Subject: [PATCH] drm/i915: Add WATCH_FENCE
Add a few printk()s to aide debugging fence management and iterate over
the fences and known buffers to check that the registers are consistent.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
[snip]
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index a70bf77..6953254 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -71,6 +71,7 @@ enum pipe {
#define WATCH_RELOC 0
#define WATCH_INACTIVE 0
#define WATCH_PWRITE 0
+#define WATCH_FENCE 1
Obviously that should be 0. :-(
-ickle
More information about the Intel-gfx
mailing list