]> git.hungrycats.org Git - linux/commit
drm/radeon/dpm: fix 120hz handling harder
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Mar 2015 21:05:10 +0000 (17:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Apr 2015 08:10:13 +0000 (10:10 +0200)
commit85bbd720e5ec6cf876bbdc2c8fd46cc4d35da70e
treee6d4ba2eec92f3e36a68dbaeb45b1f1082b655a7
parentf2d95aebb650ca307749c06d8cf97a1ad358d13d
drm/radeon/dpm: fix 120hz handling harder

commit 3899ca844b82fb201fb764f56eec483acb59a29c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c