Bug 90511
Summary: | [BYT] PMIC backlight support for Asus T100 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Brian Loften (bloften80) |
Component: | Video(DRI - Intel) | Assignee: | intel-gfx-bugs (intel-gfx-bugs) |
Status: | RESOLVED CODE_FIX | ||
Severity: | enhancement | CC: | intel-gfx-bugs |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.19.-rc2 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Intel i915 Backlight Patch |
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. 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 |
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