Lines Matching refs:pages
79 struct page **pages; in psb_gtt_insert() local
82 if (r->pages == NULL) { in psb_gtt_insert()
90 pages = r->pages; in psb_gtt_insert()
94 set_pages_array_wc(pages, r->npage); in psb_gtt_insert()
99 pte = psb_gtt_mask_pte(page_to_pfn(r->pages[i]), in psb_gtt_insert()
135 set_pages_array_wb(r->pages, r->npage); in psb_gtt_remove()
148 struct page **pages; in psb_gtt_attach_pages() local
150 WARN_ON(gt->pages); in psb_gtt_attach_pages()
152 pages = drm_gem_get_pages(>->gem); in psb_gtt_attach_pages()
153 if (IS_ERR(pages)) in psb_gtt_attach_pages()
154 return PTR_ERR(pages); in psb_gtt_attach_pages()
157 gt->pages = pages; in psb_gtt_attach_pages()
173 drm_gem_put_pages(>->gem, gt->pages, true, false); in psb_gtt_detach_pages()
174 gt->pages = NULL; in psb_gtt_detach_pages()
206 gt->pages, (gpu_base + gt->offset), in psb_gtt_pin()
510 if (range->pages) { in psb_gtt_restore()