mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
amd/drm-shim: add vega10
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22989>
This commit is contained in:
parent
0f2220fb22
commit
3a04a38320
1 changed files with 129 additions and 0 deletions
|
|
@ -931,6 +931,135 @@ const struct amdgpu_device amdgpu_devices[] = {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.name = "vega10",
|
||||
.radeon_family = CHIP_VEGA10,
|
||||
.hw_ip_gfx = {
|
||||
.hw_ip_version_major = 9,
|
||||
.hw_ip_version_minor = 0,
|
||||
.capabilities_flags = 0llu,
|
||||
.ib_start_alignment = 32,
|
||||
.ib_size_alignment = 32,
|
||||
.available_rings = 0x1,
|
||||
.ip_discovery_version = 0x90001,
|
||||
},
|
||||
.hw_ip_compute = {
|
||||
.hw_ip_version_major = 9,
|
||||
.hw_ip_version_minor = 0,
|
||||
.capabilities_flags = 0llu,
|
||||
.ib_start_alignment = 32,
|
||||
.ib_size_alignment = 32,
|
||||
.available_rings = 0xf,
|
||||
.ip_discovery_version = 0x90001,
|
||||
},
|
||||
.fw_gfx_me = {
|
||||
.ver = 166,
|
||||
.feature = 53,
|
||||
},
|
||||
.fw_gfx_pfp = {
|
||||
.ver = 194,
|
||||
.feature = 53,
|
||||
},
|
||||
.fw_gfx_mec = {
|
||||
.ver = 33236,
|
||||
.feature = 53,
|
||||
},
|
||||
.mmr_regs = {
|
||||
0x263e, 0xffffffff, 0x2a114042,
|
||||
},
|
||||
.mmr_reg_count = 1,
|
||||
.dev = {
|
||||
.device_id = 0x687f,
|
||||
.chip_rev = 0x01,
|
||||
.external_rev = 0x01,
|
||||
.pci_rev = 0xc1,
|
||||
.family = AMDGPU_FAMILY_AI,
|
||||
.num_shader_engines = 4,
|
||||
.num_shader_arrays_per_engine = 1,
|
||||
.gpu_counter_freq = 27000,
|
||||
.max_engine_clock = 1630000llu,
|
||||
.max_memory_clock = 945000llu,
|
||||
.cu_active_number = 64,
|
||||
.cu_ao_mask = 0xffffffff,
|
||||
.cu_bitmap = {
|
||||
{ 0xffff, 0x0, 0x0, 0x0, },
|
||||
{ 0xffff, 0x0, 0x0, 0x0, },
|
||||
{ 0xffff, 0x0, 0x0, 0x0, },
|
||||
{ 0xffff, 0x0, 0x0, 0x0, },
|
||||
},
|
||||
.enabled_rb_pipes_mask = 0xffff,
|
||||
.num_rb_pipes = 16,
|
||||
.num_hw_gfx_contexts = 8,
|
||||
.pcie_gen = 0,
|
||||
.ids_flags = 0x0llu,
|
||||
.virtual_address_offset = 0x200000llu,
|
||||
.virtual_address_max = 0x800000000000llu,
|
||||
.virtual_address_alignment = 4096,
|
||||
.pte_fragment_size = 2097152,
|
||||
.gart_page_size = 4096,
|
||||
.ce_ram_size = 32768,
|
||||
.vram_type = 6,
|
||||
.vram_bit_width = 2048,
|
||||
.vce_harvest_config = 0,
|
||||
.gc_double_offchip_lds_buf = 1,
|
||||
.prim_buf_gpu_addr = 0llu,
|
||||
.pos_buf_gpu_addr = 0llu,
|
||||
.cntl_sb_buf_gpu_addr = 0llu,
|
||||
.param_buf_gpu_addr = 0llu,
|
||||
.prim_buf_size = 0,
|
||||
.pos_buf_size = 0,
|
||||
.cntl_sb_buf_size = 0,
|
||||
.param_buf_size = 0,
|
||||
.wave_front_size = 64,
|
||||
.num_shader_visible_vgprs = 256,
|
||||
.num_cu_per_sh = 16,
|
||||
.num_tcc_blocks = 16,
|
||||
.gs_vgt_table_depth = 32,
|
||||
.gs_prim_buffer_depth = 1792,
|
||||
.max_gs_waves_per_vgt = 32,
|
||||
.pcie_num_lanes = 0,
|
||||
.cu_ao_bitmap = {
|
||||
{ 0xffff, 0x0, 0x0, 0x0, },
|
||||
{ 0xffff, 0x0, 0x0, 0x0, },
|
||||
{ 0xffff, 0x0, 0x0, 0x0, },
|
||||
{ 0xffff, 0x0, 0x0, 0x0, },
|
||||
},
|
||||
.high_va_offset = 0xffff800000000000llu,
|
||||
.high_va_max = 0xffffffffffe00000llu,
|
||||
.pa_sc_tile_steering_override = 0,
|
||||
.tcc_disabled_mask = 0llu,
|
||||
.min_engine_clock = 0llu,
|
||||
.min_memory_clock = 0llu,
|
||||
.tcp_cache_size = 0,
|
||||
.num_sqc_per_wgp = 0,
|
||||
.sqc_data_cache_size = 0,
|
||||
.sqc_inst_cache_size = 0,
|
||||
.gl1c_cache_size = 0,
|
||||
.gl2c_cache_size = 0,
|
||||
.mall_size = 0llu,
|
||||
.enabled_rb_pipes_mask_hi = 0,
|
||||
},
|
||||
.mem = {
|
||||
.vram = {
|
||||
.total_heap_size = 8573157376,
|
||||
.usable_heap_size = 8556453888,
|
||||
.heap_usage = 39575552,
|
||||
.max_allocation = 6417340416,
|
||||
},
|
||||
.cpu_accessible_vram = {
|
||||
.total_heap_size = 268435456,
|
||||
.usable_heap_size = 260120576,
|
||||
.heap_usage = 30138368,
|
||||
.max_allocation = 195090432,
|
||||
},
|
||||
.gtt = {
|
||||
.total_heap_size = 8359135232,
|
||||
.usable_heap_size = 8346802176,
|
||||
.heap_usage = 22892544,
|
||||
.max_allocation = 6260101632,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.name = "gfx1100",
|
||||
.radeon_family = CHIP_GFX1100,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue