Skip to content

Commit 2da2e95

Browse files
Timur Kristófalexdeucher
authored andcommitted
drm/amdgpu: Use DC by default on SI dGPUs
Now that DC supports analog connectors, it has reached feature parity with the legacy non-DC display driver on SI dGPUs. Use the DC display driver by default on SI dGPUs, unless it is explicitly disabled using the amdgpu.dc=0 module parameter. DC brings proper support for DP/HDMI audio, DP MST, 10-bit colors, some HDR features, atomic modesetting, etc. Also clarify the comment about what is missing to have full DC support for CIK APUs. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 237d623 commit 2da2e95

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

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

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4249,24 +4249,13 @@ bool amdgpu_device_asic_has_dc_support(struct pci_dev *pdev,
42494249
case CHIP_PITCAIRN:
42504250
case CHIP_VERDE:
42514251
case CHIP_OLAND:
4252-
/*
4253-
* We have systems in the wild with these ASICs that require
4254-
* LVDS and VGA support which is not supported with DC.
4255-
*
4256-
* Fallback to the non-DC driver here by default so as not to
4257-
* cause regressions.
4258-
*/
4259-
#if defined(CONFIG_DRM_AMD_DC_SI)
4260-
return amdgpu_dc > 0;
4261-
#else
4262-
return false;
4263-
#endif
4252+
return amdgpu_dc != 0 && IS_ENABLED(CONFIG_DRM_AMD_DC_SI);
42644253
case CHIP_KAVERI:
42654254
case CHIP_KABINI:
42664255
case CHIP_MULLINS:
42674256
/*
42684257
* We have systems in the wild with these ASICs that require
4269-
* VGA support which is not supported with DC.
4258+
* TRAVIS and NUTMEG support which is not supported with DC.
42704259
*
42714260
* Fallback to the non-DC driver here by default so as not to
42724261
* cause regressions.

0 commit comments

Comments
 (0)