sna: Guard the replace-with-xor fallback path
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2013 15:57:56 +0000 (15:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2013 15:57:56 +0000 (15:57 +0000)
commit6cb84c8d55f2f7cbb087a479c1dbc8bc58e97183
tree2d4ebfa3308a331efe95cca818b78259ff25845e
parent5da329735ca79517a326aee002685bf33e8db861
sna: Guard the replace-with-xor fallback path

Before attempting to map the destination for uploading into after a
failure to use the BLT, we need to recheck that it is indeed mappable.

References: https://bugs.freedesktop.org/show_bug.cgi?id=70924
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/kgem.h
src/sna/sna_io.c