Skip to content

Use amdgpu by default on CIK dGPUs

Timur Kristóf amd-gfx 1 version Applied

Status from this message: Applied the series. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3drm/radeon: Refactor how SI and CIK support is determineddrivers/gpu/drm/radeon/radeon_drv.c+50 -280 replies
2/3drm/amdgpu: Refactor how SI and CIK support is determineddrivers/gpu/drm/amd/amdgpu/amdgpu_drv.c+88 -670 replies
3/3drm/amdgpu: Use amdgpu by default on CIK dedicated GPUsdrivers/gpu/drm/amd/amdgpu/amdgpu_drv.c drivers/gpu/drm/radeon/radeon_drv.c+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Use amdgpu by default on CIK dGPUs

Now that analog connector support is merged in DC, amdgpu has reached feature parity with the old radeon driver on CIK dedicated GPUs.

This series refactors how the default driver for SI/CIK is determined, adds a "-1" option for default, and makes it possible to determine the default depending on the chip. This way we can make sure to keep using radeon on those chips that are not at feature parity yet.

As a reminder, CIK dedicated GPUs are the following:
Hawaii (2013~2015): Radeon R9 290 and 390 series Bonaire (2013~2016): Radeon HD 7790/8870, R7 260/360/450, RX 455, FirePro W5100, etc. and their mobile variants.

Why?

Compared to the old radeon driver, amdgpu offers better performance, more display features through DC, as well as support for Vulkan 1.3 through RADV. (Note, although the hardware is 10 years old, the R9 290 still appears in the Steam hardware survey for Linux, albeit at a modest 0.25%.)

What can these GPUs actually do on amdgpu?

Hawaii (eg. R9 390X) can even play modern games such as Baldur's Gate 3 or Cyberpunk 2077 and gives a decent user experience considering the age of the hardware. Bonaire can play games from its era well.

Looking forward to reviews and feedback!

ps. After VCE1 support is merged, I would like to also enable amdgpu by default on SI dGPUs.

Timur Kristóf (3):
drm/radeon: Refactor how SI and CIK support is determined drm/amdgpu: Refactor how SI and CIK support is determined drm/amdgpu: Use amdgpu by default on CIK dedicated GPUs

 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 159 ++++++++++++++----------
 drivers/gpu/drm/radeon/radeon_drv.c     |  80 +++++++-----
 2 files changed, 144 insertions(+), 95 deletions(-)
Signature · 1 line
2.51.1