Skip to content

Commit ccd3b4c

Browse files
Timur Kristófalexdeucher
authored andcommitted
drm/amdgpu: Use amdgpu by default on SI dedicated GPUs (v2)
Now that the DC analog connector support and VCE1 support landed, amdgpu is at feature parity with the old radeon driver on SI dGPUs. Enabling the amdgpu driver by default for SI dGPUs has the following benefits: - More stable OpenGL support through RadeonSI - Vulkan support through RADV - Improved performance - Better display features through DC Users who want to keep using the old driver can do so using: amdgpu.si_support=0 radeon.si_support=1 v2: - Update documentation in Kconfig file Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent c034426 commit ccd3b4c

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

drivers/gpu/drm/amd/amdgpu/Kconfig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,16 @@ config DRM_AMDGPU_SI
4343
bool "Enable amdgpu support for SI parts"
4444
depends on DRM_AMDGPU
4545
help
46-
Choose this option if you want to enable experimental support
46+
Choose this option if you want to enable support
4747
for SI (Southern Islands) asics.
4848

49-
SI is already supported in radeon. Experimental support for SI
50-
in amdgpu will be disabled by default and is still provided by
51-
radeon. Use module options to override this:
49+
SI (Southern Islands) are first generation GCN GPUs,
50+
supported by both drivers: radeon (old) and amdgpu (new).
51+
By default, SI dedicated GPUs are supported by amdgpu.
5252

53-
radeon.si_support=0 amdgpu.si_support=1
53+
Use module options to override this:
54+
To use radeon for SI,
55+
radeon.si_support=1 amdgpu.si_support=0
5456

5557
config DRM_AMDGPU_CIK
5658
bool "Enable amdgpu support for CIK parts"

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ module_param_named(timeout_period, amdgpu_watchdog_timer.period, uint, 0644);
623623
* SI (Southern Islands) are first generation GCN GPUs, supported by both
624624
* drivers: radeon (old) and amdgpu (new). This parameter controls whether
625625
* amdgpu should support SI.
626-
* By default, SI chips are supported by radeon (except when radeon is not built).
626+
* By default, SI dedicated GPUs are supported by amdgpu.
627627
* Only relevant when CONFIG_DRM_AMDGPU_SI is enabled to build SI support in amdgpu.
628628
* See also radeon.si_support which should be disabled when amdgpu.si_support is
629629
* enabled, and vice versa.
@@ -2326,6 +2326,7 @@ static bool amdgpu_support_enabled(struct device *dev,
23262326
param = "si_support";
23272327
module_param = amdgpu_si_support;
23282328
amdgpu_support_built = IS_ENABLED(CONFIG_DRM_AMDGPU_SI);
2329+
support_by_default = true;
23292330
break;
23302331

23312332
case CHIP_BONAIRE:

drivers/gpu/drm/radeon/radeon_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ static bool radeon_support_enabled(struct device *dev,
273273
gen = "SI";
274274
module_param = radeon_si_support;
275275
amdgpu_support_built &= IS_ENABLED(CONFIG_DRM_AMDGPU_SI);
276+
support_by_default = false;
276277
break;
277278

278279
case CHIP_BONAIRE:

0 commit comments

Comments
 (0)