diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-03-11 14:39:31 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:25:56 -0400 |
commit | b83c4ab9caf001a0cefe9f9226a501a9e8ae3f08 (patch) | |
tree | 0e51757af32dbe3dc4b73fba577047bd9be6a085 /drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | |
parent | a23eefa2f4615af91ea496ca5b55c9e7c6fa934c (diff) | |
download | op-kernel-dev-b83c4ab9caf001a0cefe9f9226a501a9e8ae3f08.zip op-kernel-dev-b83c4ab9caf001a0cefe9f9226a501a9e8ae3f08.tar.gz |
drm/amd/powerplay: init hwmgr for ELM/BAF
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c index 5fb98aa..2c68199 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c @@ -34,6 +34,7 @@ extern int cz_hwmgr_init(struct pp_hwmgr *hwmgr); extern int tonga_hwmgr_init(struct pp_hwmgr *hwmgr); extern int fiji_hwmgr_init(struct pp_hwmgr *hwmgr); +extern int ellesemere_hwmgr_init(struct pp_hwmgr *hwmgr); int hwmgr_init(struct amd_pp_init *pp_init, struct pp_instance *handle) { @@ -67,6 +68,10 @@ int hwmgr_init(struct amd_pp_init *pp_init, struct pp_instance *handle) case CHIP_FIJI: fiji_hwmgr_init(hwmgr); break; + case CHIP_BAFFIN: + case CHIP_ELLESMERE: + ellesemere_hwmgr_init(hwmgr); + break; default: return -EINVAL; } |