[Bug 55311] Since 3.7.1-17.1 radeon has no backlight when using vgaswitcheroo (regression)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Apr 20 07:22:27 PDT 2013


https://bugzilla.kernel.org/show_bug.cgi?id=55311





--- Comment #29 from Fede <fedevx at yahoo.com>  2013-04-20 14:22:27 ---
I tried:
======================
*** ./linux/drivers/gpu/drm/i915/intel_panel.c    2013-04-20 15:01:15.000000000
+0800
--- ./intel_panel.c    2013-04-20 18:25:15.000000000 +0800
***************
*** 296,302 ****
      struct drm_i915_private *dev_priv = dev->dev_private;

      dev_priv->backlight_enabled = false;
!     intel_panel_actually_set_backlight(dev, 0);

      if (INTEL_INFO(dev)->gen >= 4) {
          uint32_t reg, tmp;
--- 296,302 ----
      struct drm_i915_private *dev_priv = dev->dev_private;

      dev_priv->backlight_enabled = false;
!     //intel_panel_actually_set_backlight(dev, 0);

      if (INTEL_INFO(dev)->gen >= 4) {
          uint32_t reg, tmp;

======================

Hence removing the Else statement Daniel added and
'intel_panel_actually_set_backlight(dev, 0);' which he had removed too.
Nonetheless the backlight still goes off. There must be a request to switch it
off somewhere down the code.

Regards,

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- 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