drm/amd: add pm domain for ACP IP sub blocks
authorMaruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com>
Mon, 23 Nov 2015 15:37:30 +0000 (21:07 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:17:09 +0000 (14:17 -0500)
commit25030321ba2860c56651429a4f28d94a6483d952
treefe5743ed9cf02b33fd64a0b6dee19f2e8a1ef126
parenta8fe58cec351c25e09c393bf46117c0c47b5a17c
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>
drivers/gpu/drm/amd/acp/Kconfig
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h