drm/radeon/dpm: retain user selected performance level across state changes
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Oct 2013 21:31:42 +0000 (17:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Nov 2013 19:25:48 +0000 (15:25 -0400)
commit14ac88af156efcefac9ba3cf249ae84f9ff71d37
treec8a2355cdcc53e922b427f4fc0c9b05f4f7b4742
parent0a17af373c61b4ded44a2cbac62c05ae5dad2106
drm/radeon/dpm: retain user selected performance level across state changes

If the user has forced the state high or low, retain that preference
even when we switch power states.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=70654

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c