summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-09-02 02:05:29 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 14:24:51 -0500
commitdca7b4015cb0d7a038e4bd9b903bad132b1badee (patch)
tree0aeec22c77ef2e0dc5d0d5473a5285b535eed298 /drivers/gpu
parentb6a8a2bc83f8b2c577faf5c2070f5096ae170d30 (diff)
downloadlinux-dca7b4015cb0d7a038e4bd9b903bad132b1badee.tar.gz
linux-dca7b4015cb0d7a038e4bd9b903bad132b1badee.tar.bz2
linux-dca7b4015cb0d7a038e4bd9b903bad132b1badee.zip
drm/amdgpu: add vega12 to dc support check
DC is used for modesetting on vega12. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 229ec63f0435..d7245c7949ac 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2095,6 +2095,7 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
return amdgpu_dc != 0;
#endif
case CHIP_VEGA10:
+ case CHIP_VEGA12:
#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
case CHIP_RAVEN:
#endif