Home
last modified time | relevance | path

Searched refs:num_mip_levels (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h146 u32 num_mip_levels, in vmw_surface_get_serialized_size()
153 for (mip = 0; mip < num_mip_levels; mip++) { in vmw_surface_get_serialized_size()
170 u32 num_mip_levels, in vmw_surface_get_serialized_size_extended()
177 num_mip_levels, in vmw_surface_get_serialized_size_extended()
320 * @mip: Array of mipmap level information. Valid size is @num_mip_levels.
325 * @num_mip_levels: Valid size of the @mip array. Number of mipmap levels in
335 u32 num_mip_levels; member
342 * @sub_resource: Surface subresource. Defined as layer * num_mip_levels +
365 return cache->num_mip_levels * layer + mip_level; in vmw_surface_subres()
372 * @num_mip_levels
144 vmw_surface_get_serialized_size(SVGA3dSurfaceFormat format, struct drm_vmw_size base_level_size, u32 num_mip_levels, u32 num_layers) vmw_surface_get_serialized_size() argument
168 vmw_surface_get_serialized_size_extended(SVGA3dSurfaceFormat format, struct drm_vmw_size base_level_size, u32 num_mip_levels, u32 num_layers, u32 num_samples) vmw_surface_get_serialized_size_extended() argument
378 vmw_surface_setup_cache(const struct drm_vmw_size *size, SVGA3dSurfaceFormat format, u32 num_mip_levels, u32 num_layers, u32 num_samples, struct vmw_surface_cache *cache) vmw_surface_setup_cache() argument
[all...]
H A Dvmwgfx_surface.c1675 u32 mip = loc_start->sub_resource % cache->num_mip_levels; in vmw_subres_dirty_add()
1720 u32 mip = subres % cache->num_mip_levels; in vmw_subres_dirty_full()
1886 cmd2->body.image.face = i / cache->num_mip_levels; in vmw_surface_dirty_sync()
1888 (cache->num_mip_levels * cmd2->body.image.face); in vmw_surface_dirty_sync()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga3d_surfacedefs.h1275 u32 num_mip_levels, in svga3dsurface_get_serialized_size()
1282 for (mip = 0; mip < num_mip_levels; mip++) { in svga3dsurface_get_serialized_size()
1299 u32 num_mip_levels, in svga3dsurface_get_serialized_size_extended()
1306 num_mip_levels, in svga3dsurface_get_serialized_size_extended()
1449 * @mip: Array of mipmap level information. Valid size is @num_mip_levels.
1454 * @num_mip_levels: Valid size of the @mip array. Number of mipmap levels in
1464 u32 num_mip_levels; member
1471 * @sub_resource: Surface subresource. Defined as layer * num_mip_levels +
1494 return cache->num_mip_levels * layer + mip_level; in svga3dsurface_subres()
1501 * @num_mip_levels
1273 svga3dsurface_get_serialized_size(SVGA3dSurfaceFormat format, surf_size_struct base_level_size, u32 num_mip_levels, u32 num_layers) svga3dsurface_get_serialized_size() argument
1297 svga3dsurface_get_serialized_size_extended(SVGA3dSurfaceFormat format, surf_size_struct base_level_size, u32 num_mip_levels, u32 num_layers, u32 num_samples) svga3dsurface_get_serialized_size_extended() argument
1507 svga3dsurface_setup_cache(const struct drm_vmw_size *size, SVGA3dSurfaceFormat format, u32 num_mip_levels, u32 num_layers, u32 num_samples, struct svga3dsurface_cache *cache) svga3dsurface_setup_cache() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c1728 u32 mip = loc_start->sub_resource % cache->num_mip_levels; in vmw_subres_dirty_add()
1773 u32 mip = subres % cache->num_mip_levels; in vmw_subres_dirty_full()
1940 cmd2->body.image.face = i / cache->num_mip_levels; in vmw_surface_dirty_sync()
1942 (cache->num_mip_levels * cmd2->body.image.face); in vmw_surface_dirty_sync()
H A Dvmwgfx_drv.h1301 uint32_t num_mip_levels,

Completed in 11 milliseconds