diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-05 09:24:02 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-05 09:24:02 +0000 |
commit | 14069f48645867a735ebdccb1e27a62364643c38 (patch) | |
tree | a5251edd3defb5dea26cb5364b4a3a9579015e27 /src/sna/kgem.h | |
parent | b82bfcb54a6af0d1ee17806ef94d9da504cad606 (diff) |
sna: Assume that future hardware only gets more flexible
E.g. that BLT can always write to cacheable memory, inflexible fences
are a thing of the past, etc.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r-- | src/sna/kgem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h index 63b3857b..6a3149af 100644 --- a/src/sna/kgem.h +++ b/src/sna/kgem.h @@ -207,7 +207,7 @@ struct kgem { #define KGEM_EXEC_SIZE(K) (int)(ARRAY_SIZE((K)->exec)-KGEM_EXEC_RESERVED) #define KGEM_RELOC_SIZE(K) (int)(ARRAY_SIZE((K)->reloc)-KGEM_RELOC_RESERVED) -void kgem_init(struct kgem *kgem, int fd, struct pci_device *dev, int gen); +void kgem_init(struct kgem *kgem, int fd, struct pci_device *dev, unsigned gen); void kgem_reset(struct kgem *kgem); struct kgem_bo *kgem_create_map(struct kgem *kgem, |