mirror of https://gitee.com/openkylin/linux.git
drm/amd/display: Enable Vega by default.
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d4d4a64574
commit
42f8ffa108
|
@ -1988,16 +1988,16 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
|
||||||
case CHIP_POLARIS12:
|
case CHIP_POLARIS12:
|
||||||
case CHIP_TONGA:
|
case CHIP_TONGA:
|
||||||
case CHIP_FIJI:
|
case CHIP_FIJI:
|
||||||
case CHIP_VEGA10:
|
|
||||||
#if defined(CONFIG_DRM_AMD_DC_PRE_VEGA)
|
#if defined(CONFIG_DRM_AMD_DC_PRE_VEGA)
|
||||||
return amdgpu_dc != 0;
|
return amdgpu_dc != 0;
|
||||||
#endif
|
#endif
|
||||||
case CHIP_KABINI:
|
case CHIP_KABINI:
|
||||||
case CHIP_MULLINS:
|
case CHIP_MULLINS:
|
||||||
return amdgpu_dc > 0;
|
return amdgpu_dc > 0;
|
||||||
#endif
|
case CHIP_VEGA10:
|
||||||
#if defined(CONFIG_DRM_AMD_DC) && defined(CONFIG_DRM_AMD_DC_DCN1_0)
|
#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
|
||||||
case CHIP_RAVEN:
|
case CHIP_RAVEN:
|
||||||
|
#endif
|
||||||
return amdgpu_dc != 0;
|
return amdgpu_dc != 0;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue