summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-01 11:48:51 -0700
committerKeith Packard <keithp@keithp.com>2009-05-01 11:54:42 -0700
commit66d1536a2ecc7a3d44da4c0dbe6c85aaa4e05791 (patch)
tree543d2a705689a0e02f6cb01b4c884caae581a721
parent1872869e6ffcc8e6cab820c508fe5404d7e8ff9c (diff)
Don't bother to enable VF statistics during 965 video playback
This was used while bringing up the driver to debug vertext fetches. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/i965_video.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i965_video.c b/src/i965_video.c
index 1d0ed74c..c25bcb37 100644
--- a/src/i965_video.c
+++ b/src/i965_video.c
@@ -772,8 +772,7 @@ i965_emit_video_setup(ScrnInfoPtr pScrn, drm_intel_bo *bind_bo, int n_src_surf)
/* brw_debug (pScrn, "after base address modify"); */
BEGIN_BATCH(38);
- /* Enable VF statistics */
- OUT_BATCH(BRW_3DSTATE_VF_STATISTICS | 1);
+ OUT_BATCH(MI_NOOP);
/* Pipe control */
OUT_BATCH(BRW_PIPE_CONTROL |