Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmr.c31 #define VMW_PPN_SIZE (sizeof(unsigned long)) macro
33 #define VMW_PPN_PER_REMAP ((31 * 1024) / VMW_PPN_SIZE)
48 uint32_t remap_size = VMW_PPN_SIZE * num_pages + (sizeof(remap_cmd) + sizeof(*cmd)) * remap_num; in vmw_gmr2_bind()
70 remap_cmd.flags = (VMW_PPN_SIZE > sizeof(*cmd)) ? in vmw_gmr2_bind()
84 if (VMW_PPN_SIZE <= 4) in vmw_gmr2_bind()
90 cmd += VMW_PPN_SIZE / sizeof(*cmd); in vmw_gmr2_bind()
Dvmwgfx_mob.c34 #define VMW_PPN_SIZE 8 macro
39 #define VMW_PPN_SIZE 4 macro
380 data_size *= VMW_PPN_SIZE; in vmw_mob_calculate_pt_pages()
433 #if (VMW_PPN_SIZE == 8)
461 unsigned long pt_size = num_data_pages * VMW_PPN_SIZE; in vmw_mob_build_pt()
473 for (i = 0; i < PAGE_SIZE / VMW_PPN_SIZE; ++i) { in vmw_mob_build_pt()