IP discovery on green_sardine not showing all IP blocks
Several IP blocks are missing from umr on green_sardine
.
Some of the missing ones are also defined in the asic file https://gitlab.freedesktop.org/tomstdenis/umr/-/blob/main/database/green_sardine.asic:
green_sardine renoir.soc15 3 12 2 1
clk1002 CLK 0 ip/clk_10_0_2.reg
gfx910 GC 0 ip/gc_9_1_0.reg
vcn200 UVD0 0 ip/vcn_2_0_0.reg
dcn210 DCN 0 ip/dcn_2_1_0.reg
dpcs210 DPCS 0 ip/dpcs_2_1_0.reg
nbio700 NBIF0 0 ip/nbio_7_0_0.reg
sdma0410 SDMA0 0 ip/sdma0_4_1_0.reg
hdp400 HDP 0 ip/hdp_4_0_0.reg
oss400 OSSSYS 0 ip/osssys_4_0_0.reg
mmhub910 MMHUB 0 ip/mmhub_9_1_0.reg
mp1200 MP0 0 ip/mp_12_0_0.reg
smuio1200 SMUIO 0 ip/smuio_12_0_0.reg
Note how a lot are missing from umr (for example, smuio
):
For reference:
IP blocks:
root@anon /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.0/ip_discovery/die/0 # cat num_ips
41
root@anon /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.0/ip_discovery/die/0 # find . -maxdepth 1 -type l -ls
36939 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./ISP -> 44
37005 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./PCS -> 80
36961 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./DF -> 46
36745 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./MP1 -> 1
37171 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./DAZ -> 274
37063 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./IOAGR -> 100
36873 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./MMHUB -> 34
36895 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./DBGU_NBIO -> 36
36906 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./OSSSYS -> 40
36840 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./UVD -> 12
36972 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./CLKB -> 47
36917 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./HDP -> 41
36950 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./DBGU_IO -> 45
37096 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./SYSTEMHUB -> 128
36778 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./SMUIO -> 4
37127 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./USB -> 170
37074 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./NBIF -> 108
36851 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./ACP -> 14
36884 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./ATHUB -> 35
36756 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./MP2 -> 2
37160 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./DIO -> 272
37149 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./DMU -> 271
36767 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./THM -> 3
37043 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./SST -> 90
37138 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./MP0 -> 255
37107 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./UMC -> 150
36829 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./GC -> 11
36994 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./PCIE -> 70
37085 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./IOAPIC -> 124
36800 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./CLKA -> 6
36862 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./IOHC -> 24
36789 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./FUSE -> 5
36928 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./SDMA0 -> 42
36983 0 lrwxrwxrwx 1 root root 0 Jan 28 15:35 ./FCH -> 48
umr -e
:
gpu #0 => green_sardine (instance: 0)
asic.instance == 0
asic.devname ==
asic.family == 3
asic.gtt_size == 0
asic.vis_vram_size == 0
asic.vram_size == 0
umr.version == 1.0.6-9-g31ea9b4
vbios.version ==
fw.VCE == .feature==0 .firmware==0x00000000
fw.UVD == .feature==0 .firmware==0x00000000
fw.MC == .feature==0 .firmware==0x00000000
fw.ME == .feature==53 .firmware==0x000000a6
fw.PFP == .feature==53 .firmware==0x000000c2
fw.CE == .feature==53 .firmware==0x0000004f
fw.RLC == .feature==1 .firmware==0x0000003c
fw.RLC == .feature==0 .firmware==0x00000000
fw.RLC == .feature==0 .firmware==0x00000000
fw.RLC == .feature==0 .firmware==0x00000000
fw.RLCP == .feature==0 .firmware==0x00000000
fw.RLCV == .feature==0 .firmware==0x00000000
fw.MEC == .feature==53 .firmware==0x000001d0
fw.IMU == .feature==0 .firmware==0x00000000
fw.SOS == .feature==0 .firmware==0x00000000
fw.ASD == .feature==0 .firmware==0x2100007e
fw.TA == .feature==0 .firmware==0x00000000
fw.TA == .feature==0 .firmware==0x00000000
fw.TA == .feature==0 .firmware==0x00000000
fw.TA == .feature==0 .firmware==0x00000000
fw.TA == .feature==0 .firmware==0x00000000
fw.TA == .feature==0 .firmware==0x00000000
fw.SMC == .feature==0 .firmware==0x00000000
fw.SDMA0 == .feature==41 .firmware==0x00000028
fw.VCN == .feature==0 .firmware==0x05111002
fw.DMCU == .feature==0 .firmware==0x00000000
fw.DMCUB == .feature==0 .firmware==0x0101001f
fw.TOC == .feature==0 .firmware==0x00000000
fw.MES_KIQ == .feature==0 .firmware==0x00000000
fw.MES == .feature==0 .firmware==0x00000000
fw.VBIOS == .feature==0 .firmware==0x00000000
pci.vendor_id == 1002
pci.device_id == 1638
pci.subvendor_id == 1043
pci.subdevice_id == 8809
pci.revision == c8
gfx.max_shader_engines == 1
gfx.max_tile_pipes == 4
gfx.max_cu_per_sh == 8
gfx.max_sh_per_se == 1
gfx.max_backends_per_se == 2
gfx.max_texture_channel_caches == 4
gfx.max_gprs == 256
gfx.max_gs_threads == 32
gfx.max_hw_contexts == 8
gfx.sc_prim_fifo_size_frontend == 32
gfx.sc_prim_fifo_size_backend == 256
gfx.sc_hiz_tile_fifo_size == 128
gfx.sc_earlyz_tile_fifo_size == 1216
gfx.num_tile_pipes == 0
gfx.backend_enable_mask == 3
gfx.mem_max_burst_length_bytes == 0
gfx.mem_row_size_in_kb == 0
gfx.shader_engine_tile_size == 0
gfx.num_gpus == 0
gfx.multi_gpu_tile_size == 0
gfx.mc_arb_ramcfg == 0
gfx.gb_addr_config == 637599810
gfx.num_rbs == 2
gfx.family = 142, Raven
is_apu == 1
gfx.rev_id == 00000000
gfx.external_rev_id == 000000a1
gfx.cg_flags == 79b09f4f
AMD_CG_SUPPORT_GFX_MGCG
AMD_CG_SUPPORT_GFX_MGLS
AMD_CG_SUPPORT_GFX_CGCG
AMD_CG_SUPPORT_GFX_CGLS
AMD_CG_SUPPORT_GFX_CP_LS
AMD_CG_SUPPORT_MC_LS
AMD_CG_SUPPORT_MC_MGCG
AMD_CG_SUPPORT_SDMA_LS
AMD_CG_SUPPORT_SDMA_MGCG
AMD_CG_SUPPORT_BIF_LS
AMD_CG_SUPPORT_HDP_LS
AMD_CG_SUPPORT_GFX_3D_CGCG
AMD_CG_SUPPORT_GFX_3D_CGLS
AMD_CG_SUPPORT_DF_MGCG
AMD_CG_SUPPORT_VCN_MGCG
AMD_CG_SUPPORT_IH_CG
AMD_CG_SUPPORT_ATHUB_LS
AMD_CG_SUPPORT_ATHUB_MGCG
AMD_CG_SUPPORT_JPEG_MGCG
gfx.pg_flags == 0002c1a1
AMD_PG_SUPPORT_GFX_PG
AMD_PG_SUPPORT_CP
AMD_PG_SUPPORT_RLC_SMU_HS
AMD_PG_SUPPORT_SDMA
AMD_PG_SUPPORT_VCN
AMD_PG_SUPPORT_VCN_DPG
AMD_PG_SUPPORT_JPEG
Edited by Rafael Ristovski