Lines Matching refs:gte
498 gen8_pte_t __iomem *gte;
508 gte = (gen8_pte_t __iomem *)ggtt->gsm;
509 gte += (vma_res->start - vma_res->guard) / I915_GTT_PAGE_SIZE;
510 end = gte + vma_res->guard / I915_GTT_PAGE_SIZE;
511 while (gte < end)
512 gen8_set_pte(gte++, vm->scratch[0]->encode);
516 gen8_set_pte(gte++, pte_encode | addr);
517 GEM_BUG_ON(gte > end);
520 while (gte < end)
521 gen8_set_pte(gte++, vm->scratch[0]->encode);
654 gen6_pte_t __iomem *gte;
659 gte = (gen6_pte_t __iomem *)ggtt->gsm;
660 gte += (vma_res->start - vma_res->guard) / I915_GTT_PAGE_SIZE;
662 end = gte + vma_res->guard / I915_GTT_PAGE_SIZE;
663 while (gte < end)
664 iowrite32(vm->scratch[0]->encode, gte++);
667 iowrite32(vm->pte_encode(addr, pat_index, flags), gte++);
668 GEM_BUG_ON(gte > end);
671 while (gte < end)
672 iowrite32(vm->scratch[0]->encode, gte++);