drm/radeon/dpm: fix 120hz handling harder
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Mar 2015 21:05:10 +0000 (17:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Mar 2015 14:17:42 +0000 (10:17 -0400)
commit3899ca844b82fb201fb764f56eec483acb59a29c
tree3b2e057f58df5814f2e25b8703355ced4a0ce2d5
parent9822393d23ba9129396ab9308dbb8ce10ae74751
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
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c