projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb31eb
)
drm/amdgpu/acp: fix resume on CZ systems with AZ audio
author
Alex Deucher
<
[email protected]
>
Thu, 14 Apr 2016 03:37:42 +0000
(23:37 -0400)
committer
Alex Deucher
<
[email protected]
>
Mon, 18 Apr 2016 15:18:36 +0000
(11:18 -0400)
Nothing to do on resume on systems with AZ audio.
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
index d6b0bff510aaa719dbb0f9cce269645b06716127..b7b583c42ea82410b2c80825185da124e385219c 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
@@
-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.