i915: Fix piglit fbo-nodepth-test on i830.
authorEric Anholt <eric@anholt.net>
Fri, 2 Mar 2012 21:09:51 +0000 (13:09 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 3 Mar 2012 01:16:11 +0000 (17:16 -0800)
commit4d4f2daefabdc4ca1dd778a9265475c65ef52936
treec1bfa1eedee239deed39d2dc57d2a9c3edae5e0b
parenta9073e34863977f24ade27c0f332fe044495a09b
i915: Fix piglit fbo-nodepth-test on i830.

This is a direct port of fc4fba52cf7e9616c70dd76b4d6bdba6582e157b from
i915, and fixes GPU hangs when running piglit.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41372
Reviewed-by: Eric Anholt <eric@anholt.net>
NOTE: This is a candidate for release branches.
src/mesa/drivers/dri/i915/i830_state.c
src/mesa/drivers/dri/i915/i830_vtbl.c