drm/amdgpu: add cgs_interface for pg and cg
authorrezhu <rezhu@amd.com>
Fri, 7 Aug 2015 05:37:56 +0000 (13:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:12 +0000 (16:50 -0400)
commit404b2fa3385565b1c472a0482f6564a1550fc8d1
tree1744fdc4b001064de053b39f9f3dc19fa3b46e09
parent97baee7170099dac2ce5671d3bb9cb364194b052
drm/amdgpu: add cgs_interface for pg and cg

v3: check whether ip_blocks is enable
v2: add break in the for loop.

Signed-off-by: Rex zhu <rezhu@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/include/cgs_common.h