]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: OR in the COMMAND read domain for the batch buffer.
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 6 Jun 2009 08:45:58 +0000 (09:45 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 9 Jun 2009 20:54:05 +0000 (13:54 -0700)
commit5f26a2c7ad6eba97141e8372f3def282f934b169
tree355040e2e6eb308afc3b93e39f3b052b63c4b7bc
parent83d60795157c83389e6aaa0532d5e19afa976a24
drm/i915: OR in the COMMAND read domain for the batch buffer.

The batch buffer may be shared with another read buffer, so we should not
ignore any previously set domains, but just or in the command domain (and
check that the buffer is not writable).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c