diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-02-18 19:16:28 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-02-18 22:41:06 +0400 |
commit | 21ed4947fdfe19b60a27b84162622e56439c7937 (patch) | |
tree | 83e381ab52bd5cdaa87d82b3a0ac9915f3ceecb9 | |
parent | 5b43c3cd07981619dbdb1fb935ef705a3e80955f (diff) | |
download | linux-21ed4947fdfe19b60a27b84162622e56439c7937.tar.xz |
drm/radeon/ni: fix typo in dpm sq ramping setup
inverted logic.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
-rw-r--r-- | drivers/gpu/drm/radeon/ni_dpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/ni_dpm.c b/drivers/gpu/drm/radeon/ni_dpm.c index 1217fbcbdcca..ca814276b075 100644 --- a/drivers/gpu/drm/radeon/ni_dpm.c +++ b/drivers/gpu/drm/radeon/ni_dpm.c @@ -2588,7 +2588,7 @@ static int ni_populate_sq_ramping_values(struct radeon_device *rdev, if (NISLANDS_DPM2_SQ_RAMP_STI_SIZE > (STI_SIZE_MASK >> STI_SIZE_SHIFT)) enable_sq_ramping = false; - if (NISLANDS_DPM2_SQ_RAMP_LTI_RATIO <= (LTI_RATIO_MASK >> LTI_RATIO_SHIFT)) + if (NISLANDS_DPM2_SQ_RAMP_LTI_RATIO > (LTI_RATIO_MASK >> LTI_RATIO_SHIFT)) enable_sq_ramping = false; for (i = 0; i < state->performance_level_count; i++) { |