]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i915: Don't attempt to short-circuit object_wait_rendering by checking domains.
authorOwen Taylor <otaylor@redhat.com>
Mon, 3 Nov 2008 22:38:17 +0000 (14:38 -0800)
committerDave Airlie <airlied@linux.ie>
Tue, 11 Nov 2008 07:43:26 +0000 (17:43 +1000)
commit6a47baa6ce7e6fb5fed8d1fd0af36a96a4ad133f
tree7ad2e9ab0495856bc315bbf9640416ee1f70323b
parentad42ca8f4490de06462aee234ea0083cbd8b46aa
i915: Don't attempt to short-circuit object_wait_rendering by checking domains.

This could return early when reading after writing a buffer, if somebody
had already put it on the flushing list (write domains are 0, but still
active), leading to glReadPixels failure.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/i915_gem.c