Skip to contentSkip to conversation

Regression: i915 blank issue on kernel 3.1.0-rc3

DISCUSSION Alex Davis 2 participants 9 messages Sep 25, 2011 – Oct 6, 2011

Subsystems (2)
lore
Share & tools
lore
author
#1 lore raw
Quoted 8 lines

From: Alex Davis <[email protected]>
To: "[email protected]" <[email protected]>; "[email protected]" <[email protected]> Cc:
Sent: Sunday, September 25, 2011 9:37 AM
Subject: Re: Regression: i915 blank issue on kernel 3.1.0-rc3

I'm having the same problem.

Quoted 8 lines

http://marc.info/?l=linux-kernel&m=131695739702141&w=2

Please keep me on the CC list for this thread.

Thanks.

I code, therefore I am

The following patch fixed my backlight issues:

drivers/gpu/drm/i915/intel_panel.c +0 -0
index a9e0c7b..6f56676 100644
@@ -262,8 +262,6 @@ void intel_panel_disable_backlight(struct drm_device *dev)

         dev_priv->backlight_level = intel_panel_get_backlight(dev); dev_priv->backlight_enabled = false;
     }
-
-    intel_panel_set_backlight(dev, 0);
 }

 void intel_panel_enable_backlight(struct drm_device *dev)

I've been using it since yesterday morning with no issues.

#2 lore raw
Quoted 16 lines · Alex Davis

The following patch fixed my backlight issues:

drivers/gpu/drm/i915/intel_panel.c +0 -2
index a9e0c7b..6f56676 100644
@@ -262,8 +262,6 @@ void intel_panel_disable_backlight(struct drm_device *dev)
          dev_priv->backlight_level = intel_panel_get_backlight(dev);
          dev_priv->backlight_enabled = false;
      }
-
-    intel_panel_set_backlight(dev, 0);
  }


 void intel_panel_enable_backlight(struct drm_device *dev)

Quoted 1 line

I've been using it since yesterday morning with no issues.

Matthew -- if we cannot resolve this backlight issue, we're going to need to disable the new backlight code for 3.1. Do you want to try and fix it? Or should we bail for now?

Signature · 1 line
[email protected]
author
#3 lore raw

.From: Keith Packard <[email protected]>

Quoted 16 lines
Quoted 16 lines

The following patch fixed my backlight issues:

drivers/gpu/drm/i915/intel_panel.c +0 -2
index a9e0c7b..6f56676 100644
@@ -262,8 +262,6 @@ void intel_panel_disable_backlight(struct drm_device *dev)
          dev_priv->backlight_level = intel_panel_get_backlight(dev);
          dev_priv->backlight_enabled = false;
      }
-
-    intel_panel_set_backlight(dev, 0);
  }


 void intel_panel_enable_backlight(struct drm_device *dev)

Quoted 5 lines
Quoted 1 line

I've been using it since yesterday morning with no issues.

Matthew -- if we cannot resolve this backlight issue, we're going to need to disable the new backlight code for 3.1. Do you want to try and fix it? Or should we bail for now?

By 'disable', do you mean revert? If so, I would the like chance to submit a patch that adds a boot parameter for the driver to disable the backlight by default, e.g: i915_disable_bl. Once the issues are sorted, the parameter could be removed.

#4 lore raw
Quoted 3 lines · Alex Davis

By 'disable', do you mean revert? If so, I would the like chance to submit a patch that adds a boot parameter for the driver to disable the backlight by default, e.g: i915_disable_bl. Once the issues are sorted, the parameter could be removed.

If your machine used to work (with 3.0) and does not work with 3.1-rc, then we need to fix the driver so that, with no configuration changes, your machine continues to work. Preventing regressions is our primary responsibility when changing the drivers.

Does reverting Matthew's backlight patch fix a regression on your machine?

Signature · 1 line
[email protected]
author
#5 lore raw


I code, therefore I am

----- Original Message -----
From: Keith Packard <[email protected]>

Quoted 8 lines
Quoted 3 lines

By 'disable', do you mean revert? If so, I would the like chance to submit a patch that adds a boot parameter for the driver to disable the backlight by default, e.g: i915_disable_bl. Once the issues are sorted, the parameter could be removed.

If your machine used to work (with 3.0) and does not work with 3.1-rc, then we need to fix the driver so that, with no configuration changes, your machine continues to work. Preventing regressions is our primary responsibility when changing the drivers.

The patch I sent in a previous message in this thread makes it work correctly. If I added an explanation and a 'Signed-by' line, could someone pick it up?

Quoted 1 line

Does reverting Matthew's backlight patch fix a regression on your machine?

Yes, but I have no backlight control: the screen is too bright to look at comfortably.

#6 lore raw
Quoted 2 lines · Alex Davis

The patch I sent in a previous message in this thread makes it work correctly. If I added an explanation and a 'Signed-by' line, could someone pick it up?

It would almost certainly break some other machine. We could, of course, use a quirk to make your machine work, but that's something of a last-resort as it won't fix any other machines.

Quoted 1 line

Yes, but I have no backlight control: the screen is too bright to look at comfortably.

Ok, so the new native backlight driver works, but conflicts with your previous backlight driver (whatever that was). Adding support for the native backlight driver (Matthew's patch) and disabling the old backlight mechanisms makes everything better. Right?

Signature · 1 line
[email protected]
author
#7 lore raw

.From: Keith Packard <[email protected]>

Quoted 8 lines
Quoted 2 lines

The patch I sent in a previous message in this thread makes it work correctly. If I added an explanation and a 'Signed-by' line, could someone pick it up?

It would almost certainly break some other machine. We could, of course, use a quirk to make your machine work, but that's something of a last-resort as it won't fix any other machines.

Quoted 1 line

Yes, but I have no backlight control: the screen is too bright to look at comfortably.

This sounds whiny. I'm sorry about that.

Quoted 2 lines

Ok, so the new native backlight driver works, but conflicts with your previous backlight driver (whatever that was).

It does not conflict. The previous backlight driver, dell_backlight, is still present on my machine; it just doesn't work, and never did.

Quoted 2 lines

Adding support for the native backlight driver (Matthew's patch) and disabling the old backlight mechanisms makes everything better. Right?

No. The patch is against the native backlight code; it's not necessary to disable the other backlight.

author
#8 lore raw
In reply to Keith Packard

I now see that the patch I submitted, while against the native backlight related code, is not against the patch-related code. I agree that this patch is not suitable for inclusion.