Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmr.c32 #define VMW_PPN_SIZE (sizeof(unsigned long)) macro
34 #define VMW_PPN_PER_REMAP ((31 * 1024) / VMW_PPN_SIZE)
49 uint32_t remap_size = VMW_PPN_SIZE * num_pages + (sizeof(remap_cmd) + sizeof(*cmd)) * remap_num; in vmw_gmr2_bind()
71 remap_cmd.flags = (VMW_PPN_SIZE > sizeof(*cmd)) ? in vmw_gmr2_bind()
85 if (VMW_PPN_SIZE <= 4) in vmw_gmr2_bind()
91 cmd += VMW_PPN_SIZE / sizeof(*cmd); in vmw_gmr2_bind()
Dvmwgfx_mob.c39 #define VMW_PPN_SIZE 8 macro
44 #define VMW_PPN_SIZE 4 macro
375 data_size *= VMW_PPN_SIZE; in vmw_mob_calculate_pt_pages()
427 #if (VMW_PPN_SIZE == 8)
455 unsigned long pt_size = num_data_pages * VMW_PPN_SIZE; in vmw_mob_build_pt()
467 for (i = 0; i < PAGE_SIZE / VMW_PPN_SIZE; ++i) { in vmw_mob_build_pt()