Bug 215499

Summary: AMDGPU: Tahiti flagged as "[drm] Unsupported asic. Remove me when IP discovery init is in place."
Product: Drivers Reporter: Alexandre Demers (alexandre.f.demers)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED MOVED    
Severity: normal CC: alexandre.f.demers, alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.16 Subsystem:
Regression: Yes Bisected commit-id:

Description Alexandre Demers 2022-01-16 19:39:06 UTC
Until kernel 5.16, using a Tahiti GPU was working great along the amdgpu driver. With the move to IP 
discovery table, Tahiti is listed as not supported. Here, both kernels 5.15.2 and 5.16 are launched with the following parameters: radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dpm=1 amdgpu.dc=1 amdgpu.ppfeaturemask=0xffffffff

This is what's reported by amdgpu since kernel 5.16 related to the IP discovery table integration:
---
jan 15 20:23:04 Xander kernel: [drm] radeon kernel modesetting enabled.
jan 15 20:23:04 Xander kernel: radeon 0000:04:00.0: SI support disabled by module param
jan 15 20:23:04 Xander kernel: [drm] amdgpu kernel modesetting enabled.
jan 15 20:23:04 Xander kernel: amdgpu: Ignoring ACPI CRAT on non-APU system
jan 15 20:23:04 Xander kernel: amdgpu: Virtual CRAT table created for CPU
jan 15 20:23:04 Xander kernel: amdgpu: Topology: Add CPU node
jan 15 20:23:04 Xander kernel: [drm] Unsupported asic.  Remove me when IP discovery init is in place.
...

This is what was reported prior, in version 5.15.2:
---
déc 11 16:30:33 Xander kernel: [drm] radeon kernel modesetting enabled.
déc 11 16:30:33 Xander kernel: radeon 0000:04:00.0: SI support disabled by module param
déc 11 16:30:33 Xander kernel: [drm] amdgpu kernel modesetting enabled.
déc 11 16:30:33 Xander kernel: amdgpu: Ignoring ACPI CRAT on non-APU system
déc 11 16:30:33 Xander kernel: amdgpu: Virtual CRAT table created for CPU
déc 11 16:30:33 Xander kernel: amdgpu: Topology: Add CPU node
déc 11 16:30:33 Xander kernel: checking generic (e0000000 7f0000) vs hw (e0000000 10000000)
déc 11 16:30:33 Xander kernel: fb0: switching to amdgpu from EFI VGA
déc 11 16:30:33 Xander kernel: Console: switching to colour dummy device 80x25
déc 11 16:30:33 Xander kernel: amdgpu 0000:04:00.0: vgaarb: deactivate vga console
déc 11 16:30:33 Xander kernel: [drm] initializing kernel modesetting (TAHITI 0x1002:0x6798 0x174B:0x3001 0x00).
déc 11 16:30:33 Xander kernel: amdgpu 0000:04:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
déc 11 16:30:33 Xander kernel: [drm] register mmio base: 0xFCA00000
déc 11 16:30:33 Xander kernel: [drm] register mmio size: 262144
déc 11 16:30:33 Xander kernel: [drm] PCIE atomic ops is not supported
déc 11 16:30:33 Xander kernel: [drm] add ip block number 0 <si_common>
déc 11 16:30:33 Xander kernel: [drm] add ip block number 1 <gmc_v6_0>
déc 11 16:30:33 Xander kernel: [drm] add ip block number 2 <si_ih>
déc 11 16:30:33 Xander kernel: [drm] add ip block number 3 <gfx_v6_0>
déc 11 16:30:33 Xander kernel: [drm] add ip block number 4 <si_dma>
déc 11 16:30:33 Xander kernel: [drm] add ip block number 5 <si_dpm>
déc 11 16:30:33 Xander kernel: [drm] add ip block number 6 <dm>
déc 11 16:30:33 Xander kernel: [drm] add ip block number 7 <uvd_v3_1>
...

Moving to IP discovery table shouldn't remove support to any already supported ASIC, even if this doesn't add any new feature.

Is this expected? Is the support to be added?
Comment 1 Alexandre Demers 2022-01-16 20:09:01 UTC
Also, the kernel provided by ArchLinux is built with CONFIG_DRM_AMDGPU_SI=y
Comment 2 Artem S. Tashkinov 2022-01-19 12:13:53 UTC
https://gitlab.freedesktop.org/drm/amd/-/issues/1860