Re: [bisected] i915 dpms does not switch back light on

From: Alex Davis
Date: Mon Oct 31 2011 - 19:41:30 EST




>> diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
>> index 6f56676..a9e0c7b 100644
>> --- a/drivers/gpu/drm/i915/intel_panel.c
>> +++ b/drivers/gpu/drm/i915/intel_panel.c
>> @@ -262,6 +262,8 @@ 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)
>Hi Alex,
>
>That indeed solves the problem here.
>
>Thanks for your swift response.
>
>Wouter

Actually, I sent you the wrong patch: the patch was supposed to remove those lines, not add them.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/