drm/amdgpu: Use DC by default on SI dGPUs
Subsystems (2)
PATCH 1/1 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.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -13
@@ -4249,24 +4249,13 @@ bool amdgpu_device_asic_has_dc_support(struct pci_dev *pdev,case CHIP_PITCAIRN :case CHIP_VERDE :case CHIP_OLAND : -/* -* We have systems in the wild with these ASICs that require -* LVDS and VGA support which is not supported with DC. -* -* Fallback to the non-DC driver here by default so as not to -* cause regressions. -*/ -#if defined(CONFIG_DRM_AMD_DC_SI ) -return amdgpu_dc >0 ; -#else -return false; -#endif +return amdgpu_dc !=0 &&IS_ENABLED (CONFIG_DRM_AMD_DC_SI );case CHIP_KAVERI :case CHIP_KABINI :case CHIP_MULLINS :/* * We have systems in the wild with these ASICs that require -* VGA support which is not supported with DC. +* TRAVIS and NUTMEG support which is not supported with DC. * * Fallback to the non-DC driver here by default so as not to * cause regressions.
Signature · 1 line
2.51.1
Alex Deucher
AppliedApplied. Thanks!
Quoted 51 lines · Timur Kristóf
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 <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2
-14@@ -4249,24 +4249,13 @@ bool amdgpu_device_asic_has_dc_support(struct pci_dev *pdev,case CHIP_PITCAIRN :case CHIP_VERDE :case CHIP_OLAND : -/* -* We have systems in the wild with these ASICs that require -* LVDS and VGA support which is not supported with DC. -* -* Fallback to the non-DC driver here by default so as not to -* cause regressions. -*/ -#if defined(CONFIG_DRM_AMD_DC_SI ) -return amdgpu_dc >0 ; -#else -return false; -#endif +return amdgpu_dc !=0 &&IS_ENABLED (CONFIG_DRM_AMD_DC_SI );case CHIP_KAVERI :case CHIP_KABINI :case CHIP_MULLINS :/* * We have systems in the wild with these ASICs that require -* VGA support which is not supported with DC. +* TRAVIS and NUTMEG support which is not supported with DC. * * Fallback to the non-DC driver here by default so as not to * cause regressions. -- 2.51.1