drm/amd/powerplay: make mmhub pg bit configured by pg_flags
authorHuang Rui <ray.huang@amd.com>
Fri, 14 Jun 2019 08:12:51 +0000 (16:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2019 18:54:32 +0000 (13:54 -0500)
commitc12d410ff2932009c89289174a0eb99f25968b05
tree1d6b2813bef0ced7f1fd9b55fc4a1578fda066d3
parentcb2a782eb8087d1bed61f58aa38fe06a693031d7
drm/amd/powerplay: make mmhub pg bit configured by pg_flags

The mmhub 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/powerplay/navi10_ppt.c