Michel Dänzer 4281f46ef8 drm/radeon: Restore LCD backlight level on resume (>= R5xx)
Instead of only enabling the backlight (which seems to set it to max
brightness), just re-set the current backlight level, which also takes
care of enabling the backlight if necessary.

Only the radeon_atom_encoder_dpms_dig part tested on a Kaveri laptop,
the radeon_atom_encoder_dpms_avivo part is only compile tested.

Cc: stable@vger.kernel.org
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-09-29 13:45:55 -04:00
..
2015-05-26 15:09:03 +02:00
2015-01-22 10:42:19 -05:00
2015-04-13 11:17:58 -04:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2015-05-26 10:31:21 -04:00
2011-03-31 11:26:23 -03:00
2014-03-06 16:46:56 -05:00
2014-12-02 10:58:33 +10:00
2013-12-18 11:35:01 +10:00
2013-12-18 11:35:01 +10:00
2015-05-07 11:00:15 -04:00
2015-09-23 17:23:47 -04:00