drm/amdgpu: add read/write function for GC CAC programming
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 8 Jun 2016 04:47:41 +0000 (12:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:06:23 +0000 (15:06 -0400)
commitccdbb20a75e3e3917f327a185c1a45722b5d359f
tree9c666e7c9af403001605b51b947ce65a44ec1e51
parent5e037834eb6218e4fa845347dbd9ef1b49c2550e
drm/amdgpu: add read/write function for GC CAC programming

Create a GC_CAC_IND_INDEX/DATA pair of funcitons to program
all the CAC registers

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/vi.c
drivers/gpu/drm/amd/include/cgs_common.h