summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h
diff options
context:
space:
mode:
authorMaruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com>2015-11-23 18:37:30 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-02-10 22:17:09 +0300
commit25030321ba2860c56651429a4f28d94a6483d952 (patch)
treefe5743ed9cf02b33fd64a0b6dee19f2e8a1ef126 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h
parenta8fe58cec351c25e09c393bf46117c0c47b5a17c (diff)
downloadlinux-25030321ba2860c56651429a4f28d94a6483d952.tar.xz
drm/amd: add pm domain for ACP IP sub blocks
ACP IP have internal DMA controller, DW I2S controller and DSPs as separate power tiles. DMA and I2S devices are added to generic pm domain, so that entire IP can be powered off/on at appropriate times. Unused DSPs are made to be powered off though they are powered on during ACP pm domain power on sequence. Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h
index 24952ed8209e..f6e32a639107 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h
@@ -34,6 +34,7 @@ struct amdgpu_acp {
struct amd_acp_private *private;
struct mfd_cell *acp_cell;
struct resource *acp_res;
+ struct acp_pm_domain *acp_genpd;
};
extern const struct amd_ip_funcs acp_ip_funcs;