aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-08-08 14:40:04 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-08-08 14:40:04 -0400
commit2579de4394309da473d89cd5df08dc0bfe5e87f5 (patch)
tree3d539768adf9f70af27c81220bf2545843f39ac4 /drivers/gpu/drm/amd/amdgpu/dce_virtual.c
parentd06b7e1cf0fa4552fd725111b46df1ed0b649b15 (diff)
drm/amdgpu/virtual_dce: add case for topaz for disable_dce
This asic has no DCE block. Also clarify the error message for unmatched chips. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_virtual.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_virtual.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
index 4c8ca58a3f94..5499693f1dcf 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
@@ -124,8 +124,11 @@ void dce_virtual_stop_mc_access(struct amdgpu_device *adev,
124 case CHIP_POLARIS10: 124 case CHIP_POLARIS10:
125 dce_v11_0_disable_dce(adev); 125 dce_v11_0_disable_dce(adev);
126 break; 126 break;
127 case CHIP_TOPAZ:
128 /* no DCE */
129 return;
127 default: 130 default:
128 DRM_ERROR("Usupported ASIC type: 0x%X\n", adev->asic_type); 131 DRM_ERROR("Virtual display unsupported ASIC type: 0x%X\n", adev->asic_type);
129 } 132 }
130 133
131 return; 134 return;