From: Rex Zhu Date: Fri, 11 Mar 2016 19:39:31 +0000 (-0500) Subject: drm/amd/powerplay: init hwmgr for ELM/BAF X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b83c4ab9caf001a0cefe9f9226a501a9e8ae3f08;p=linux-beck.git drm/amd/powerplay: init hwmgr for ELM/BAF Reviewed-by: Alex Deucher Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c index 5fb98aa2e719..2c6819904017 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; }