On 2021-09-21 14:06, Alex Deucher wrote: > We are not going to support any new chips with the old > non-DC code so make it the default. > > Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> Reviewed-by: Harry Wentland <harry.wentland@xxxxxxx> Harry > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > index d64e5a209cf4..3f2686296f5b 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > @@ -3212,13 +3212,15 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type) > case CHIP_VANGOGH: > case CHIP_YELLOW_CARP: > #endif > + default: > return amdgpu_dc != 0; > -#endif > +#else > default: > if (amdgpu_dc > 0) > DRM_INFO_ONCE("Display Core has been requested via kernel parameter " > "but isn't supported by ASIC, ignoring\n"); > return false; > +#endif > } > } > >