• Home
  • Raw
  • Download

Lines Matching refs:rad_info

55        device->physical_device->rad_info.gfx_level <= GFX8) {  in radv_choose_tiling()
73 if (device->physical_device->rad_info.gfx_level < GFX8) in radv_use_tc_compat_htile_for_image()
89 if (device->physical_device->rad_info.gfx_level < GFX9) { in radv_use_tc_compat_htile_for_image()
113 if (device->physical_device->rad_info.gfx_level >= GFX9) in radv_surface_has_scanout()
182 if (!radv_dcc_formats_compatible(pdev->rad_info.gfx_level, format, in radv_are_formats_dcc_compatible()
233 if (device->physical_device->rad_info.gfx_level < GFX8) in radv_use_dcc_for_image_early()
250 (device->physical_device->rad_info.gfx_level < GFX10 || in radv_use_dcc_for_image_early()
272 if (device->physical_device->rad_info.gfx_level < GFX10) { in radv_use_dcc_for_image_early()
279 device->physical_device->rad_info.gfx_level == GFX9) in radv_use_dcc_for_image_early()
321 return ac_surface_supports_dcc_image_stores(device->physical_device->rad_info.gfx_level, in radv_image_use_dcc_image_stores()
350 image->info.array_size == 1 && device->physical_device->rad_info.gfx_level >= GFX10; in radv_use_htile_for_image()
353 if (device->physical_device->rad_info.gfx_level == GFX10 && in radv_use_htile_for_image()
358 if (device->physical_device->rad_info.chip_class == GFX10 && in radv_use_htile_for_image()
377 if (device->physical_device->rad_info.gfx_level < GFX8) in radv_use_tc_compat_cmask_for_image()
385 device->physical_device->rad_info.gfx_level < GFX10) in radv_use_tc_compat_cmask_for_image()
405 return (ATI_VENDOR_ID << 16) | device->physical_device->rad_info.pci_id; in si_get_bo_metadata_word1()
426 if (device->physical_device->rad_info.gfx_level >= GFX9) { in radv_patch_surface_from_metadata()
469 if (device->physical_device->rad_info.gfx_level >= GFX10) { in radv_patch_image_dimensions()
489 } else if (device->physical_device->rad_info.gfx_level >= GFX10) { in radv_patch_image_dimensions()
534 if (create_info->prime_blit_src && device->physical_device->rad_info.gfx_level == GFX9) { in radv_patch_image_from_extra_info()
633 if (device->physical_device->rad_info.gfx_level >= GFX9 && in radv_get_surface_flags()
732 if (device->physical_device->rad_info.gfx_level != GFX8 && stride) { in radv_make_buffer_descriptor()
742 if (device->physical_device->rad_info.gfx_level >= GFX10) { in radv_make_buffer_descriptor()
743 …fx10_format *fmt = &ac_get_gfx10_format_table(&device->physical_device->rad_info)[vk_format_to_pip… in radv_make_buffer_descriptor()
754 S_008F0C_RESOURCE_LEVEL(device->physical_device->rad_info.gfx_level < GFX11); in radv_make_buffer_descriptor()
777 enum amd_gfx_level gfx_level = device->physical_device->rad_info.gfx_level; in si_set_mutable_tex_desc_fields()
945 if (device->physical_device->rad_info.gfx_level >= GFX10 && desc->nr_channels == 1) in vi_alpha_is_on_msb()
980 …img_format = ac_get_gfx10_format_table(&device->physical_device->rad_info)[vk_format_to_pipe_forma… in gfx10_make_texture_descriptor()
989 is_storage_image, device->physical_device->rad_info.gfx_level == GFX9); in gfx10_make_texture_descriptor()
1006 S_00A008_RESOURCE_LEVEL(device->physical_device->rad_info.gfx_level < GFX11); in gfx10_make_texture_descriptor()
1040 if (device->physical_device->rad_info.gfx_level >= GFX11) { in gfx10_make_texture_descriptor()
1155 if (device->physical_device->rad_info.gfx_level == GFX9 && vk_format == VK_FORMAT_S8_UINT && in si_make_texture_descriptor()
1163 if (device->physical_device->rad_info.gfx_level == GFX9 && in si_make_texture_descriptor()
1169 is_storage_image, device->physical_device->rad_info.gfx_level == GFX9); in si_make_texture_descriptor()
1199 if (device->physical_device->rad_info.gfx_level == GFX9) { in si_make_texture_descriptor()
1226 if (device->physical_device->rad_info.gfx_level <= GFX7 && image->info.samples <= 1) { in si_make_texture_descriptor()
1246 if (device->physical_device->rad_info.gfx_level == GFX9) { in si_make_texture_descriptor()
1294 if (device->physical_device->rad_info.gfx_level == GFX9) { in si_make_texture_descriptor()
1335 if (device->physical_device->rad_info.gfx_level >= GFX10) { in radv_make_texture_descriptor()
1364 ac_surface_get_umd_metadata(&device->physical_device->rad_info, &image->planes[0].surface, in radv_query_opaque_metadata()
1376 if (device->physical_device->rad_info.gfx_level >= GFX9) { in radv_init_metadata()
1411 ac_surface_override_offset_stride(&device->physical_device->rad_info, &image->planes[0].surface, in radv_image_override_offset_stride()
1456 device->physical_device->rad_info.has_tc_compat_zrange_bug) { in radv_image_alloc_values()
1472 struct radeon_info *rad_info = &device->physical_device->rad_info; in radv_image_is_pipe_misaligned() local
1475 assert(rad_info->gfx_level >= GFX10); in radv_image_is_pipe_misaligned()
1482 if (rad_info->gfx_level >= GFX10_3) { in radv_image_is_pipe_misaligned()
1492 int num_pipes = G_0098F8_NUM_PIPES(rad_info->gb_addr_config); in radv_image_is_pipe_misaligned()
1500 int max_compressed_frags = G_0098F8_MAX_COMPRESSED_FRAGS(rad_info->gb_addr_config); in radv_image_is_pipe_misaligned()
1520 if (device->physical_device->rad_info.gfx_level >= GFX10) { in radv_image_is_l2_coherent()
1521 return !device->physical_device->rad_info.tcc_rb_non_coherent && in radv_image_is_l2_coherent()
1523 } else if (device->physical_device->rad_info.gfx_level == GFX9) { in radv_image_is_l2_coherent()
1553 if (!radv_image_has_dcc(image) && device->physical_device->rad_info.family == CHIP_STONEY) in radv_image_can_fast_clear()
1574 if (device->physical_device->rad_info.gfx_level < GFX10) in radv_image_use_comp_to_single()
1587 if (bytes_per_pixel <= 2 && !device->physical_device->rad_info.rbplus_allowed) in radv_image_use_comp_to_single()
1674 !ac_surface_set_umd_metadata(&device->physical_device->rad_info, in radv_image_create_layout()
1697 if (!ac_surface_override_offset_stride(&device->physical_device->rad_info, in radv_image_create_layout()
1709 if (ac_surface_get_plane_offset(device->physical_device->rad_info.gfx_level, in radv_image_create_layout()
1768 uint64_t offset = ac_surface_get_plane_offset(device->physical_device->rad_info.gfx_level, in radv_image_print_info()
1773 ac_surface_print_info(stderr, &device->physical_device->rad_info, surf); in radv_image_print_info()
1793 ac_get_supported_modifiers(&pdev->rad_info, &modifier_options, vk_format_to_pipe_format(format), in radv_select_modifier()
1802 ac_get_supported_modifiers(&pdev->rad_info, &modifier_options, vk_format_to_pipe_format(format), in radv_select_modifier()
1959 if (device->physical_device->rad_info.gfx_level >= GFX9) in radv_image_view_make_descriptor()
1972 if (device->physical_device->rad_info.gfx_level <= GFX9) { in radv_image_view_make_descriptor()
2125 if (device->physical_device->rad_info.gfx_level >= GFX9) { in radv_image_view_init()
2170 if (device->physical_device->rad_info.gfx_level >= GFX9 && in radv_image_view_init()
2323 return device->physical_device->rad_info.gfx_level >= GFX10 || layout != VK_IMAGE_LAYOUT_GENERAL; in radv_layout_dcc_compressed()
2419 pLayout->offset = ac_surface_get_plane_offset(device->physical_device->rad_info.gfx_level, in radv_GetImageSubresourceLayout()
2421 pLayout->rowPitch = ac_surface_get_plane_stride(device->physical_device->rad_info.gfx_level, in radv_GetImageSubresourceLayout()
2426 } else if (device->physical_device->rad_info.gfx_level >= GFX9) { in radv_GetImageSubresourceLayout()
2429 pLayout->offset = ac_surface_get_plane_offset(device->physical_device->rad_info.gfx_level, in radv_GetImageSubresourceLayout()