drm/amd/powerplay: make athub pg bit configured by pg_flags
authorHuang Rui <ray.huang@amd.com>
Fri, 14 Jun 2019 08:19:36 +0000 (16:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2019 18:54:32 +0000 (13:54 -0500)
commita201b6ac20ff99e1c4b606f54874a20694e3b0c4
tree5da9ec911ad8e0c54bf3b4b83cecef0be95e96e0
parentc12d410ff2932009c89289174a0eb99f25968b05
drm/amd/powerplay: make athub pg bit configured by pg_flags

The athub pg features enabling should be indicated by pg_flags.

Reported-by: Lijo Lazar <Lijo.Lazar@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/include/amd_shared.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c