Bug 90511 - [BYT] PMIC backlight support for Asus T100
Summary: [BYT] PMIC backlight support for Asus T100
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P3 enhancement
Assignee: intel-gfx-bugs@lists.freedesktop.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-31 15:14 UTC by Brian Loften
Modified: 2015-10-07 09:57 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.19.-rc2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Intel i915 Backlight Patch (7.81 KB, patch)
2014-12-31 15:14 UTC, Brian Loften
Details | Diff

Description Brian Loften 2014-12-31 15:14:44 UTC
Created attachment 162191 [details]
Intel i915 Backlight Patch

With the new kernel the backlight stopped working we had a patch written by jan michael brummer, but the patch stopped working probably due to code changes can we get a new patch?

I have attached the patch that was created 

It fails on Hunk #7  

diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c


+static int vlv_pmic_setup_backlight(struct intel_connector *connector)
+{
+	struct intel_panel *panel = &connector->panel;
+
+	printk("vlv_pmic_setup_backlight\n");
+	panel->backlight.present = 1;
+	panel->backlight.min = 0x00;
+	panel->backlight.max = 0xFF;
+	panel->backlight.level = 20;
+	panel->backlight.enabled = 1;
+
+	return 0;
+}
+
 int intel_panel_setup_backlight(struct drm_connector *connector)
 {

Thank you
Comment 1 Jani Nikula 2015-01-02 08:01:41 UTC
Similar to https://bugs.freedesktop.org/show_bug.cgi?id=85977

There's generally no support for out-of-tree code breakage. But since I couldn't find a feature request bug for T100 backlight, I'll leave this open for now.
Comment 2 Jani Nikula 2015-10-07 09:57:41 UTC
This should be fixed upstream.

Please file any new bug reports at the freedesktop.org bugzilla [1]. Thank you.

[1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel

Note You need to log in before you can comment on or make changes to this bug.