[Intel-gfx] [PATCH] CHROMIUM: i915: fix max backlight in normal mode
james.ausmus at intel.com
james.ausmus at intel.com
Fri Aug 16 02:31:02 CEST 2013
From: Sonny Rao <sonnyrao at chromium.org>
Fix the setting of max backlight value in the case where there's no VBIOS.
The earlier port of CHROMIUM: drivers: i915: Default backlight PWM frequency
missed this case.
BUG=chromium:244616
TEST=test lumpy at max brightness and make sure the backlight stays on
Change-Id: I24550c01605618c722a985c84e80a69756408f09
Signed-off-by: Sonny Rao <sonnyrao at chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/58337
Reviewed-by: Stéphane Marchesin <marcheu at chromium.org>
---
drivers/gpu/drm/i915/intel_panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
index f5e4be1..bacdf69 100644
--- a/drivers/gpu/drm/i915/intel_panel.c
+++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -224,7 +224,7 @@ u32 intel_panel_get_max_backlight(struct drm_device *dev)
* default backlight PWM settings.
*/
i915_set_default_max_backlight(dev);
- max = i915_read_blc_pwm_ctl(dev);
+ max = _intel_panel_get_max_backlight(dev);
}
DRM_DEBUG_DRIVER("max backlight PWM = %d\n", max);
--
1.8.3.2
More information about the Intel-gfx
mailing list