[PATCH] drm/radeon: Restore LCD backlight level on resume (>= R5xx)

2015-09-29 Thread Alex Deucher
On Mon, Sep 28, 2015 at 5:16 AM, Michel Dänzer wrote: > From: Michel Dänzer > > 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_e

[PATCH] drm/radeon: Restore LCD backlight level on resume (>= R5xx)

2015-09-28 Thread Michel Dänzer
From: Michel Dänzer 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_enco