From: Alex Deucher <alexdeucher@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: Rex Zhu <Rex.Zhu@amd.com>
Subject: [PATCH 45/52] drm/amd/powrplay: fix issue that get wrong enable flag.
Date: Wed, 23 Mar 2016 13:43:01 -0400 [thread overview]
Message-ID: <1458754988-16222-46-git-send-email-alexander.deucher@amd.com> (raw)
In-Reply-To: <1458754988-16222-1-git-send-email-alexander.deucher@amd.com>
From: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
index d08f739..446ed72 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
@@ -3960,14 +3960,11 @@ static int polaris10_trim_single_dpm_states(struct pp_hwmgr *hwmgr,
uint32_t low_limit, uint32_t high_limit)
{
uint32_t i;
- struct polaris10_hwmgr *data = (struct polaris10_hwmgr *)(hwmgr->backend);
for (i = 0; i < dpm_table->count; i++) {
if ((dpm_table->dpm_levels[i].value < low_limit)
|| (dpm_table->dpm_levels[i].value > high_limit))
dpm_table->dpm_levels[i].enabled = false;
- else if (((1 << i) & data->disable_dpm_mask) == 0)
- dpm_table->dpm_levels[i].enabled = false;
else
dpm_table->dpm_levels[i].enabled = true;
}
--
2.5.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2016-03-23 17:44 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-23 17:42 [PATCH 00/52] amdgpu Polaris support Alex Deucher
2016-03-23 17:42 ` [PATCH 02/52] drm/amdgpu: add ELM/BAF asic types Alex Deucher
2016-03-23 17:42 ` [PATCH 03/52] drm/amdgpu: add ELM/BAF DCE11 configs Alex Deucher
2016-03-23 17:42 ` [PATCH 04/52] drm/amdgpu: update atombios.h (v2) Alex Deucher
2016-03-23 17:42 ` [PATCH 05/52] drm/amdgpu/atom: add SetDCEClock helper Alex Deucher
2016-03-23 17:42 ` [PATCH 06/52] drm/amdgpu/atom: add support for new SetPixelClock table Alex Deucher
2016-03-23 17:42 ` [PATCH 07/52] drm/amdgpu/atom: add support for new DIGxEncoderControl cmd table Alex Deucher
2016-03-23 17:42 ` [PATCH 08/52] drm/amdgpu/atom: add support for new UNIPHYTransmitterContol " Alex Deucher
2016-03-23 17:42 ` [PATCH 09/52] drm/amdgpu: add ELM/BAF support to dce_v11_0_pick_pll Alex Deucher
2016-03-23 17:42 ` [PATCH 10/52] drm/amdgpu/dce11: update pll programming for ELM/BAF Alex Deucher
2016-03-23 17:42 ` [PATCH 11/52] drm/amdgpu/dce11: add dce clock setting " Alex Deucher
2016-03-23 17:42 ` [PATCH 12/52] drm/amdgpu: add GMC support " Alex Deucher
2016-03-23 17:42 ` [PATCH 13/52] drm/amdgpu: add DCE golden setting " Alex Deucher
2016-03-23 17:42 ` [PATCH 14/52] drm/amdgpu: add SDMA support " Alex Deucher
2016-03-23 17:42 ` [PATCH 15/52] drm/amdgpu: add an interface to get gfx constants from atombios Alex Deucher
2016-03-23 17:42 ` [PATCH 16/52] drm/amdgpu: add mmRLC_CGCG_CGLS_CTRL_3D & mmRLC_CGCG_RAMP_CTRL_3D Alex Deucher
2016-03-23 17:42 ` [PATCH 17/52] drm/amdgpu: add GFX support for ELM/BAF Alex Deucher
2016-03-23 17:42 ` [PATCH 18/52] drm/amdgpu: add UVD " Alex Deucher
2016-03-23 17:42 ` [PATCH 19/52] drm/amdgpu: add VCE support to ELM/BAF Alex Deucher
2016-03-23 17:42 ` [PATCH 20/52] drm/amd/powerplay: add header files for ellesmere smu manager Alex Deucher
2016-03-23 17:42 ` [PATCH 21/52] drm/amd/powerplay: add smu support for ellesmere/baffin Alex Deucher
2016-03-23 17:42 ` [PATCH 22/52] drm/amd/powerplay: enable dpm for baffin Alex Deucher
2016-03-24 1:03 ` Vasily Anonimov
2016-03-23 17:42 ` [PATCH 23/52] drm/amd/powerplay: init hwmgr for ELM/BAF Alex Deucher
2016-03-23 17:42 ` [PATCH 24/52] drm/amd/powerplay: enable powerplay for baffin Alex Deucher
2016-03-23 17:42 ` [PATCH 25/52] drm/amd/powerplay: add thermal control for elm/baf Alex Deucher
2016-03-23 17:42 ` [PATCH 26/52] drm/amd/powerplay: add UVD&VCE DPM and powergating support " Alex Deucher
2016-03-23 17:42 ` [PATCH 27/52] drm/amd/amdgpu: Add smc_sk firmware in baffin & ellesmere Alex Deucher
2016-03-23 17:42 ` [PATCH 28/52] drm/amd/powerplay: Add smc_sk firmware to " Alex Deucher
2016-03-23 17:42 ` [PATCH 29/52] drm/amd/powerplay: update baffin & ellesmere smc_sk firmware Alex Deucher
2016-03-23 17:42 ` [PATCH 30/52] drm/amd/powerplay: add all blocks clockgating support through SMU/powerplay Alex Deucher
2016-03-23 17:42 ` [PATCH 31/52] drm/amd/powerplay: add GFX/SYS clockgating support for ELM/BAF Alex Deucher
2016-03-23 17:42 ` [PATCH 32/52] drm/amd/amdgpu: add query GFX cu info in CGS query system info Alex Deucher
2016-03-23 17:42 ` [PATCH 33/52] drm/amd/powerplay: add GFX per cu powergating support through SMU/powerplay Alex Deucher
2016-03-23 17:42 ` [PATCH 34/52] drm/amd/powerplay: add GFX per cu powergating for Baffin Alex Deucher
2016-03-23 17:42 ` [PATCH 35/52] drm/amd/amdgpu: add medium grain powergating support " Alex Deucher
2016-03-23 17:42 ` [PATCH 36/52] drm/amd/powerplay: add default clockgating handling Alex Deucher
2016-03-23 17:42 ` [PATCH 37/52] drm/amd/amdgpu: add power gating initialization support for GFX8.0 Alex Deucher
2016-03-23 17:42 ` [PATCH 38/52] drm/amd/amdgpu: add power gating init for Baffin Alex Deucher
2016-03-23 17:42 ` [PATCH 39/52] drm/amdgpu: ungate SMC clockgating first before suspend Alex Deucher
2016-03-23 17:42 ` [PATCH 40/52] drm/amdgpu: update the core VI support for ELM/BAF Alex Deucher
2016-03-23 17:42 ` [PATCH 41/52] drm/amdgpu: add ELM/BAF pci ids Alex Deucher
2016-03-23 17:42 ` [PATCH 43/52] drm/amd/powerplay: print gpu loading and uvd/vce power gate enablement for polaris10/11 Alex Deucher
2016-03-23 17:43 ` [PATCH 44/52] drm/amd/powerplay: fix mclk in high clock for baffin Alex Deucher
2016-03-23 17:43 ` Alex Deucher [this message]
2016-03-23 17:43 ` [PATCH 46/52] drm/amd/powerplay: enable set lowest mclk clock on baffin Alex Deucher
2016-03-23 17:43 ` [PATCH 47/52] drm/amd/powerplay: Disable Spread Spectrum on DPM 0 on baffin as SPLL Shut Down feature is enabled Alex Deucher
2016-03-23 17:43 ` [PATCH 48/52] drm/amdgpu: add polaris10/11 smc fw declaration Alex Deucher
2016-03-23 17:43 ` [PATCH 49/52] drm/amd/dal: add core support for Polaris family (v2) Alex Deucher
2016-03-23 17:43 ` [PATCH 50/52] drm/amd/dal/dm: add polaris support Alex Deucher
2016-03-23 17:43 ` [PATCH 51/52] drm/amdgpu: add dal support for polaris Alex Deucher
2016-03-23 17:43 ` [PATCH 52/52] drm/amd/dal: Enable Polaris support in the Kconfig Alex Deucher
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=1458754988-16222-46-git-send-email-alexander.deucher@amd.com \
--to=alexdeucher@gmail.com \
--cc=Rex.Zhu@amd.com \
--cc=dri-devel@lists.freedesktop.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