mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
amd/drm-shim: add polaris10
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
9ed3e0db5d
commit
0f2220fb22
1 changed files with 190 additions and 0 deletions
|
|
@ -557,6 +557,196 @@ const struct amdgpu_device amdgpu_devices[] = {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.name = "polaris10",
|
||||
.radeon_family = CHIP_POLARIS10,
|
||||
.hw_ip_gfx = {
|
||||
.hw_ip_version_major = 8,
|
||||
.hw_ip_version_minor = 0,
|
||||
.capabilities_flags = 0llu,
|
||||
.ib_start_alignment = 32,
|
||||
.ib_size_alignment = 32,
|
||||
.available_rings = 0x1,
|
||||
.ip_discovery_version = 0x0000,
|
||||
},
|
||||
.hw_ip_compute = {
|
||||
.hw_ip_version_major = 8,
|
||||
.hw_ip_version_minor = 0,
|
||||
.capabilities_flags = 0llu,
|
||||
.ib_start_alignment = 32,
|
||||
.ib_size_alignment = 32,
|
||||
.available_rings = 0xf,
|
||||
.ip_discovery_version = 0x0000,
|
||||
},
|
||||
.fw_gfx_me = {
|
||||
.ver = 167,
|
||||
.feature = 49,
|
||||
},
|
||||
.fw_gfx_pfp = {
|
||||
.ver = 254,
|
||||
.feature = 49,
|
||||
},
|
||||
.fw_gfx_mec = {
|
||||
.ver = 730,
|
||||
.feature = 49,
|
||||
},
|
||||
.mmr_regs = {
|
||||
0x263e, 0xffffffff, 0x22011003,
|
||||
0x263d, 0x0000ff00, 0x00000000,
|
||||
0xa0d4, 0x0000ff00, 0x16000012,
|
||||
0xa0d5, 0x0000ff00, 0x0000002a,
|
||||
0x263d, 0x0000ff01, 0x00000000,
|
||||
0xa0d4, 0x0000ff01, 0x16000012,
|
||||
0xa0d5, 0x0000ff01, 0x0000002a,
|
||||
0x263d, 0x0000ff02, 0x00000000,
|
||||
0xa0d4, 0x0000ff02, 0x16000012,
|
||||
0xa0d5, 0x0000ff02, 0x0000002a,
|
||||
0x263d, 0x0000ff03, 0x00000000,
|
||||
0xa0d4, 0x0000ff03, 0x16000012,
|
||||
0xa0d5, 0x0000ff03, 0x0000002a,
|
||||
0x09d8, 0xffffffff, 0x000060a2,
|
||||
0x2644, 0xffffffff, 0x00800310,
|
||||
0x2645, 0xffffffff, 0x00800b10,
|
||||
0x2646, 0xffffffff, 0x00801310,
|
||||
0x2647, 0xffffffff, 0x00801b10,
|
||||
0x2648, 0xffffffff, 0x00802b10,
|
||||
0x2649, 0xffffffff, 0x00802b08,
|
||||
0x264a, 0xffffffff, 0x00802b14,
|
||||
0x264b, 0xffffffff, 0x00802954,
|
||||
0x264c, 0xffffffff, 0x00000304,
|
||||
0x264d, 0xffffffff, 0x02000308,
|
||||
0x264e, 0xffffffff, 0x02000310,
|
||||
0x264f, 0xffffffff, 0x06000314,
|
||||
0x2650, 0xffffffff, 0x06000154,
|
||||
0x2651, 0xffffffff, 0x02400308,
|
||||
0x2652, 0xffffffff, 0x02400310,
|
||||
0x2653, 0xffffffff, 0x02400330,
|
||||
0x2654, 0xffffffff, 0x06400314,
|
||||
0x2655, 0xffffffff, 0x06400154,
|
||||
0x2656, 0xffffffff, 0x0040030c,
|
||||
0x2657, 0xffffffff, 0x0100030c,
|
||||
0x2658, 0xffffffff, 0x0100031c,
|
||||
0x2659, 0xffffffff, 0x01000334,
|
||||
0x265a, 0xffffffff, 0x01000324,
|
||||
0x265b, 0xffffffff, 0x01000164,
|
||||
0x265c, 0xffffffff, 0x0040031c,
|
||||
0x265d, 0xffffffff, 0x01000320,
|
||||
0x265e, 0xffffffff, 0x01000338,
|
||||
0x265f, 0xffffffff, 0x02c00308,
|
||||
0x2660, 0xffffffff, 0x02c00310,
|
||||
0x2661, 0xffffffff, 0x06c00314,
|
||||
0x2662, 0xffffffff, 0x06c00154,
|
||||
0x2663, 0xffffffff, 0x00000000,
|
||||
0x2664, 0xffffffff, 0x000000e8,
|
||||
0x2665, 0xffffffff, 0x000000e8,
|
||||
0x2666, 0xffffffff, 0x000000e8,
|
||||
0x2667, 0xffffffff, 0x000000e8,
|
||||
0x2668, 0xffffffff, 0x000000d4,
|
||||
0x2669, 0xffffffff, 0x000000c0,
|
||||
0x266a, 0xffffffff, 0x000000c0,
|
||||
0x266b, 0xffffffff, 0x00000000,
|
||||
0x266c, 0xffffffff, 0x000000ec,
|
||||
0x266d, 0xffffffff, 0x000000e8,
|
||||
0x266e, 0xffffffff, 0x000000d4,
|
||||
0x266f, 0xffffffff, 0x000000d0,
|
||||
0x2670, 0xffffffff, 0x00000080,
|
||||
0x2671, 0xffffffff, 0x00000040,
|
||||
0x2672, 0xffffffff, 0x00000040,
|
||||
0x2673, 0xffffffff, 0x00000000,
|
||||
},
|
||||
.mmr_reg_count = 62,
|
||||
.dev = {
|
||||
.device_id = 0x67df,
|
||||
.chip_rev = 0x01,
|
||||
.external_rev = 0x51,
|
||||
.pci_rev = 0xe7,
|
||||
.family = AMDGPU_FAMILY_VI,
|
||||
.num_shader_engines = 4,
|
||||
.num_shader_arrays_per_engine = 1,
|
||||
.gpu_counter_freq = 25000,
|
||||
.max_engine_clock = 1360000llu,
|
||||
.max_memory_clock = 2000000llu,
|
||||
.cu_active_number = 36,
|
||||
.cu_ao_mask = 0x1ff01ff,
|
||||
.cu_bitmap = {
|
||||
{ 0x1ff, 0x0, 0x0, 0x0, },
|
||||
{ 0x1ff, 0x0, 0x0, 0x0, },
|
||||
{ 0x1ff, 0x0, 0x0, 0x0, },
|
||||
{ 0x1ff, 0x0, 0x0, 0x0, },
|
||||
},
|
||||
.enabled_rb_pipes_mask = 0xff,
|
||||
.num_rb_pipes = 8,
|
||||
.num_hw_gfx_contexts = 8,
|
||||
.pcie_gen = 0,
|
||||
.ids_flags = 0x0llu,
|
||||
.virtual_address_offset = 0x200000llu,
|
||||
.virtual_address_max = 0x1fffe00000llu,
|
||||
.virtual_address_alignment = 4096,
|
||||
.pte_fragment_size = 2097152,
|
||||
.gart_page_size = 4096,
|
||||
.ce_ram_size = 32768,
|
||||
.vram_type = 5,
|
||||
.vram_bit_width = 256,
|
||||
.vce_harvest_config = 2,
|
||||
.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 = 9,
|
||||
.num_tcc_blocks = 8,
|
||||
.gs_vgt_table_depth = 0,
|
||||
.gs_prim_buffer_depth = 0,
|
||||
.max_gs_waves_per_vgt = 32,
|
||||
.pcie_num_lanes = 0,
|
||||
.cu_ao_bitmap = {
|
||||
{ 0x1ff, 0x0, 0x0, 0x0, },
|
||||
{ 0x1ff, 0x0, 0x0, 0x0, },
|
||||
{ 0x1ff, 0x0, 0x0, 0x0, },
|
||||
{ 0x1ff, 0x0, 0x0, 0x0, },
|
||||
},
|
||||
.high_va_offset = 0x0llu,
|
||||
.high_va_max = 0x0llu,
|
||||
.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 = 8589934592,
|
||||
.usable_heap_size = 8576106496,
|
||||
.heap_usage = 267620352,
|
||||
.max_allocation = 6432079872,
|
||||
},
|
||||
.cpu_accessible_vram = {
|
||||
.total_heap_size = 268435456,
|
||||
.usable_heap_size = 262995968,
|
||||
.heap_usage = 17641472,
|
||||
.max_allocation = 197246976,
|
||||
},
|
||||
.gtt = {
|
||||
.total_heap_size = 16776243200,
|
||||
.usable_heap_size = 16766920704,
|
||||
.heap_usage = 80318464,
|
||||
.max_allocation = 12575190528,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.name = "polaris12",
|
||||
.radeon_family = CHIP_POLARIS12,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue