drm/amdgpu: Power down acp if board uses AZ (v2)
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 19 Jul 2018 16:48:36 +0000 (11:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:42 +0000 (11:09 -0500)
commitbe2d6aa51e66625f93d3ba1eb817cd33d8136c60
tree58e889b6e51dfbeda6d2da62ada972b0eb2f5587
parent982976d92f17aa8ff5d7a4d09fab4608795d12f3
drm/amdgpu: Power down acp if board uses AZ (v2)

if board uses AZ rather than ACP, we power down acp
through smu to save power.

v2: handle S3/S4 and hw_fini (Alex)

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c