CHROMIUM: gpu: drm: i915_backlight : Set dev_priv->backlight level

Set backlight level so that the underlying intel_panel driver
restores the appropriate backlight level at resume time and
when the panel is resumed via lid open.

BUG=chromium-os:15643
TEST=log into guest mode.
Set backlight to maximum via brightness key.
Close lid to suspend.
Resume. Verify that the brightness is at max
Repeat test with brightness set to low.

Change-Id: Ifd6380b08c235208722d4433117f0b76570e4c1a
Signed-off-by: Benson Leung <bleung@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/1523
Reviewed-by: Bryan Freed <bfreed%chromium.org@gtempaccount.com>
Reviewed-on: http://gerrit.chromium.org/gerrit/1580
1 file changed