Skip to content

Commit b84bc92

Browse files
Timur Kristófalexdeucher
authored andcommitted
drm/amdgpu: Use amdgpu by default on CIK dedicated GPUs
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>
1 parent 7fe9ad4 commit b84bc92

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,9 @@ module_param_named(si_support, amdgpu_si_support, int, 0444);
641641
* CIK (Sea Islands) are second generation GCN GPUs, supported by both
642642
* drivers: radeon (old) and amdgpu (new). This parameter controls whether
643643
* amdgpu should support CIK.
644-
* By default, CIK chips are supported by radeon (except when radeon is not built).
644+
* By default:
645+
* - CIK dedicated GPUs are supported by amdgpu.
646+
* - CIK APUs are supported by radeon (except when radeon is not built).
645647
* Only relevant when CONFIG_DRM_AMDGPU_CIK is enabled to build CIK support in amdgpu.
646648
* See also radeon.cik_support which should be disabled when amdgpu.cik_support is
647649
* enabled, and vice versa.
@@ -2328,6 +2330,8 @@ static bool amdgpu_support_enabled(struct device *dev,
23282330

23292331
case CHIP_BONAIRE:
23302332
case CHIP_HAWAII:
2333+
support_by_default = true;
2334+
fallthrough;
23312335
case CHIP_KAVERI:
23322336
case CHIP_KABINI:
23332337
case CHIP_MULLINS:

drivers/gpu/drm/radeon/radeon_drv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ static bool radeon_support_enabled(struct device *dev,
277277

278278
case CHIP_BONAIRE:
279279
case CHIP_HAWAII:
280+
support_by_default = false;
281+
fallthrough;
280282
case CHIP_KAVERI:
281283
case CHIP_KABINI:
282284
case CHIP_MULLINS:

0 commit comments

Comments
 (0)