diff options
| author | Rex Zhu <Rex.Zhu@amd.com> | 2016-06-08 00:47:41 -0400 |
|---|---|---|
| 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) | |
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 4ea7f3dda2c0..0c8c85d2a2a5 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 { | |||
| 49 | CGS_IND_REG__SMC, | 49 | CGS_IND_REG__SMC, |
| 50 | CGS_IND_REG__UVD_CTX, | 50 | CGS_IND_REG__UVD_CTX, |
| 51 | CGS_IND_REG__DIDT, | 51 | CGS_IND_REG__DIDT, |
| 52 | CGS_IND_REG_GC_CAC, | ||
| 52 | CGS_IND_REG__AUDIO_ENDPT | 53 | CGS_IND_REG__AUDIO_ENDPT |
| 53 | }; | 54 | }; |
| 54 | 55 | ||
