summaryrefslogtreecommitdiff
path: root/src/sna/kgem.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-21 12:47:21 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-21 12:51:37 +0100
commit8dcccd308222bcf1b96f2ee15842b4558ea5f29e (patch)
tree9fe8812ce60a36b1ebaefa5120125b0320d8da28 /src/sna/kgem.h
parent6acc9e6a6e1de2a11597c810e02f793774cef2dd (diff)
sna: s/vmap/snoop/ since we use the flag more generically
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r--src/sna/kgem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index ff592e0e..351aa32b 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -82,7 +82,7 @@ struct kgem_bo {
uint32_t dirty : 1;
uint32_t domain : 2;
uint32_t needs_flush : 1;
- uint32_t vmap : 1;
+ uint32_t snoop : 1;
uint32_t io : 1;
uint32_t flush : 1;
uint32_t scanout : 1;
@@ -124,7 +124,7 @@ struct kgem {
struct list large;
struct list active[NUM_CACHE_BUCKETS][3];
struct list inactive[NUM_CACHE_BUCKETS];
- struct list vmap;
+ struct list snoop;
struct list batch_buffers, active_buffers;
struct list requests;
struct kgem_request *next_request;
@@ -503,11 +503,11 @@ static inline bool kgem_bo_can_map(struct kgem *kgem, struct kgem_bo *bo)
return kgem_bo_size(bo) <= kgem->aperture_mappable / 4;
}
-static inline bool kgem_bo_is_vmap(struct kgem_bo *bo)
+static inline bool kgem_bo_is_snoop(struct kgem_bo *bo)
{
while (bo->proxy)
bo = bo->proxy;
- return bo->vmap;
+ return bo->snoop;
}
static inline bool kgem_bo_is_busy(struct kgem_bo *bo)