]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: Use amdgpu by default on CIK dedicated GPUs
authorTimur Kristóf <timur.kristof@gmail.com>
Sun, 9 Nov 2025 15:41:06 +0000 (16:41 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Nov 2025 16:27:24 +0000 (11:27 -0500)
The amdgpu driver has been working well on CIK dGPUs for years.
Now that the DC analog connector support landed, these GPUs
are at feature parity with the old radeon driver.

Additionally, amdgpu yields extra performance, supports Vulkan
and provides more display features through DC as well as more
robust power management.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/radeon/radeon_drv.c

index d0bd1a5a3c012c3ed75f0248998c5b05bb987e7e..09d3b080a4daa7397669bad93602cb3812066954 100644 (file)
@@ -641,7 +641,9 @@ module_param_named(si_support, amdgpu_si_support, int, 0444);
  * CIK (Sea Islands) are second generation GCN GPUs, supported by both
  * drivers: radeon (old) and amdgpu (new). This parameter controls whether
  * amdgpu should support CIK.
- * By default, CIK chips are supported by radeon (except when radeon is not built).
+ * By default:
+ * - CIK dedicated GPUs are supported by amdgpu.
+ * - CIK APUs are supported by radeon (except when radeon is not built).
  * Only relevant when CONFIG_DRM_AMDGPU_CIK is enabled to build CIK support in amdgpu.
  * See also radeon.cik_support which should be disabled when amdgpu.cik_support is
  * enabled, and vice versa.
@@ -2328,6 +2330,8 @@ static bool amdgpu_support_enabled(struct device *dev,
 
        case CHIP_BONAIRE:
        case CHIP_HAWAII:
+               support_by_default = true;
+               fallthrough;
        case CHIP_KAVERI:
        case CHIP_KABINI:
        case CHIP_MULLINS:
index 1dfe5482d48e24e9993c124de9dc0b46c03d7bad..440145fed625351ca20638c5c2650bd7cfe452b8 100644 (file)
@@ -277,6 +277,8 @@ static bool radeon_support_enabled(struct device *dev,
 
        case CHIP_BONAIRE:
        case CHIP_HAWAII:
+               support_by_default = false;
+               fallthrough;
        case CHIP_KAVERI:
        case CHIP_KABINI:
        case CHIP_MULLINS: