From: Rex Zhu <Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Rex Zhu <Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
Subject: [PATCH 3/4] drm/amd/powerplay: add CI support in powerplay
Date: Wed, 13 Sep 2017 21:08:35 +0800 [thread overview]
Message-ID: <1505308116-31991-3-git-send-email-Rex.Zhu@amd.com> (raw)
In-Reply-To: <1505308116-31991-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
Change-Id: I47a456f403b99ddce0b82ac28e038d8a2ce8a7d1
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
index 5cd5b8e..979f9d4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
@@ -73,6 +73,10 @@ static int amdgpu_pp_early_init(void *handle)
case CHIP_STONEY:
case CHIP_VEGA10:
case CHIP_RAVEN:
+#ifdef CONFIG_DRM_AMDGPU_CIK
+ case CHIP_BONAIRE:
+ case CHIP_HAWAII:
+#endif
adev->pp_enabled = true;
if (amdgpu_create_pp_handle(adev))
return -EINVAL;
@@ -91,11 +95,6 @@ static int amdgpu_pp_early_init(void *handle)
break;
#endif
#ifdef CONFIG_DRM_AMDGPU_CIK
- case CHIP_BONAIRE:
- case CHIP_HAWAII:
- amd_pp->ip_funcs = &ci_dpm_ip_funcs;
- amd_pp->pp_funcs = &ci_dpm_funcs;
- break;
case CHIP_KABINI:
case CHIP_MULLINS:
case CHIP_KAVERI:
--
1.9.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2017-09-13 13:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-13 13:08 [PATCH 1/4] drm/amd/powerplay: add ci support in smumgr Rex Zhu
[not found] ` <1505308116-31991-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2017-09-13 13:08 ` [PATCH 2/4] drm/amd/powerplay: add ci support in hwmgr Rex Zhu
[not found] ` <1505308116-31991-2-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2017-09-13 15:41 ` Deucher, Alexander
2017-09-13 13:08 ` Rex Zhu [this message]
2017-09-13 13:08 ` [PATCH 4/4] drm/amd/powerplay: fix pcie max lane define error Rex Zhu
[not found] ` <1505308116-31991-4-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2017-09-13 15:42 ` Deucher, Alexander
2017-09-13 15:29 ` [PATCH 1/4] drm/amd/powerplay: add ci support in smumgr Deucher, Alexander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1505308116-31991-3-git-send-email-Rex.Zhu@amd.com \
--to=rex.zhu-5c7gfcevmho@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox