summaryrefslogtreecommitdiff
path: root/tests/gem_stress.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-03-25 22:09:28 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2011-03-25 22:09:28 +0100
commitad515f817a7e669ec1b7596c88a97349094728e8 (patch)
tree1d90552a6ef07bf92ed60967da9840d775ec13c7 /tests/gem_stress.c
parentbfa6f5d94ffccfe00a6232e5adaf61d60c7cdde2 (diff)
Move gen5 blitter work-around to lib
Suggested by Chris Wilson to prevent utterly strange gpu hangs. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_stress.c')
-rw-r--r--tests/gem_stress.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/gem_stress.c b/tests/gem_stress.c
index 5aa6def8..e8d91880 100644
--- a/tests/gem_stress.c
+++ b/tests/gem_stress.c
@@ -166,13 +166,6 @@ static void keep_gpu_busy(void)
OUT_BATCH(src_pitch);
OUT_RELOC(busy_bo, I915_GEM_DOMAIN_RENDER, 0, 0);
ADVANCE_BATCH();
-
- if (IS_GEN5(devid)) {
- BEGIN_BATCH(2);
- OUT_BATCH(CMD_POLY_STIPPLE_OFFSET << 16);
- OUT_BATCH(0);
- ADVANCE_BATCH();
- }
}
static unsigned int copyfunc_seq = 0;
@@ -288,13 +281,6 @@ static void blitter_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned s
OUT_RELOC(src->bo, I915_GEM_DOMAIN_RENDER, 0, 0);
ADVANCE_BATCH();
- if (IS_GEN5(devid)) {
- BEGIN_BATCH(2);
- OUT_BATCH(CMD_POLY_STIPPLE_OFFSET << 16);
- OUT_BATCH(0);
- ADVANCE_BATCH();
- }
-
if (!(keep_gpu_busy_counter & 1) && !fence_storm)
keep_gpu_busy();