drm/amdgpu: add a cgs interface to fetch cg and pg flags
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Feb 2016 15:34:28 +0000 (10:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Feb 2016 15:37:46 +0000 (10:37 -0500)
commit08d334087617ed9662d40db776c5d2c0a614315a
treeb2ad14cd4d264afe1e66958f074bda609cf99d9d
parentf997e6f21308f0627c46caed0315ee005ef4775a
drm/amdgpu: add a cgs interface to fetch cg and pg flags

Needed to pass the cg and pg info to powerplay.

Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/include/cgs_common.h