Home
last modified time | relevance | path

Searched refs:mod_info (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/drivers/iris/
Diris_resource.c493 res->mod_info = isl_drm_modifier_get_info(modifier); in iris_resource_configure_main()
495 if (modifier != DRM_FORMAT_MOD_INVALID && res->mod_info == NULL) in iris_resource_configure_main()
500 if (res->mod_info != NULL) { in iris_resource_configure_main()
501 tiling_flags = 1 << res->mod_info->tiling; in iris_resource_configure_main()
587 assert(!res->mod_info || in iris_resource_configure_aux()
588 res->mod_info->aux_usage == ISL_AUX_USAGE_NONE || in iris_resource_configure_aux()
589 res->mod_info->aux_usage == ISL_AUX_USAGE_CCS_E || in iris_resource_configure_aux()
590 res->mod_info->aux_usage == ISL_AUX_USAGE_GEN12_CCS_E || in iris_resource_configure_aux()
591 res->mod_info->aux_usage == ISL_AUX_USAGE_MC); in iris_resource_configure_aux()
593 const bool has_mcs = !res->mod_info && in iris_resource_configure_aux()
[all …]
Diris_resource.h174 const struct isl_drm_modifier_info *mod_info; member
476 return res->aux.bo == NULL && res->mod_info && in iris_resource_unfinished_aux_import()
477 res->mod_info->aux_usage != ISL_AUX_USAGE_NONE; in iris_resource_unfinished_aux_import()
Diris_resolve.c803 if (res->mod_info && !res->mod_info->supports_clear_color) { in iris_resource_set_aux_state()
804 assert(res->mod_info->aux_usage != ISL_AUX_USAGE_NONE); in iris_resource_set_aux_state()
Diris_bufmgr.c1444 const struct isl_drm_modifier_info *mod_info = in iris_bo_import_dmabuf() local
1446 if (mod_info) { in iris_bo_import_dmabuf()
1447 bo->tiling_mode = isl_tiling_to_i915_tiling(mod_info->tiling); in iris_bo_import_dmabuf()
/external/python/asn1crypto/tests/
D__init__.py41 mod_info = imp.find_module(mod_dir, [path])
42 return imp.load_module(mod, *mod_info)
/external/python/asn1crypto/dev/
D_import.py52 mod_info = imp.find_module(mod_dir, [path])
53 return imp.load_module(mod, *mod_info)
/external/mesa3d/src/intel/isl/
Disl.h1882 const struct isl_drm_modifier_info *mod_info = in isl_drm_modifier_get_default_aux_state() local
1885 if (!mod_info || mod_info->aux_usage == ISL_AUX_USAGE_NONE) in isl_drm_modifier_get_default_aux_state()
1888 assert(mod_info->aux_usage == ISL_AUX_USAGE_CCS_E || in isl_drm_modifier_get_default_aux_state()
1889 mod_info->aux_usage == ISL_AUX_USAGE_GEN12_CCS_E || in isl_drm_modifier_get_default_aux_state()
1890 mod_info->aux_usage == ISL_AUX_USAGE_MC); in isl_drm_modifier_get_default_aux_state()
1891 return mod_info->supports_clear_color ? ISL_AUX_STATE_COMPRESSED_CLEAR : in isl_drm_modifier_get_default_aux_state()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_mipmap_tree.c785 const struct isl_drm_modifier_info *mod_info = in intel_miptree_create_for_dri_image() local
789 mod_info ? mod_info->tiling : isl_tiling_from_i915_tiling(bo_tiling); in intel_miptree_create_for_dri_image()
827 if (mod_info && mod_info->aux_usage != ISL_AUX_USAGE_NONE) in intel_miptree_create_for_dri_image()
863 if (mod_info && mod_info->aux_usage != ISL_AUX_USAGE_NONE) { in intel_miptree_create_for_dri_image()
864 assert(mod_info->aux_usage == ISL_AUX_USAGE_CCS_E); in intel_miptree_create_for_dri_image()
866 mt->aux_usage = mod_info->aux_usage; in intel_miptree_create_for_dri_image()
872 allow_internal_aux || mod_info->supports_clear_color; in intel_miptree_create_for_dri_image()
2165 const struct isl_drm_modifier_info *mod_info = in intel_miptree_prepare_external() local
2168 if (mod_info && mod_info->aux_usage != ISL_AUX_USAGE_NONE) { in intel_miptree_prepare_external()
2172 assert(mod_info->aux_usage == ISL_AUX_USAGE_CCS_E); in intel_miptree_prepare_external()
[all …]
Dintel_screen.c751 const struct isl_drm_modifier_info *mod_info = in intel_create_image_common() local
769 .tiling_flags = (1 << mod_info->tiling)); in intel_create_image_common()
777 if (mod_info->aux_usage == ISL_AUX_USAGE_CCS_E) { in intel_create_image_common()
784 assert(mod_info->aux_usage == ISL_AUX_USAGE_NONE); in intel_create_image_common()
800 isl_tiling_to_i915_tiling(mod_info->tiling), in intel_create_image_common()
1108 const struct isl_drm_modifier_info *mod_info = in intel_create_image_from_fds_common() local
1110 uint32_t tiling = isl_tiling_to_i915_tiling(mod_info->tiling); in intel_create_image_from_fds_common()
1140 const struct isl_drm_modifier_info *mod_info = in intel_create_image_from_fds_common() local
1170 .tiling_flags = (1 << mod_info->tiling)); in intel_create_image_from_fds_common()
1182 if (mod_info->aux_usage == ISL_AUX_USAGE_CCS_E) { in intel_create_image_from_fds_common()
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_image.c508 const VkImageDrmFormatModifierListCreateInfoEXT *mod_info = in tu_CreateImage() local
515 assert(mod_info || drm_explicit_info); in tu_CreateImage()
517 if (mod_info) { in tu_CreateImage()
519 for (unsigned i = 0; i < mod_info->drmFormatModifierCount; i++) { in tu_CreateImage()
520 if (mod_info->pDrmFormatModifiers[i] == DRM_FORMAT_MOD_QCOM_COMPRESSED) in tu_CreateImage()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c277 const VkImageDrmFormatModifierListCreateInfoEXT *mod_info = in v3dv_CreateImage() local
280 assert(mod_info); in v3dv_CreateImage()
281 for (uint32_t i = 0; i < mod_info->drmFormatModifierCount; i++) { in v3dv_CreateImage()
282 switch (mod_info->pDrmFormatModifiers[i]) { in v3dv_CreateImage()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c195 VkPhysicalDeviceImageDrmFormatModifierInfoEXT mod_info = { in wsi_create_native_image() local
222 __vk_append_struct(&format_info, &mod_info); in wsi_create_native_image()
/external/mesa3d/src/intel/vulkan/
Danv_formats.c753 const struct isl_drm_modifier_info *mod_info = in get_wsi_format_modifier_properties_list() local
756 if (mod_info->aux_usage == ISL_AUX_USAGE_CCS_E && in get_wsi_format_modifier_properties_list()
762 if (mod_info->modifier == I915_FORMAT_MOD_Y_TILED_CCS && in get_wsi_format_modifier_properties_list()
Danv_image.c724 const VkImageDrmFormatModifierListCreateInfoEXT *mod_info = in anv_image_create() local
728 mod_info->drmFormatModifierCount, in anv_image_create()
729 mod_info->pDrmFormatModifiers); in anv_image_create()