Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2579de43 authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d06b7e1c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -124,8 +124,11 @@ void dce_virtual_stop_mc_access(struct amdgpu_device *adev,
	case CHIP_POLARIS10:
		dce_v11_0_disable_dce(adev);
		break;
	case CHIP_TOPAZ:
		/* no DCE */
		return;
	default:
		DRM_ERROR("Usupported ASIC type: 0x%X\n", adev->asic_type);
		DRM_ERROR("Virtual display unsupported ASIC type: 0x%X\n", adev->asic_type);
	}

	return;