Home
last modified time | relevance | path

Searched refs:num_sizes (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c202 return srf->metadata.num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
216 return sizeof(struct vmw_surface_define) + srf->metadata.num_sizes * in vmw_surface_define_size()
265 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
285 for (i = 0; i < srf->metadata.num_sizes; ++i, cmd_size++, src_size++) { in vmw_surface_define_encode()
311 for (i = 0; i < srf->metadata.num_sizes; ++i) { in vmw_surface_dma_encode()
749 uint32_t num_sizes; in vmw_surface_define_ioctl() local
757 num_sizes = 0; in vmw_surface_define_ioctl()
761 num_sizes += req->mip_levels[i]; in vmw_surface_define_ioctl()
764 if (num_sizes > DRM_VMW_MAX_SURFACE_FACES * DRM_VMW_MAX_MIP_LEVELS || in vmw_surface_define_ioctl()
765 num_sizes == 0) in vmw_surface_define_ioctl()
[all …]
Dvmwgfx_kms.c912 surface->metadata.num_sizes != 1 || in vmw_kms_new_framebuffer_surface()
1180 metadata.num_sizes = 1; in vmw_create_bo_proxy()
Dvmwgfx_drv.h256 u32 num_sizes; member
Dvmwgfx_stdu.c1097 metadata.num_sizes = 1; in vmw_stdu_primary_plane_prepare_fb()
/kernel/linux/linux-5.10/drivers/char/agp/
Dintel-gtt.c678 int num_sizes = ARRAY_SIZE(intel_fake_agp_sizes); in intel_fake_agp_fetch_size() local
684 for (i = 0; i < num_sizes; i++) { in intel_fake_agp_fetch_size()