diff options
author | Evan Quan <evan.quan@amd.com> | 2017-07-05 15:33:00 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-07-14 11:06:26 -0400 |
commit | 9b7b8154cdb8225cbef2f470285fd97ddbd34a44 (patch) | |
tree | aef77ef82712940cb9a93c85aa85253de00a4fd7 /drivers/gpu/drm/amd/powerplay/inc/pp_soc15.h | |
parent | 209ee27e9ba35c53e18284c7bb5ac2ba6a2fcd22 (diff) | |
download | lwn-9b7b8154cdb8225cbef2f470285fd97ddbd34a44.tar.gz lwn-9b7b8154cdb8225cbef2f470285fd97ddbd34a44.zip |
drm/amd/powerplay: added didt support for vega10
Signed-off-by: Evan Quan <evan.quan@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/powerplay/inc/pp_soc15.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/pp_soc15.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/pp_soc15.h b/drivers/gpu/drm/amd/powerplay/inc/pp_soc15.h index 227d999b6bd1..a511611ec7e0 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/pp_soc15.h +++ b/drivers/gpu/drm/amd/powerplay/inc/pp_soc15.h @@ -41,6 +41,8 @@ inline static uint32_t soc15_get_register_offset( reg = MP1_BASE.instance[inst].segment[segment] + offset; else if (hw_id == DF_HWID) reg = DF_BASE.instance[inst].segment[segment] + offset; + else if (hw_id == GC_HWID) + reg = GC_BASE.instance[inst].segment[segment] + offset; return reg; } |