Lines Matching refs:rad_info
148 return MIN2(device->rad_info.vram_size, (uint64_t)ov << 20); in radv_get_adjusted_vram_size()
149 return device->rad_info.vram_size; in radv_get_adjusted_vram_size()
155 return MIN2(radv_get_adjusted_vram_size(device) , device->rad_info.vram_vis_size); in radv_get_visible_vram_size()
161 return radv_get_adjusted_vram_size(device) - device->rad_info.vram_vis_size; in radv_get_vram_size()
191 if (device->rad_info.gart_size > 0) { in radv_physical_device_init_mem_types()
195 .size = device->rad_info.gart_size, in radv_physical_device_init_mem_types()
252 if (device->rad_info.has_l2_uncached) { in radv_physical_device_init_mem_types()
385 device->ws->query_info(device->ws, &device->rad_info); in radv_physical_device_try_create()
391 device->rad_info.name, radv_get_compiler_string(device)); in radv_physical_device_try_create()
393 if (radv_device_get_cache_uuid(device->rad_info.family, device->cache_uuid)) { in radv_physical_device_try_create()
409 if (device->rad_info.chip_class < GFX8 || in radv_physical_device_try_create()
410 device->rad_info.chip_class > GFX10) in radv_physical_device_try_create()
414 radv_get_device_uuid(&device->rad_info, &device->device_uuid); in radv_physical_device_try_create()
416 device->out_of_order_rast_allowed = device->rad_info.has_out_of_order_rast && in radv_physical_device_try_create()
422 device->use_ngg = device->rad_info.chip_class >= GFX10 && in radv_physical_device_try_create()
423 device->rad_info.family != CHIP_NAVI14 && in radv_physical_device_try_create()
424 device->rad_info.has_dedicated_vram && in radv_physical_device_try_create()
434 if (device->rad_info.chip_class >= GFX10) { in radv_physical_device_try_create()
455 ac_print_gpu_info(&device->rad_info, stdout); in radv_physical_device_try_create()
1035 …f->storageInputOutput16 = pdevice->rad_info.has_packed_math_16bit && (LLVM_VERSION_… in radv_get_physical_device_features_1_1()
1059 f->shaderFloat16 = pdevice->rad_info.has_packed_math_16bit; in radv_get_physical_device_features_1_2()
1085 f->scalarBlockLayout = pdevice->rad_info.chip_class >= GFX7; in radv_get_physical_device_features_1_2()
1091 f->timelineSemaphore = pdevice->rad_info.has_syncobj_wait_for_submit; in radv_get_physical_device_features_1_2()
1309 features->indexTypeUint8 = pdevice->rad_info.chip_class >= GFX8; in radv_GetPhysicalDeviceFeatures2()
1328 features->shaderDeviceClock = pdevice->rad_info.chip_class >= GFX8; in radv_GetPhysicalDeviceFeatures2()
1353 features->deviceCoherentMemory = pdevice->rad_info.has_l2_uncached; in radv_GetPhysicalDeviceFeatures2()
1448 features->shaderSharedFloat32AtomicAdd = pdevice->rad_info.chip_class >= GFX8 && in radv_GetPhysicalDeviceFeatures2()
1624 .timestampPeriod = 1000000.0 / pdevice->rad_info.clock_crystal_freq, in radv_GetPhysicalDeviceProperties()
1644 .deviceID = pdevice->rad_info.pci_id, in radv_GetPhysicalDeviceProperties()
1645 ….deviceType = pdevice->rad_info.has_dedicated_vram ? VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU : VK_PHY… in radv_GetPhysicalDeviceProperties()
1709 if (pdevice->rad_info.has_packed_math_16bit) { in radv_get_physical_device_properties_1_2()
1730 p->shaderDenormFlushToZeroFloat16 = pdevice->rad_info.has_packed_math_16bit && !pdevice->use_llvm; in radv_get_physical_device_properties_1_2()
1731 p->shaderDenormPreserveFloat16 = pdevice->rad_info.has_packed_math_16bit; in radv_get_physical_device_properties_1_2()
1732 p->shaderRoundingModeRTEFloat16 = pdevice->rad_info.has_packed_math_16bit; in radv_get_physical_device_properties_1_2()
1733 p->shaderRoundingModeRTZFloat16 = pdevice->rad_info.has_packed_math_16bit && !pdevice->use_llvm; in radv_get_physical_device_properties_1_2()
1734 p->shaderSignedZeroInfNanPreserveFloat16 = pdevice->rad_info.has_packed_math_16bit; in radv_get_physical_device_properties_1_2()
1736 p->shaderDenormFlushToZeroFloat64 = pdevice->rad_info.chip_class >= GFX8 && !pdevice->use_llvm; in radv_get_physical_device_properties_1_2()
1737 p->shaderDenormPreserveFloat64 = pdevice->rad_info.chip_class >= GFX8; in radv_get_physical_device_properties_1_2()
1738 p->shaderRoundingModeRTEFloat64 = pdevice->rad_info.chip_class >= GFX8; in radv_get_physical_device_properties_1_2()
1739 p->shaderRoundingModeRTZFloat64 = pdevice->rad_info.chip_class >= GFX8 && !pdevice->use_llvm; in radv_get_physical_device_properties_1_2()
1740 p->shaderSignedZeroInfNanPreserveFloat64 = pdevice->rad_info.chip_class >= GFX8; in radv_get_physical_device_properties_1_2()
1789 p->filterMinmaxImageComponentMapping = pdevice->rad_info.chip_class >= GFX9; in radv_get_physical_device_properties_1_2()
1893 pdevice->rad_info.max_se; in radv_GetPhysicalDeviceProperties2()
1895 pdevice->rad_info.max_sh_per_se; in radv_GetPhysicalDeviceProperties2()
1897 pdevice->rad_info.min_good_cu_per_sa; in radv_GetPhysicalDeviceProperties2()
1899 pdevice->rad_info.num_simd_per_compute_unit; in radv_GetPhysicalDeviceProperties2()
1901 pdevice->rad_info.max_wave64_per_simd; in radv_GetPhysicalDeviceProperties2()
1906 pdevice->rad_info.num_physical_sgprs_per_simd; in radv_GetPhysicalDeviceProperties2()
1908 pdevice->rad_info.min_sgpr_alloc; in radv_GetPhysicalDeviceProperties2()
1910 pdevice->rad_info.max_sgpr_alloc; in radv_GetPhysicalDeviceProperties2()
1912 pdevice->rad_info.sgpr_alloc_granularity; in radv_GetPhysicalDeviceProperties2()
1916 pdevice->rad_info.num_physical_wave64_vgprs_per_simd; in radv_GetPhysicalDeviceProperties2()
1918 pdevice->rad_info.min_wave64_vgpr_alloc; in radv_GetPhysicalDeviceProperties2()
1920 pdevice->rad_info.max_vgpr_alloc; in radv_GetPhysicalDeviceProperties2()
1922 pdevice->rad_info.wave64_vgpr_alloc_granularity; in radv_GetPhysicalDeviceProperties2()
1931 pdevice->rad_info.num_good_compute_units; in radv_GetPhysicalDeviceProperties2()
2099 if (pdevice->rad_info.chip_class >= GFX10) { in radv_GetPhysicalDeviceProperties2()
2144 if (pdevice->rad_info.num_rings[RING_COMPUTE] > 0 && in radv_get_physical_device_queue_family_properties()
2170 if (pdevice->rad_info.num_rings[RING_COMPUTE] > 0 && in radv_get_physical_device_queue_family_properties()
2177 .queueCount = pdevice->rad_info.num_rings[RING_COMPUTE], in radv_get_physical_device_queue_family_properties()
2499 device->gs_table_depth = ac_get_gs_table_depth(device->physical_device->rad_info.chip_class, in radv_device_init_gs_info()
2500 device->physical_device->rad_info.family); in radv_device_init_gs_info()
2771 assert(!global_priority || device->physical_device->rad_info.has_ctx_priority); in radv_CreateDevice()
2793 device->pbb_allowed = device->physical_device->rad_info.chip_class >= GFX9 && in radv_CreateDevice()
2800 device->always_use_syncobj = device->physical_device->rad_info.has_syncobj_wait_for_submit; in radv_CreateDevice()
2815 device->scratch_waves = MAX2(32 * physical_device->rad_info.num_good_compute_units, in radv_CreateDevice()
2820 if (device->physical_device->rad_info.chip_class >= GFX7) { in radv_CreateDevice()
2830 device->physical_device->rad_info.family == CHIP_HAWAII ? 4096 : 8192; in radv_CreateDevice()
2865 if (device->physical_device->rad_info.chip_class < GFX8) { in radv_CreateDevice()
2872 if (device->physical_device->rad_info.chip_class > GFX10) { in radv_CreateDevice()
2893 assert(device->physical_device->rad_info.chip_class == GFX8); in radv_CreateDevice()
2944 if (device->physical_device->rad_info.chip_class >= GFX7) in radv_CreateDevice()
3147 if (queue->device->physical_device->rad_info.chip_class >= GFX10) { in fill_geom_tess_rings()
3168 if (queue->device->physical_device->rad_info.chip_class >= GFX10) { in fill_geom_tess_rings()
3194 if (queue->device->physical_device->rad_info.chip_class >= GFX10) { in fill_geom_tess_rings()
3217 if (queue->device->physical_device->rad_info.chip_class >= GFX10) { in fill_geom_tess_rings()
3243 if (queue->device->physical_device->rad_info.chip_class >= GFX10) { in fill_geom_tess_rings()
3260 if (queue->device->physical_device->rad_info.chip_class >= GFX10) { in fill_geom_tess_rings()
3287 bool double_offchip_buffers = device->physical_device->rad_info.chip_class >= GFX7 && in radv_get_hs_offchip_param()
3288 device->physical_device->rad_info.family != CHIP_CARRIZO && in radv_get_hs_offchip_param()
3289 device->physical_device->rad_info.family != CHIP_STONEY; in radv_get_hs_offchip_param()
3307 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_get_hs_offchip_param()
3309 } else if (device->physical_device->rad_info.family == CHIP_VEGA10 || in radv_get_hs_offchip_param()
3310 device->physical_device->rad_info.chip_class == GFX7 || in radv_get_hs_offchip_param()
3311 device->physical_device->rad_info.chip_class == GFX6) in radv_get_hs_offchip_param()
3315 device->physical_device->rad_info.max_se; in radv_get_hs_offchip_param()
3321 assert(device->physical_device->rad_info.family == CHIP_HAWAII); in radv_get_hs_offchip_param()
3328 switch (device->physical_device->rad_info.chip_class) { in radv_get_hs_offchip_param()
3344 if (device->physical_device->rad_info.chip_class >= GFX10_3) { in radv_get_hs_offchip_param()
3347 } else if (device->physical_device->rad_info.chip_class >= GFX7) { in radv_get_hs_offchip_param()
3348 if (device->physical_device->rad_info.chip_class >= GFX8) in radv_get_hs_offchip_param()
3376 if (queue->device->physical_device->rad_info.chip_class >= GFX7) { in radv_emit_gs_ring_sizes()
3401 if (queue->device->physical_device->rad_info.chip_class >= GFX7) { in radv_emit_tess_factor_ring()
3407 if (queue->device->physical_device->rad_info.chip_class >= GFX10) { in radv_emit_tess_factor_ring()
3410 } else if (queue->device->physical_device->rad_info.chip_class == GFX9) { in radv_emit_tess_factor_ring()
3482 if (queue->device->physical_device->rad_info.chip_class >= GFX10) { in radv_emit_global_shader_pointers()
3492 } else if (queue->device->physical_device->rad_info.chip_class == GFX9) { in radv_emit_global_shader_pointers()
3633 tess_factor_ring_size = 32768 * queue->device->physical_device->rad_info.max_se; in radv_get_preamble_cs()
3741 assert(queue->device->physical_device->rad_info.chip_class >= GFX10); in radv_get_preamble_cs()
3758 assert(queue->device->physical_device->rad_info.chip_class >= GFX10); in radv_get_preamble_cs()
3882 queue->device->physical_device->rad_info.chip_class, in radv_get_preamble_cs()
3885 queue->device->physical_device->rad_info.chip_class >= GFX7, in radv_get_preamble_cs()
3894 queue->device->physical_device->rad_info.chip_class, in radv_get_preamble_cs()
3897 queue->device->physical_device->rad_info.chip_class >= GFX7, in radv_get_preamble_cs()
5354 …mem->bo = device->ws->buffer_create(device->ws, alloc_size, device->physical_device->rad_info.max_… in radv_alloc_memory()
5876 …if (device->physical_device->rad_info.drm_minor >= 10 && radv_all_fences_plain_and_submitted(devic… in radv_WaitForFences()
6262 device->physical_device->rad_info.has_timeline_syncobj) { in radv_CreateSemaphore()
6275 assert (device->physical_device->rad_info.has_syncobj); in radv_CreateSemaphore()
6668 if (!device->physical_device->rad_info.has_dedicated_vram) { in radv_init_dcc_control_reg()
6677 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_init_dcc_control_reg()
6739 if (device->physical_device->rad_info.chip_class >= GFX9) { in radv_initialise_color_surface()
6740 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_initialise_color_surface()
6782 if (device->physical_device->rad_info.chip_class >= GFX7) in radv_initialise_color_surface()
6788 if (device->physical_device->rad_info.chip_class >= GFX7) in radv_initialise_color_surface()
6804 device->physical_device->rad_info.chip_class <= GFX8) in radv_initialise_color_surface()
6877 if (device->physical_device->rad_info.chip_class == GFX6) { in radv_initialise_color_surface()
6908 device->physical_device->rad_info.chip_class == GFX6) { in radv_initialise_color_surface()
6913 if (device->physical_device->rad_info.chip_class >= GFX9) { in radv_initialise_color_surface()
6921 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_initialise_color_surface()
6947 if (device->physical_device->rad_info.chip_class >= GFX9) { in radv_calc_decompress_on_z_planes()
7024 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_initialise_ds_surface()
7035 if (device->physical_device->rad_info.chip_class >= GFX9) { in radv_initialise_ds_surface()
7047 if (device->physical_device->rad_info.chip_class == GFX9) { in radv_initialise_ds_surface()
7065 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_initialise_ds_surface()
7083 if (device->physical_device->rad_info.chip_class == GFX9) { in radv_initialise_ds_surface()
7103 if (device->physical_device->rad_info.chip_class >= GFX7) { in radv_initialise_ds_surface()
7104 struct radeon_info *info = &device->physical_device->rad_info; in radv_initialise_ds_surface()
7417 bool compat_mode = device->physical_device->rad_info.chip_class == GFX8 || in radv_init_sampler()
7418 device->physical_device->rad_info.chip_class == GFX9; in radv_init_sampler()
7484 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_init_sampler()
7488 S_008F38_DISABLE_LSB_CEIL(device->physical_device->rad_info.chip_class <= GFX8) | in radv_init_sampler()
7490 S_008F38_ANISO_OVERRIDE_GFX8(device->physical_device->rad_info.chip_class >= GFX8); in radv_init_sampler()
7822 if (type == VK_SEMAPHORE_TYPE_TIMELINE && pdevice->rad_info.has_timeline_syncobj && in radv_GetPhysicalDeviceExternalSemaphoreProperties()
7834 } else if (pdevice->rad_info.has_syncobj_wait_for_submit && in radv_GetPhysicalDeviceExternalSemaphoreProperties()
7932 if (pdevice->rad_info.has_syncobj_wait_for_submit && in radv_GetPhysicalDeviceExternalFenceProperties()
8050 uint32_t clock_crystal_freq = device->physical_device->rad_info.clock_crystal_freq; in radv_GetCalibratedTimestampsEXT()