summaryrefslogtreecommitdiff
path: root/src/sna/kgem.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-11-08 20:14:50 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-11-08 20:14:50 +0000
commit54b3adc23fbfdc5f6983bca2bcd01de2404911cf (patch)
tree3a12f6f627b3ee19f70d036a1bc73170d0625389 /src/sna/kgem.h
parent7fc15ec3975e3a99a6bbb869c07172cdee6e5f63 (diff)
sna: Simply retire-requests
Since we have the ring member available in the request structure, let's use it directly rather than attempt a more fragile method of recomputing it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r--src/sna/kgem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index 9e6db0f2..6cf877cf 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -104,7 +104,7 @@ struct kgem_request {
struct list list;
struct kgem_bo *bo;
struct list buffers;
- int ring;
+ unsigned ring;
};
enum {