/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_resource.c | 188 res->mod_info = isl_drm_modifier_get_info(modifier); in crocus_resource_configure_main() 190 tiling_flags = 1 << res->mod_info->tiling; in crocus_resource_configure_main() 194 res->mod_info = isl_drm_modifier_get_info(modifier); in crocus_resource_configure_main() 195 tiling_flags = 1 << res->mod_info->tiling; in crocus_resource_configure_main() 440 assert(!res->mod_info || res->mod_info->aux_usage == ISL_AUX_USAGE_NONE); in crocus_resource_configure_aux() 442 const bool has_mcs = devinfo->ver >= 7 && !res->mod_info && in crocus_resource_configure_aux() 445 const bool has_hiz = devinfo->ver >= 6 && !res->mod_info && in crocus_resource_configure_aux() 450 ((devinfo->ver >= 7 && !res->mod_info && !INTEL_DEBUG(DEBUG_NO_CCS)) || in crocus_resource_configure_aux() 451 (res->mod_info && res->mod_info->aux_usage != ISL_AUX_USAGE_NONE)) && in crocus_resource_configure_aux() 458 if (res->mod_info && has_ccs) { in crocus_resource_configure_aux() [all …]
|
D | crocus_resource.h | 195 const struct isl_drm_modifier_info *mod_info; member 509 return res->base.b.next != NULL && res->mod_info && in crocus_resource_unfinished_aux_import() 510 res->mod_info->aux_usage != ISL_AUX_USAGE_NONE; in crocus_resource_unfinished_aux_import()
|
D | crocus_bufmgr.c | 1263 const struct isl_drm_modifier_info *mod_info = in crocus_bo_import_dmabuf() local 1265 if (mod_info) { in crocus_bo_import_dmabuf() 1266 bo->tiling_mode = isl_tiling_to_i915_tiling(mod_info->tiling); in crocus_bo_import_dmabuf()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_image.c | 114 const VkImageDrmFormatModifierListCreateInfoEXT *mod_info = in panvk_image_select_mod() local 121 assert(mod_info || drm_explicit_info); in panvk_image_select_mod() 125 if (mod_info) { in panvk_image_select_mod() 127 for (unsigned i = 0; i < mod_info->drmFormatModifierCount; i++) { in panvk_image_select_mod() 128 if (drm_is_afbc(mod_info->pDrmFormatModifiers[i]) && !noafbc) { in panvk_image_select_mod() 129 modifier = mod_info->pDrmFormatModifiers[i]; in panvk_image_select_mod()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_resource.c | 662 res->mod_info = isl_drm_modifier_get_info(modifier); in iris_resource_configure_main() 664 if (modifier != DRM_FORMAT_MOD_INVALID && res->mod_info == NULL) in iris_resource_configure_main() 669 if (res->mod_info != NULL) { in iris_resource_configure_main() 670 tiling_flags = 1 << res->mod_info->tiling; in iris_resource_configure_main() 685 if (res->mod_info && res->mod_info->aux_usage == ISL_AUX_USAGE_NONE) in iris_resource_configure_main() 800 assert(!res->mod_info); in iris_resource_configure_aux() 808 assert(!res->mod_info); in iris_resource_configure_aux() 823 if (res->mod_info) { in iris_resource_configure_aux() 824 res->aux.usage = res->mod_info->aux_usage; in iris_resource_configure_aux() 840 return !res->mod_info || res->mod_info->aux_usage == ISL_AUX_USAGE_NONE; in iris_resource_configure_aux() [all …]
|
D | iris_resolve.c | 870 if (res->mod_info && !res->mod_info->supports_clear_color) { in iris_resource_set_aux_state() 871 assert(res->mod_info->aux_usage != ISL_AUX_USAGE_NONE); in iris_resource_set_aux_state()
|
D | iris_resource.h | 168 const struct isl_drm_modifier_info *mod_info; member
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_image.c | 269 const VkImageDrmFormatModifierListCreateInfoEXT *mod_info = in create_image() local 275 assert(mod_info || explicit_mod_info); in create_image() 277 if (mod_info) { in create_image() 278 for (uint32_t i = 0; i < mod_info->drmFormatModifierCount; i++) { in create_image() 279 switch (mod_info->pDrmFormatModifiers[i]) { in create_image()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_image.c | 603 const VkImageDrmFormatModifierListCreateInfoEXT *mod_info = in tu_CreateImage() local 610 assert(mod_info || drm_explicit_info); in tu_CreateImage() 612 if (mod_info) { in tu_CreateImage() 614 for (unsigned i = 0; i < mod_info->drmFormatModifierCount; i++) { in tu_CreateImage() 615 if (mod_info->pDrmFormatModifiers[i] == DRM_FORMAT_MOD_QCOM_COMPRESSED) in tu_CreateImage()
|
/third_party/mesa3d/src/intel/isl/ |
D | isl.h | 2229 const struct isl_drm_modifier_info *mod_info = in isl_drm_modifier_get_default_aux_state() local 2232 if (!mod_info || mod_info->aux_usage == ISL_AUX_USAGE_NONE) in isl_drm_modifier_get_default_aux_state() 2235 assert(mod_info->aux_usage == ISL_AUX_USAGE_CCS_E || in isl_drm_modifier_get_default_aux_state() 2236 mod_info->aux_usage == ISL_AUX_USAGE_GFX12_CCS_E || in isl_drm_modifier_get_default_aux_state() 2237 mod_info->aux_usage == ISL_AUX_USAGE_MC); in isl_drm_modifier_get_default_aux_state() 2238 return mod_info->supports_clear_color ? ISL_AUX_STATE_COMPRESSED_CLEAR : in isl_drm_modifier_get_default_aux_state()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_image.c | 1636 const struct VkImageDrmFormatModifierExplicitCreateInfoEXT *mod_info, in radv_image_create_layout() argument 1648 assert(!mod_info || mod_info->drmFormatModifierPlaneCount >= image->plane_count); in radv_image_create_layout() 1673 if (create_info.bo_metadata && !mod_info && in radv_image_create_layout() 1681 !mod_info) in radv_image_create_layout() 1684 if (mod_info) { in radv_image_create_layout() 1685 if (mod_info->pPlaneLayouts[plane].rowPitch % image->planes[plane].surface.bpe || in radv_image_create_layout() 1686 !mod_info->pPlaneLayouts[plane].rowPitch) in radv_image_create_layout() 1689 offset = mod_info->pPlaneLayouts[plane].offset; in radv_image_create_layout() 1690 stride = mod_info->pPlaneLayouts[plane].rowPitch / image->planes[plane].surface.bpe; in radv_image_create_layout() 1703 if (plane_count == 1 && mod_info) { in radv_image_create_layout() [all …]
|
D | radv_formats.c | 1481 const VkPhysicalDeviceImageDrmFormatModifierInfoEXT *mod_info = in radv_get_image_format_properties() local 1492 mod_info->drmFormatModifier, &format_props); in radv_get_image_format_properties() 1658 if (mod_info) { in radv_get_image_format_properties() 1660 mod_info->drmFormatModifier); in radv_get_image_format_properties()
|
D | radv_private.h | 2707 const struct VkImageDrmFormatModifierExplicitCreateInfoEXT *mod_info,
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_drm.c | 372 VkPhysicalDeviceImageDrmFormatModifierInfoEXT mod_info = { in wsi_configure_native_image() local 399 __vk_append_struct(&format_info, &mod_info); in wsi_configure_native_image()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.c | 223 VkPhysicalDeviceImageDrmFormatModifierInfoEXT mod_info; in check_ici() local 225 mod_info.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT; in check_ici() 226 mod_info.pNext = info.pNext; in check_ici() 227 mod_info.drmFormatModifier = modifier; in check_ici() 228 mod_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in check_ici() 229 mod_info.queueFamilyIndexCount = 0; in check_ici() 230 info.pNext = &mod_info; in check_ici()
|
/third_party/mesa3d/docs/relnotes/ |
D | 22.0.0.rst | 3363 - iris: Convert some mod_info checks to asserts
|