sna: Only discard the inplace flag for LLC partial buffers
KGEM_BUFFER_WRITE_INPLACE is WRITE | INPLACE and so the typo prevented uploading of partial data through the pwrite paths. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
f039ccf958
commit
29ec36ff06
|
|
@ -3356,7 +3356,7 @@ struct kgem_bo *kgem_create_buffer(struct kgem *kgem,
|
|||
assert(size <= kgem->max_object_size);
|
||||
|
||||
if (kgem->has_llc)
|
||||
flags &= ~KGEM_BUFFER_WRITE_INPLACE;
|
||||
flags &= ~KGEM_BUFFER_INPLACE;
|
||||
|
||||
list_for_each_entry(bo, &kgem->active_partials, base.list) {
|
||||
/* We can reuse any write buffer which we can fit */
|
||||
|
|
|
|||
Loading…
Reference in New Issue