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

Commit 8f994555 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/acp: fix resume on CZ systems with AZ audio



Nothing to do on resume on systems with AZ audio.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bcb31eba
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -425,6 +425,10 @@ static int acp_resume(void *handle)
	struct acp_pm_domain *apd;
	struct amdgpu_device *adev = (struct amdgpu_device *)handle;

	/* return early if no ACP */
	if (!adev->acp.acp_genpd)
		return 0;

	/* SMU block will power on ACP irrespective of ACP runtime status.
	 * Power off explicitly based on genpd ACP runtime status so that ACP
	 * hw and ACP-genpd status are in sync.