Home
last modified time | relevance | path

Searched refs:aux_usage (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/intel/isl/
Disl_surface_state.c227 s.DepthStencilResource = info->aux_usage == ISL_AUX_USAGE_HIZ_CCS_WT || in isl_genX()
228 info->aux_usage == ISL_AUX_USAGE_STC_CCS; in isl_genX()
497 assert(info->aux_usage == ISL_AUX_USAGE_NONE); in isl_genX()
525 if (info->aux_usage != ISL_AUX_USAGE_NONE) { in isl_genX()
528 assert(info->aux_usage == ISL_AUX_USAGE_MCS || in isl_genX()
529 info->aux_usage == ISL_AUX_USAGE_CCS_E || in isl_genX()
530 info->aux_usage == ISL_AUX_USAGE_GFX12_CCS_E || in isl_genX()
531 info->aux_usage == ISL_AUX_USAGE_MC || in isl_genX()
532 info->aux_usage == ISL_AUX_USAGE_HIZ_CCS_WT || in isl_genX()
533 info->aux_usage == ISL_AUX_USAGE_MCS_CCS || in isl_genX()
[all …]
Disl_drm.c100 .aux_usage = ISL_AUX_USAGE_CCS_E,
107 .aux_usage = ISL_AUX_USAGE_GFX12_CCS_E,
114 .aux_usage = ISL_AUX_USAGE_MC,
121 .aux_usage = ISL_AUX_USAGE_GFX12_CCS_E,
133 .aux_usage = ISL_AUX_USAGE_GFX12_CCS_E,
140 .aux_usage = ISL_AUX_USAGE_MC,
147 .aux_usage = ISL_AUX_USAGE_GFX12_CCS_E,
Disl.h1416 enum isl_aux_usage aux_usage; member
1648 enum isl_aux_usage aux_usage; member
2201 return isl_drm_modifier_get_info(modifier)->aux_usage != ISL_AUX_USAGE_NONE; in isl_drm_modifier_has_aux()
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()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resolve.c141 enum isl_aux_usage aux_usage = in resolve_image_views() local
147 aux_usage, false); in resolve_image_views()
239 enum isl_aux_usage aux_usage = in iris_predraw_resolve_framebuffer() local
244 if (ice->state.draw_aux_usage[i] != aux_usage) { in iris_predraw_resolve_framebuffer()
245 ice->state.draw_aux_usage[i] = aux_usage; in iris_predraw_resolve_framebuffer()
254 aux_usage); in iris_predraw_resolve_framebuffer()
256 iris_cache_flush_for_render(batch, res->bo, aux_usage); in iris_predraw_resolve_framebuffer()
318 enum isl_aux_usage aux_usage = ice->state.draw_aux_usage[i]; in iris_postdraw_update_resolve_tracking() local
326 aux_usage); in iris_postdraw_update_resolve_tracking()
334 enum isl_aux_usage aux_usage) in iris_cache_flush_for_render() argument
[all …]
Diris_resource.h390 enum isl_aux_usage aux_usage,
418 enum isl_aux_usage aux_usage);
509 enum isl_aux_usage aux_usage);
513 enum isl_aux_usage aux_usage);
Diris_clear.c342 enum isl_aux_usage aux_usage = in clear_color() local
346 aux_usage); in clear_color()
351 p_res, aux_usage, level, true); in clear_color()
373 box->z, box->depth, aux_usage); in clear_color()
559 const enum isl_aux_usage aux_usage = in clear_depth_stencil() local
563 aux_usage); in clear_depth_stencil()
566 &z_res->base.b, aux_usage, level, true); in clear_depth_stencil()
600 z_surf.aux_usage); in clear_depth_stencil()
Diris_resource.c225 isl_drm_modifier_get_info(modifier)->aux_usage == ISL_AUX_USAGE_MC; in is_modifier_external_only()
446 enum isl_aux_usage aux_usage) in iris_resource_alloc_flags() argument
474 if (screen->devinfo.verx10 >= 125 && isl_aux_usage_has_ccs(aux_usage)) { in iris_resource_alloc_flags()
685 if (res->mod_info && res->mod_info->aux_usage == ISL_AUX_USAGE_NONE) in iris_resource_configure_main()
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()
1068 assert(!isl_aux_usage_has_fast_clears(res->mod_info->aux_usage)); in iris_resource_finish_aux_import()
1071 assert(!isl_aux_usage_has_fast_clears(res->mod_info->aux_usage)); in iris_resource_finish_aux_import()
1074 assert(res->mod_info->aux_usage == ISL_AUX_USAGE_NONE); in iris_resource_finish_aux_import()
1519 mod ? mod->aux_usage : ISL_AUX_USAGE_NONE, in iris_flush_resource()
[all …]
Diris_blit.c236 enum isl_aux_usage aux_usage, in iris_blorp_surf_for_resource() argument
254 .aux_usage = aux_usage, in iris_blorp_surf_for_resource()
257 if (aux_usage != ISL_AUX_USAGE_NONE) { in iris_blorp_surf_for_resource()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resolve.c281 enum isl_aux_usage aux_usage = in crocus_predraw_resolve_framebuffer() local
286 if (ice->state.draw_aux_usage[i] != aux_usage) { in crocus_predraw_resolve_framebuffer()
287 ice->state.draw_aux_usage[i] = aux_usage; in crocus_predraw_resolve_framebuffer()
295 aux_usage); in crocus_predraw_resolve_framebuffer()
298 aux_usage); in crocus_predraw_resolve_framebuffer()
373 enum isl_aux_usage aux_usage = ice->state.draw_aux_usage[i]; in crocus_postdraw_update_resolve_tracking() local
376 aux_usage); in crocus_postdraw_update_resolve_tracking()
384 aux_usage); in crocus_postdraw_update_resolve_tracking()
446 format_aux_tuple(enum isl_format format, enum isl_aux_usage aux_usage) in format_aux_tuple() argument
448 return (void *)(uintptr_t)((uint32_t)format << 8 | aux_usage); in format_aux_tuple()
[all …]
Dcrocus_resource.h418 enum isl_aux_usage aux_usage,
446 enum isl_aux_usage aux_usage);
510 res->mod_info->aux_usage != ISL_AUX_USAGE_NONE; in crocus_resource_unfinished_aux_import()
537 enum isl_aux_usage aux_usage);
541 enum isl_aux_usage aux_usage);
Dcrocus_clear.c363 enum isl_aux_usage aux_usage = in clear_color() local
367 box->z, box->depth, aux_usage); in clear_color()
371 p_res, aux_usage, level, true); in clear_color()
391 box->z, box->depth, aux_usage); in clear_color()
588 const enum isl_aux_usage aux_usage = in clear_depth_stencil() local
592 aux_usage); in clear_depth_stencil()
594 &z_surf, &z_res->base.b, aux_usage, in clear_depth_stencil()
624 box->z, box->depth, z_surf.aux_usage); in clear_depth_stencil()
Dcrocus_blit.c275 enum isl_aux_usage aux_usage, in crocus_blorp_surf_for_resource() argument
283 if (isl_aux_usage_has_hiz(aux_usage) && in crocus_blorp_surf_for_resource()
285 aux_usage = ISL_AUX_USAGE_NONE; in crocus_blorp_surf_for_resource()
295 .aux_usage = aux_usage, in crocus_blorp_surf_for_resource()
298 if (aux_usage != ISL_AUX_USAGE_NONE) { in crocus_blorp_surf_for_resource()
Dcrocus_resource.c440 assert(!res->mod_info || res->mod_info->aux_usage == ISL_AUX_USAGE_NONE); in crocus_resource_configure_aux()
451 (res->mod_info && res->mod_info->aux_usage != ISL_AUX_USAGE_NONE)) && in crocus_resource_configure_aux()
459 res->aux.usage = res->mod_info->aux_usage; in crocus_resource_configure_aux()
478 return !res->mod_info || res->mod_info->aux_usage == ISL_AUX_USAGE_NONE; in crocus_resource_configure_aux()
526 !res->mod_info || res->mod_info->aux_usage == res->aux.usage ? in crocus_resource_configure_aux()
871 if (res->mod_info->aux_usage != ISL_AUX_USAGE_NONE) { in crocus_resource_from_handle()
945 mod ? mod->aux_usage : ISL_AUX_USAGE_NONE, in crocus_flush_resource()
955 res->mod_info && res->mod_info->aux_usage != ISL_AUX_USAGE_NONE; in crocus_resource_disable_aux_on_first_query()
982 res->mod_info && res->mod_info->aux_usage != ISL_AUX_USAGE_NONE; in crocus_resource_get_param()
1052 res->mod_info && res->mod_info->aux_usage != ISL_AUX_USAGE_NONE; in crocus_resource_get_handle()
[all …]
Dcrocus_context.h793 enum isl_aux_usage aux_usage,
955 enum isl_aux_usage aux_usage);
959 enum isl_aux_usage aux_usage);
Dcrocus_blorp.c296 params->dst.aux_usage); in crocus_blorp_exec()
397 params->dst.aux_usage); in crocus_blorp_exec()
/third_party/mesa3d/src/intel/vulkan/
Danv_image.c381 if (!isl_aux_usage_has_fast_clears(image->planes[plane].aux_usage)) in can_fast_clear_with_non_zero_color()
392 image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E) in can_fast_clear_with_non_zero_color()
649 assert(image->planes[plane].aux_usage != ISL_AUX_USAGE_NONE && in add_aux_state_tracking_buffer()
661 if (image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E) { in add_aux_state_tracking_buffer()
762 image->planes[plane].aux_usage = ISL_AUX_USAGE_HIZ; in add_aux_surface_if_supported()
775 image->planes[plane].aux_usage = ISL_AUX_USAGE_HIZ_CCS_WT; in add_aux_surface_if_supported()
778 image->planes[plane].aux_usage = ISL_AUX_USAGE_HIZ_CCS; in add_aux_surface_if_supported()
787 if (image->planes[plane].aux_usage == ISL_AUX_USAGE_HIZ_CCS_WT) in add_aux_surface_if_supported()
799 image->planes[plane].aux_usage = ISL_AUX_USAGE_STC_CCS; in add_aux_surface_if_supported()
836 image->planes[plane].aux_usage = ISL_AUX_USAGE_CCS_E; in add_aux_surface_if_supported()
[all …]
Danv_blorp.c207 enum isl_aux_usage aux_usage, in get_blorp_surf_for_anv_image() argument
214 aux_usage = anv_layout_to_aux_usage(&device->info, image, in get_blorp_surf_for_anv_image()
235 if (aux_usage != ISL_AUX_USAGE_NONE) { in get_blorp_surf_for_anv_image()
240 blorp_surf->aux_usage = aux_usage; in get_blorp_surf_for_anv_image()
357 dst_surf.aux_usage, dst_level, in copy_image()
393 dst_surf.aux_usage, dst_level, in copy_image()
548 aspect, dst->surf.aux_usage, in copy_buffer_to_image()
739 dst.aux_usage, in blit_image()
1043 surf.aux_usage, level, in anv_CmdClearColorImage()
1519 assert(surf.aux_usage == ISL_AUX_USAGE_NONE); in anv_image_copy_to_shadow()
[all …]
Danv_formats.c793 if (isl_mod_info->aux_usage != ISL_AUX_USAGE_NONE) { in anv_get_image_format_features2()
798 if (isl_mod_info->aux_usage == ISL_AUX_USAGE_CCS_E && in anv_get_image_format_features2()
803 if (isl_mod_info->aux_usage != ISL_AUX_USAGE_NONE) { in anv_get_image_format_features2()
895 if (isl_mod_info->aux_usage != ISL_AUX_USAGE_NONE) in get_drm_format_modifier_properties_list()
929 if (isl_mod_info->aux_usage != ISL_AUX_USAGE_NONE) in get_drm_format_modifier_properties_list_2()
1119 if (isl_mod_info->aux_usage == ISL_AUX_USAGE_CCS_E && in anv_get_image_format_properties()
1222 isl_mod_info->aux_usage != ISL_AUX_USAGE_NONE) { in anv_get_image_format_properties()
DgenX_cmd_buffer.c610 if (isl_aux_usage_has_ccs(image->planes[plane].aux_usage)) in anv_image_init_aux_tt()
637 if (image->planes[depth_plane].aux_usage == ISL_AUX_USAGE_NONE) in transition_depth_buffer()
747 if (image->planes[plane].aux_usage == ISL_AUX_USAGE_NONE) in transition_stencil_buffer()
806 if (image->planes[plane].aux_usage != ISL_AUX_USAGE_CCS_E) in set_image_compressed_bit()
994 image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_D) in anv_cmd_predicated_ccs_resolve()
1030 enum isl_aux_usage aux_usage, in genX()
1043 if (aux_usage != ISL_AUX_USAGE_CCS_E && in genX()
1044 aux_usage != ISL_AUX_USAGE_MCS) in genX()
1310 assert(isl_mod_info->aux_usage == ISL_AUX_USAGE_NONE); in transition_color_buffer()
1318 assert(isl_mod_info->aux_usage != ISL_AUX_USAGE_NONE); in transition_color_buffer()
[all …]
Danv_private.h2559 enum isl_aux_usage aux_usage; member
3584 enum isl_aux_usage aux_usage; member
3653 if (image->planes[plane].aux_usage == ISL_AUX_USAGE_NONE) in anv_image_aux_levels()
3731 assert(image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E); in anv_image_get_compression_state_addr()
3793 assert(isl_aux_usage_has_mcs(image->planes[plane].aux_usage)); in anv_can_sample_mcs_with_clear()
3815 isl_aux_usage_has_ccs(image->planes[plane].aux_usage); in anv_image_plane_uses_aux_map()
3822 enum isl_aux_usage aux_usage,
3831 enum isl_aux_usage aux_usage,
3978 enum isl_aux_usage aux_usage,
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c1645 assert(info->aux_usage == ISL_AUX_USAGE_NONE); in blorp_surf_convert_to_single_slice()
1930 key->tex_aux_usage = params->src.aux_usage; in try_blorp_blit()
2461 enum isl_aux_usage aux_usage) in blitter_supports_aux() argument
2463 switch (aux_usage) { in blitter_supports_aux()
2536 dst_surf->aux_usage)); in blorp_blit()
2878 dst_surf->aux_usage)); in blorp_copy()
2882 src_surf->aux_usage, in blorp_copy()
2883 dst_surf->aux_usage)); in blorp_copy()
2908 assert(params.src.aux_usage == ISL_AUX_USAGE_NONE || in blorp_copy()
2909 params.src.aux_usage == ISL_AUX_USAGE_HIZ || in blorp_copy()
[all …]
Dblorp.h128 enum isl_aux_usage aux_usage; member
195 enum isl_aux_usage aux_usage);
237 enum isl_aux_usage aux_usage,
Dblorp_clear.c495 enum isl_aux_usage aux_usage) in blorp_clear_supports_compute() argument
502 return aux_usage == ISL_AUX_USAGE_GFX12_CCS_E || in blorp_clear_supports_compute()
503 aux_usage == ISL_AUX_USAGE_CCS_E || in blorp_clear_supports_compute()
504 aux_usage == ISL_AUX_USAGE_NONE; in blorp_clear_supports_compute()
506 return aux_usage == ISL_AUX_USAGE_NONE; in blorp_clear_supports_compute()
526 false, surf->aux_usage)); in blorp_clear()
675 assert(params.dst.aux_usage == ISL_AUX_USAGE_NONE); in blorp_clear()
905 enum isl_aux_usage aux_usage, in blorp_can_hiz_clear_depth() argument
928 } else if (aux_usage == ISL_AUX_USAGE_HIZ_CCS_WT) { in blorp_can_hiz_clear_depth()
979 return isl_aux_usage_has_hiz(aux_usage); in blorp_can_hiz_clear_depth()
[all …]
Dblorp.c116 info->aux_usage = surf->aux_usage; in brw_blorp_surface_info_init()
117 if (info->aux_usage != ISL_AUX_USAGE_NONE) { in brw_blorp_surface_info_init()
176 assert(info->aux_usage == ISL_AUX_USAGE_NONE); in brw_blorp_surface_info_init()
Dblorp_genX_exec.h1478 if (isl_aux_usage_has_hiz(surface->aux_usage)) { in blorp_emit_surface_state()
1485 enum isl_aux_usage aux_usage = surface->aux_usage; in blorp_emit_surface_state() local
1488 bool use_aux_address = (aux_usage != ISL_AUX_USAGE_NONE) && in blorp_emit_surface_state()
1508 .aux_surf = &surface->aux_surf, .aux_usage = aux_usage, in blorp_emit_surface_state()
1535 if (aux_usage != ISL_AUX_USAGE_NONE && surface->clear_color_addr.buffer) { in blorp_emit_surface_state()
1723 info.hiz_usage = params->depth.aux_usage; in blorp_emit_depth_stencil_config()
1752 info.stencil_aux_usage = params->stencil.aux_usage; in blorp_emit_depth_stencil_config()
2385 switch (info->aux_usage) { in xy_aux_mode()
2488 if (params->dst.aux_usage != ISL_AUX_USAGE_NONE) { in blorp_xy_block_copy_blt()
2523 if (params->src.aux_usage != ISL_AUX_USAGE_NONE) { in blorp_xy_block_copy_blt()

12