> Chris, I do not know if it is i915 driver or X'drm or what..
> Problem exists on 3.1.0, no problem on 3.0.3
Any way you could narrow it down a bit more? A bisect should sort it out
pretty quickly, given that you've got working code in 3.0 and
not-working code in 3.1-rc. You can start by manually bisecting across the
3.1 release candidates, and then narrow it down from there by bisecting
only across the drivers/gpu/drm/i915 directory.
I'm having the same problem.
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
Anyway, for Eeepc reverting the
aaa6fd2a004147bf32fce05720938236de3361d9
seems to be fixing the issue. Which is not of course the way we want to go ;-(
Woody
>Matthew - this is your most excellent patch which adds a native
>backlight mechanism. What other info do you need to help figure out how
>to make it play well on other machines? We've got a handful of
>regressions about backligh in the 3.1 RC series, and I'd hate to have to
>revert this...
I'd hate to have it reverted as well. Without this patch, my laptop screen is too bright to
look at comfortably. Fortunately the workarounds make it usable even in its current state.
I code, therefore I am
> The following patch fixed my backlight issues:
>
> diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
> index a9e0c7b..6f56676 100644
> --- a/drivers/gpu/drm/i915/intel_panel.c
> +++ b/drivers/gpu/drm/i915/intel_panel.c
> @@ -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.
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.
>> Yes, but I have no backlight control: the screen is too bright to look at comfortably.
This sounds whiny. I'm sorry about that.
>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.
> 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.