commit | bced76f27165ca7733437715185c3a1aa526f7a1 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Fri Sep 14 09:45:50 2012 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Sep 27 10:22:42 2012 -0400 |
tree | b7c782d651723e49f19819a2beeccc827a0fcad5 | |
parent | 6d92f81dcf2d40b8ebb947bba5435642b830f649 [diff] [blame] |
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>
diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c b/drivers/gpu/drm/radeon/radeon_encoders.c index 93b0d64..e66c807 100644 --- a/drivers/gpu/drm/radeon/radeon_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_encoders.c
@@ -179,6 +179,7 @@ radeon_atom_backlight_init(radeon_encoder, connector); else radeon_legacy_backlight_init(radeon_encoder, connector); + rdev->mode_info.bl_encoder = radeon_encoder; } } }