diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-06-08 12:47:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-07 15:06:23 -0400 |
commit | ccdbb20a75e3e3917f327a185c1a45722b5d359f (patch) | |
tree | 9c666e7c9af403001605b51b947ce65a44ec1e51 /drivers/gpu/drm/amd/include | |
parent | 5e037834eb6218e4fa845347dbd9ef1b49c2550e (diff) | |
download | op-kernel-dev-ccdbb20a75e3e3917f327a185c1a45722b5d359f.zip op-kernel-dev-ccdbb20a75e3e3917f327a185c1a45722b5d359f.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
-rw-r--r-- | drivers/gpu/drm/amd/include/cgs_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/cgs_common.h b/drivers/gpu/drm/amd/include/cgs_common.h index 4ea7f3d..0c8c85d 100644 --- a/drivers/gpu/drm/amd/include/cgs_common.h +++ b/drivers/gpu/drm/amd/include/cgs_common.h @@ -49,6 +49,7 @@ enum cgs_ind_reg { CGS_IND_REG__SMC, CGS_IND_REG__UVD_CTX, CGS_IND_REG__DIDT, + CGS_IND_REG_GC_CAC, CGS_IND_REG__AUDIO_ENDPT }; |