drm/radeon/dpm: fix 120hz handling harder
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Mar 2015 21:05:10 +0000 (17:05 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 23 Apr 2015 18:58:20 +0000 (14:58 -0400)
commit2cd4d4120f6d7f49732a27db640771f9d510e476
tree1925d5d824a6dc3ee082db35c5c83fdd2344570e
parent19f2e4b1c2dbf24ba0c2cb7e36476fe2a9f3c0b0
drm/radeon/dpm: fix 120hz handling harder

[ Upstream commit 3899ca844b82fb201fb764f56eec483acb59a29c ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c