drm/radeon: restore backlight level on resume
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2012 13:45:50 +0000 (09:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2012 14:22:42 +0000 (10:22 -0400)
commitbced76f27165ca7733437715185c3a1aa526f7a1
treeb7c782d651723e49f19819a2beeccc827a0fcad5
parent6d92f81dcf2d40b8ebb947bba5435642b830f649
drm/radeon: restore backlight level on resume

Restore the backlight level on resume.  Some systems
need to explicitly restore the backlight level on
resume.

Fixes panel resume on my Trinity laptop and may fix the
following bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=43829
https://bugzilla.kernel.org/show_bug.cgi?id=46241

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_encoders.c
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_encoders.c
drivers/gpu/drm/radeon/radeon_mode.h