Home
last modified time | relevance | path

Searched refs:descriptors_per_page (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_dmablit.c70 unsigned cur_descriptor_page = num_desc / vsg->descriptors_per_page; in via_unmap_blit_from_device()
71 unsigned descriptor_this_page = num_desc % vsg->descriptors_per_page; in via_unmap_blit_from_device()
79 descriptor_this_page = vsg->descriptors_per_page - 1; in via_unmap_blit_from_device()
145 if (++num_descriptors_this_page >= vsg->descriptors_per_page) { in via_map_blit_for_device()
268 vsg->descriptors_per_page = PAGE_SIZE / sizeof(drm_via_descriptor_t); in via_alloc_desc_pages()
269 vsg->num_desc_pages = (vsg->num_desc + vsg->descriptors_per_page - 1) / in via_alloc_desc_pages()
270 vsg->descriptors_per_page; in via_alloc_desc_pages()
Dvia_dmablit.h50 unsigned int descriptors_per_page; member