summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-03-19 00:05:10 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-03-27 17:17:42 +0300
commit3899ca844b82fb201fb764f56eec483acb59a29c (patch)
tree3b2e057f58df5814f2e25b8703355ced4a0ce2d5 /drivers/gpu/drm/radeon/radeon.h
parent9822393d23ba9129396ab9308dbb8ce10ae74751 (diff)
downloadlinux-3899ca844b82fb201fb764f56eec483acb59a29c.tar.xz
drm/radeon/dpm: fix 120hz handling harder
Need to expand the check to handle short circuiting if the selected state is the same as current state. bug: https://bugs.freedesktop.org/show_bug.cgi?id=87796 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 5587603b4a89..33d5a4f4eebd 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1565,6 +1565,7 @@ struct radeon_dpm {
int new_active_crtc_count;
u32 current_active_crtcs;
int current_active_crtc_count;
+ bool single_display;
struct radeon_dpm_dynamic_state dyn_state;
struct radeon_dpm_fan fan;
u32 tdp_limit;