diff options
-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 635dd24c..d7458eca 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -811,7 +811,7 @@ void kgem_init(struct kgem *kgem, int fd, struct pci_device *dev, int gen) if (gen == 22) /* 865g cannot handle a batch spanning multiple pages */ kgem->batch_size = PAGE_SIZE / sizeof(uint32_t); - if (gen == 70) + if (gen >= 70 && gen < 80) kgem->batch_size = 16*1024; if (!kgem->has_relaxed_delta) kgem->batch_size = 4*1024; |