OSDN Git Service

drm/amdgpu: add new HDP CG flags
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 29 Aug 2018 13:18:19 +0000 (21:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:25:46 +0000 (21:25 -0500)
commit714ff85251187a459c4eb28120d55b6a88cd2cb3
treedda3b4177e536c7dd3d1f0377ca733222e22bc7c
parent54fc447279ecfa919663448e4d8d640be9795a44
drm/amdgpu: add new HDP CG flags

HDP 5.0 supports SRAM power gating. all the LS (Light Sleep)/
DS (Deep Sleep)/SD (Shut Down) modes are supported. However,
only one of these modes can be enabled at one time.

There is no dynamic power mode switch support. clock/power gating
has to be disabled before making any power mode change.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/amd_shared.h