Searched refs:desc_pages (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmr.c | 108 static int vmw_gmr_build_descriptors(struct list_head *desc_pages, in vmw_gmr_build_descriptors() argument 130 list_add_tail(&page->lru, desc_pages); in vmw_gmr_build_descriptors() 176 list_for_each_entry_safe(page, next, desc_pages, lru) { in vmw_gmr_build_descriptors() 183 static inline void vmw_gmr_free_descriptors(struct list_head *desc_pages) in vmw_gmr_free_descriptors() argument 187 list_for_each_entry_safe(page, next, desc_pages, lru) { in vmw_gmr_free_descriptors() 194 int gmr_id, struct list_head *desc_pages) in vmw_gmr_fire_descriptors() argument 198 if (unlikely(list_empty(desc_pages))) in vmw_gmr_fire_descriptors() 201 page = list_entry(desc_pages->next, struct page, lru); in vmw_gmr_fire_descriptors() 241 struct list_head desc_pages; in vmw_gmr_bind() local 254 INIT_LIST_HEAD(&desc_pages); in vmw_gmr_bind() [all …]
|
/drivers/gpu/drm/via/ |
D | via_dmablit.c | 69 drm_via_descriptor_t *desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device() 77 desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device() 115 desc_ptr = vsg->desc_pages[cur_descriptor_page]; in via_map_blit_for_device() 144 desc_ptr = vsg->desc_pages[++cur_descriptor_page]; in via_map_blit_for_device() 182 if (vsg->desc_pages[i] != NULL) in via_free_sg_info() 183 free_page((unsigned long)vsg->desc_pages[i]); in via_free_sg_info() 185 kfree(vsg->desc_pages); in via_free_sg_info() 275 if (NULL == (vsg->desc_pages = kcalloc(vsg->num_desc_pages, sizeof(void *), GFP_KERNEL))) in via_alloc_desc_pages() 280 if (NULL == (vsg->desc_pages[i] = in via_alloc_desc_pages()
|
D | via_dmablit.h | 43 struct _drm_via_descriptor **desc_pages; member
|