diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-02 10:01:07 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-02 10:01:07 +0000 |
commit | 29ec36ff063472e0744af99aa81ed5ad8e291a36 (patch) | |
tree | bc88c04f139f7df1237415bc3a78d3db49f77db2 /src/sna | |
parent | f039ccf9587eb07528034c3247a6e700c87a5500 (diff) |
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>
Diffstat (limited to 'src/sna')
-rw-r--r-- | src/sna/kgem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index e4ff6a7d..5776a4fe 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -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 */ |