This is based on tests/gem_partial_pwrite_pread which aims to detect incoherency between CPU reads and writes to a bo whilst using it as a source and target for GPU writes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>