Skip to contentSkip to conversation

Minimal kernel version for 7900XT

DISCUSSION Goran Mekić 3 participants 7 messages Jan 23, 2023

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to figure out what's the minimal kernel version that supports the 7900XT. I found that the driver supports SLES 15:
https://www.amd.com/en/support/graphics/amd-radeon-rx-7000-series/amd-radeon-rx-7900-series/amd-radeon-rx-7900xt

I also found that SLES 15 SP 4 runs on 5.14:
https://www.suse.com/support/kb/doc/?id=000019587#SLE15SP4

The problem I have is that I can't find PCI ID (for my card it's 744c) in the list:
https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c#L1654

Can you help me understand how this card works with Linux without PCI ID anywhere mentioned in the code, please? Thank you!

Regards,
meka

#1 lore raw

6.0 should be enough:
https://www.phoronix.com/review/rx7900xt-rx7900xtx-linux

The firmware files is maybe the most complicated part right now...

//Ernst

Den mån 23 jan. 2023 kl 11:11 skrev Goran Mekić <[email protected]>:

Quoted 21 lines

Hello,

I'm trying to figure out what's the minimal kernel version that supports the 7900XT. I found that the driver supports SLES 15:

https://www.amd.com/en/support/graphics/amd-radeon-rx-7000-series/amd-radeon-rx-7900-series/amd-radeon-rx-7900xt

I also found that SLES 15 SP 4 runs on 5.14:
https://www.suse.com/support/kb/doc/?id=000019587#SLE15SP4

The problem I have is that I can't find PCI ID (for my card it's 744c) in the list:

https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c#L1654

Can you help me understand how this card works with Linux without PCI ID anywhere mentioned in the code, please? Thank you!

Regards,
meka

#2 lore raw

On 1/23/23 12:28, Ernst Sjöstrand wrote:> 6.0 should be enough:

Quoted 6 lines

https://www.phoronix.com/review/rx7900xt-rx7900xtx-linux
<https://www.phoronix.com/review/rx7900xt-rx7900xtx-linux>

The firmware files is maybe the most complicated part right now...

//Ernst

I found that article, too, but what is confusing are two things:
* SLES 15 SP 4 doesn't run on 6.0 but 5.14.21
* Why is there no PCI ID in the kernel source?

Hence my request for help understanding how it even works.

Regards,
meka

#3 lore raw

Ah you were looking at the packaged driver installer (usually called "Proprietary" even though most of it is not).
It will install extra modules so it works with "any" kernel.

For the upstream Torvalds support I guess you end up in the CHIP_IP_DISCOVERY clause, it's a new method for new cards.

//Ernst

Den mån 23 jan. 2023 kl 12:47 skrev Goran Mekić <[email protected]>:

Quoted 16 lines

On 1/23/23 12:28, Ernst Sjöstrand wrote:> 6.0 should be enough:

Quoted 6 lines

https://www.phoronix.com/review/rx7900xt-rx7900xtx-linux
<https://www.phoronix.com/review/rx7900xt-rx7900xtx-linux>

The firmware files is maybe the most complicated part right now...

//Ernst

I found that article, too, but what is confusing are two things:
* SLES 15 SP 4 doesn't run on 6.0 but 5.14.21
* Why is there no PCI ID in the kernel source?

Hence my request for help understanding how it even works.

Regards,
meka

#4 lore raw
Quoted 6 lines · Ernst Sjöstrand

Ah you were looking at the packaged driver installer (usually called "Proprietary" even though most of it is not). It will install extra modules so it works with "any" kernel.

For the upstream Torvalds support I guess you end up in the CHIP_IP_DISCOVERY clause, it's a new method for new cards.

//Ernst

Ah, so that's it! Thank you for removing "black magic" bits! Much appreciated!

Regards,
meka

#5 lore raw
In reply to Goran Mekić
Quoted 9 lines · Goran Mekić

Hello,

I'm trying to figure out what's the minimal kernel version that supports the 7900XT. I found that the driver supports SLES 15:
https://www.amd.com/en/support/graphics/amd-radeon-rx-7000-series/amd-radeon-rx-7900-series/amd-radeon-rx-7900xt

I also found that SLES 15 SP 4 runs on 5.14:
https://www.suse.com/support/kb/doc/?id=000019587#SLE15SP4

Kernel 6.0 or newer.

Quoted 7 lines

The problem I have is that I can't find PCI ID (for my card it's 744c) in the list:
https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c#L1654

Can you help me understand how this card works with Linux without PCI ID anywhere mentioned in the code, please? Thank you!

The driver binds to all 0x1002 vendor ID display class devices. Once loaded, the driver parses a data table on the device to enumerate all of the engines on the GPU. If they are all supported, the driver loads.

Alex

#6 lore raw
Quoted 22 lines · Alex Deucher
Quoted 9 lines · Goran Mekić

Hello,

I'm trying to figure out what's the minimal kernel version that supports the 7900XT. I found that the driver supports SLES 15:
https://www.amd.com/en/support/graphics/amd-radeon-rx-7000-series/amd-radeon-rx-7900-series/amd-radeon-rx-7900xt

I also found that SLES 15 SP 4 runs on 5.14:
https://www.suse.com/support/kb/doc/?id=000019587#SLE15SP4

Kernel 6.0 or newer.

Quoted 7 lines

The problem I have is that I can't find PCI ID (for my card it's 744c) in the list:
https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c#L1654

Can you help me understand how this card works with Linux without PCI ID anywhere mentioned in the code, please? Thank you!

Quoted 6 lines

The driver binds to all 0x1002 vendor ID display class devices. Once loaded, the driver parses a data table on the device to enumerate all of the engines on the GPU. If they are all supported, the driver loads.

Alex

Thank you for the details!

Regards,
meka