diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-04 18:11:12 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-04 18:11:12 +0000 |
commit | 3c31a9fc210221ba8e7922bec80c15ec39cab7bc (patch) | |
tree | 0c280f41743c4338b515de27b3ba9b765729e4db /src/sna/kgem.h | |
parent | b5b3cfb0ad1cc5e66c99035f526946bf41011e13 (diff) |
sna: Embed the pre-allocation of the static request into the device
So that in the cache where we are driving multiple independent screens
each having their own device, we do not share the global reserved
request in the event of an allocation failure.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r-- | src/sna/kgem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h index 72f8cb3a..4819dd6f 100644 --- a/src/sna/kgem.h +++ b/src/sna/kgem.h @@ -138,6 +138,7 @@ struct kgem { struct list requests[2]; struct kgem_request *next_request; + struct kgem_request static_request; struct { struct list inactive[NUM_CACHE_BUCKETS]; |