Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c742 if (req->mip_levels[i] > DRM_VMW_MAX_MIP_LEVELS) in vmw_surface_define_ioctl()
744 num_sizes += req->mip_levels[i]; in vmw_surface_define_ioctl()
773 memcpy(metadata->mip_levels, req->mip_levels, in vmw_surface_define_ioctl()
774 sizeof(metadata->mip_levels)); in vmw_surface_define_ioctl()
802 for (j = 0; j < metadata->mip_levels[i]; ++j) { in vmw_surface_define_ioctl()
1007 memcpy(rep->mip_levels, srf->metadata.mip_levels, in vmw_surface_reference_ioctl()
1008 sizeof(srf->metadata.mip_levels)); in vmw_surface_reference_ioctl()
1480 metadata.mip_levels[0] = req->base.mip_levels; in vmw_gb_surface_define_internal()
1630 rep->creq.base.mip_levels = metadata->mip_levels[0]; in vmw_gb_surface_reference_internal()
1922 num_mip = metadata->mip_levels[0]; in vmw_surface_dirty_alloc()
[all …]
H A Dvmwgfx_drv.h252 u32 mip_levels[DRM_VMW_MAX_SURFACE_FACES]; member
H A Dvmwgfx_kms.c1317 if (unlikely(surface->metadata.mip_levels[0] != 1 || in vmw_kms_new_framebuffer_surface()
1464 metadata.mip_levels[0] = 1; in vmw_create_bo_proxy()
H A Dvmwgfx_stdu.c1028 metadata.mip_levels[0] = 1; in vmw_stdu_primary_plane_prepare_fb()
/openbmc/linux/include/uapi/drm/
H A Dvmwgfx_drm.h209 __u32 mip_levels[DRM_VMW_MAX_SURFACE_FACES]; member
940 __u32 mip_levels; member