[Bug 693232] New: FIXME entries in the log about the backlight (intel video)
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c0 Summary: FIXME entries in the log about the backlight (intel video) Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: carlos.e.r@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- FIXME entries in the log about the backlight (intel video) This is a compaq presario CQ61-330SS, Video is Intel GM45. May 9 02:26:17 minas-tirith kernel: [ 1899.130740] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero. May 9 02:50:47 minas-tirith kernel: [ 3369.724700] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero. May 9 02:50:47 minas-tirith kernel: [ 3369.724707] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c1 Andreas Hartmann <andihartmann@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andihartmann@freenet.de, | |jlee@novell.com --- Comment #1 from Andreas Hartmann <andihartmann@freenet.de> 2011-06-13 09:52:35 UTC --- Same problem with a MSI CR620 (from /var/log/messages): Jun 13 11:28:12 pc kernel: [101607.561452] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero. Jun 13 11:28:12 pc kernel: [101607.561733] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero. Jun 13 11:28:12 pc kernel: [101607.568381] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero. Jun 13 11:28:12 pc kernel: [101607.573784] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero. Jun 13 11:28:12 pc kernel: [101607.587834] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero. 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller]) Subsystem: Micro-Star International Co., Ltd. Device 1033 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 40 Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M] Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at e0e0 [size=8] Expansion ROM at <unassigned> [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee0500c Data: 4159 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a4] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: i915 [ 39433.167] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so [ 39433.167] (II) Module intel: vendor="X.Org Foundation" [ 39433.167] compiled for 1.9.3, module version = 2.14.0 [ 39433.167] Module class: X.Org Video Driver [ 39433.167] ABI class: X.Org Video Driver, version 8.0 [ 39433.167] (II) LoadModule: "fbdev" [ 39433.167] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so [ 39433.167] (II) Module fbdev: vendor="X.Org Foundation" [ 39433.167] compiled for 1.9.3, module version = 0.4.2 [ 39433.167] ABI class: X.Org Video Driver, version 8.0 [ 39433.167] (II) LoadModule: "vesa" [ 39433.168] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so [ 39433.168] (II) Module vesa: vendor="X.Org Foundation" [ 39433.168] compiled for 1.9.3, module version = 2.3.0 [ 39433.168] Module class: X.Org Video Driver [ 39433.168] ABI class: X.Org Video Driver, version 8.0 [ 39433.168] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale, Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c2 Joey Lee <jlee@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |mchang@novell.com InfoProvider| |mchang@novell.com Severity|Normal |Major --- Comment #2 from Joey Lee <jlee@novell.com> 2011-06-14 05:46:57 UTC --- Hi Michael, Have any idea for "*ERROR* fixme: max PWM is zero" ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c3 Michael Chang <mchang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mchang@novell.com | --- Comment #3 from Michael Chang <mchang@novell.com> 2011-06-14 06:50:20 UTC --- The error log should be in booting or trying to adjust backlight. Is the backlight normal after booting? Did the backlight control via, for eg, ACPI or xrandr has any problems? Thanks a lot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c4 Joey Lee <jlee@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |andihartmann@freenet.de --- Comment #4 from Joey Lee <jlee@novell.com> 2011-06-14 09:07:05 UTC --- Hi Andreas, Did the backlight control work on you CR620 machine? By Fn key? or direct echo value to backlight sysfs file? e.g. echo 2 /sys/class/backlight/acpi_video0/brightness -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c5 --- Comment #5 from Andreas Hartmann <andihartmann@freenet.de> 2011-06-14 18:47:10 UTC --- Hi Joey, the backlight works fine, with Fn key or with /sys/class... . But with every change of the backlight, there are 6-9 "*ERROR* fixme: max PWM is zero" entries in /var/log/messages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c Andreas Hartmann <andihartmann@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|andihartmann@freenet.de | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c6 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jeffm@suse.com Resolution| |WONTFIX --- Comment #6 from Jeff Mahoney <jeffm@suse.com> 2012-08-02 11:54:54 EDT --- With the coming release of openSUSE 12.2, openSUSE kernel developers are focusing their efforts there. Reports against openSUSE 11.4 and prior will not get the attention needed to resolve them before openSUSE 12.2 is release and openSUSE 11.4 becomes unmaintained. Please re-test with openSUSE 12.1 or openSUSE RC2+ and re-open with an updated Product if you still encounter your issue. We apologize for this issue not getting the attention it deserves but we are focusing our resources in the area where they will have the most impact for our users. We're working hard to make openSUSE 12.2 the best openSUSE release yet! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c7 --- Comment #7 from Carlos Robinson <carlos.e.r@opensuse.org> 2012-08-02 16:51:27 UTC --- Notice that 11.4 is not dead yet, it has to be maintained till two months after 12.2 is released. You are prematurely and improperly closing lots of bugs with that excuse :-/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c8 --- Comment #8 from Joey Lee <jlee@suse.com> 2012-08-03 04:31:37 UTC --- (In reply to comment #5)
Hi Joey,
the backlight works fine, with Fn key or with /sys/class... . But with every change of the backlight, there are 6-9 "*ERROR* fixme: max PWM is zero" entries in /var/log/messages.
It's a warning for BIOS setup max PWM register to 0, it causes by BIOS problem: drivers/gpu/drm/i915/intel_panel.c max = i915_read_blc_pwm_ctl(dev_priv); if (max == 0) { /* XXX add code here to query mode clock or hardware clock * and program max PWM appropriately. */ pr_warn_once("fixme: max PWM is zero\n"); return 1; } Looks PWM register can reconfig by kernel with mode clock, but kernel upstream didn't have this code until now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c9 --- Comment #9 from Joey Lee <jlee@suse.com> 2012-10-05 04:21:08 UTC --- OK, finally upstream choice to remove the i915 backlight interface when PWM is zero: http://cgit.freedesktop.org/~danvet/drm-intel/commit/?id=28dcc2d60cb570d9f54... author Jani Nikula <jani.nikula@intel.com> drm/i915: do not expose a dysfunctional backlight interface to userspace Previously intel_panel_setup_backlight() would create a sysfs backlight interface with max brightness of 1 if it was unable to figure out the max backlight brightness. This rendered the backlight interface useless. Do not create a dysfunctional backlight interface to begin with. This patch didn't merge in v3.6, but I think will show up in v3.7 kernel. For openSUSE, this patch will in 12.3. I will backport this patch for 12.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693232 https://bugzilla.novell.com/show_bug.cgi?id=693232#c10 --- Comment #10 from Joey Lee <jlee@suse.com> 2012-10-06 01:59:33 UTC --- Created an attachment (id=508435) --> (http://bugzilla.novell.com/attachment.cgi?id=508435) 0001-drm-i915-do-not-expose-a-dysfunctional-backlight-in.patch sent to kernel@suse.de for review. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com