intel: Fix drm_intel_gem_bo_wait_rendering to wait for read-only usage too.
authorEric Anholt <eric@anholt.net>
Tue, 9 Nov 2010 21:51:45 +0000 (13:51 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 9 Nov 2010 21:57:19 +0000 (13:57 -0800)
commit877b2ce15b80975b4dac42657bdfb0a3da833e1c
tree2fb989c37e9bf3830ef36cedffadcb22b5abc296
parent49447a9b957047db2549b8a929e763bbd87808ba
intel: Fix drm_intel_gem_bo_wait_rendering to wait for read-only usage too.

Both the consumers of this API (sync objects and client throttling)
were expecting this behavior.  The kernel used to actually behave the
desired (but incorrect) way for us anyway, but that got fixed a while
back.
intel/intel_bufmgr_gem.c