Searched refs:mip_level (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmw_surface_cache.h | 58 vmw_surface_get_mip_size(struct drm_vmw_size base_level, u32 mip_level) in vmw_surface_get_mip_size() argument 61 .width = max_t(u32, base_level.width >> mip_level, 1), in vmw_surface_get_mip_size() 62 .height = max_t(u32, base_level.height >> mip_level, 1), in vmw_surface_get_mip_size() 63 .depth = max_t(u32, base_level.depth >> mip_level, 1) in vmw_surface_get_mip_size() 363 u32 mip_level, u32 layer) in vmw_surface_subres() argument 365 return cache->num_mip_levels * layer + mip_level; in vmw_surface_subres()
|