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)
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>

No differences found