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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user