From: Michel Dänzer Date: Mon, 28 Sep 2015 09:16:31 +0000 (+0900) Subject: drm/radeon: Restore LCD backlight level on resume (>= R5xx) X-Git-Tag: omap-for-v4.3/fixes-rc5~47^2~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4281f46ef839050d2ef60348f661eb463c21cc2e;p=pandora-kernel.git 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 Signed-off-by: Alex Deucher --- Reading git-diff-tree failed