diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-02-18 19:14:46 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-02-18 22:41:05 +0400 |
commit | 5b43c3cd07981619dbdb1fb935ef705a3e80955f (patch) | |
tree | 66a7694269c54a33735eac2ccb2f2b0618c10f66 /drivers/gpu/drm | |
parent | 8f53492f86f9ca66bc762be98f0a9fce9bcb319a (diff) | |
download | linux-5b43c3cd07981619dbdb1fb935ef705a3e80955f.tar.xz |
drm/radeon/si: fix typo in dpm sq ramping setup
inverted logic.
Noticed-by: Sylvain BERTRAND <sylware@legeek.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/radeon/si_dpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c index eafb0e6bc67e..0a2f5b4bca43 100644 --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/drivers/gpu/drm/radeon/si_dpm.c @@ -2395,7 +2395,7 @@ static int si_populate_sq_ramping_values(struct radeon_device *rdev, if (SISLANDS_DPM2_SQ_RAMP_STI_SIZE > (STI_SIZE_MASK >> STI_SIZE_SHIFT)) enable_sq_ramping = false; - if (SISLANDS_DPM2_SQ_RAMP_LTI_RATIO <= (LTI_RATIO_MASK >> LTI_RATIO_SHIFT)) + if (SISLANDS_DPM2_SQ_RAMP_LTI_RATIO > (LTI_RATIO_MASK >> LTI_RATIO_SHIFT)) enable_sq_ramping = false; for (i = 0; i < state->performance_level_count; i++) { |