sna: Tighten has_coherent_ptr() assertion
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Oct 2013 08:33:52 +0000 (09:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Oct 2013 08:33:52 +0000 (09:33 +0100)
commit21577742e75165cb2bf34b1cab5bb2c3794c5b49
tree0ca3bf3dc45685095fa3b40408068c782543fcce
parent2987a6d5662fb3337f1400a51d016e1c5e21c063
sna: Tighten has_coherent_ptr() assertion

Pass along the flags for read/write direction so that we know whether or
not we expect the gpu bo to be in the CPU write domain.

Reported-by: Pavel Ondračka <pavel.ondracka@email.cz>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70436
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c