[Bug 85861] backlight control doesn't work on Lenovo t440p after upgrading to 3.17 [bisected]
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Mon Oct 20 09:00:32 PDT 2014
https://bugzilla.kernel.org/show_bug.cgi?id=85861
--- Comment #9 from Jani Nikula <jani.nikula at intel.com> ---
Please try this patch:
diff --git a/drivers/gpu/drm/i915/intel_panel.c
b/drivers/gpu/drm/i915/intel_panel.c
index 18784470a760..443b62356e55 100644
--- a/drivers/gpu/drm/i915/intel_panel.c
+++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -1103,8 +1103,7 @@ static u32 get_backlight_min_vbt(struct intel_connector
*connector)
WARN_ON(panel->backlight.max == 0);
/* vbt value is a coefficient in range [0..255] */
- return scale(dev_priv->vbt.backlight.min_brightness, 0, 255,
- 0, panel->backlight.max);
+ return 0;
}
static int bdw_setup_backlight(struct intel_connector *connector)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the intel-gfx-bugs
mailing list