[Bug 83021] Brightness is automatically set to zero when switching from X session to tty
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Mon Aug 25 04:55:40 PDT 2014
https://bugzilla.kernel.org/show_bug.cgi?id=83021
Jani Nikula <jani.nikula at intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #2 from Jani Nikula <jani.nikula at intel.com> ---
1) Please attach dmesg with drm.debug=0xe module param set all the way from
boot to the problem.
2) Please try this patch:
diff --git a/drivers/gpu/drm/i915/intel_panel.c
b/drivers/gpu/drm/i915/intel_panel.c
index 59b028f0b1e8..ad2bbf1ae090 100644
--- a/drivers/gpu/drm/i915/intel_panel.c
+++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -946,7 +946,8 @@ void intel_panel_enable_backlight(struct intel_connector
*connector)
WARN_ON(panel->backlight.max == 0);
- if (panel->backlight.level == 0) {
+ if (panel->backlight.level == 0 ||
+ panel->backlight.level < panel->backlight.min) {
panel->backlight.level = panel->backlight.max;
if (panel->backlight.device)
panel->backlight.device->props.brightness =
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the intel-gfx-bugs
mailing list