[Intel-gfx] [PATCH 2/5] i915: Add native backlight control
Ali Gholami Rudi
aliqrudi at gmail.com
Thu Jan 20 12:30:15 PST 2011
Matthew Garrett <mjg at redhat.com> wrote:
> Not all systems expose a firmware or platform mechanism for changing the
> backlight intensity on i915, so add native driver support.
After switching to 2.6.38-rc1 from 2.6.37
disappeared and I cannot control the backlight.
I tried using acpi_backlight=video but that didn't help
(this is an HP laptop BTW and I don't think there is a
native backlight control for it).
I tried to apply this patch but I get:
drivers/gpu/drm/i915/intel_panel.c: In function 'intel_panel_setup_backlight':
drivers/gpu/drm/i915/intel_panel.c:319: error: 'struct backlight_properties' has no member named 'type'
drivers/gpu/drm/i915/intel_panel.c:319: error: 'BACKLIGHT_RAW' undeclared (first use in this function)
drivers/gpu/drm/i915/intel_panel.c:319: error: (Each undeclared identifier is reported only once
drivers/gpu/drm/i915/intel_panel.c:319: error: for each function it appears in.)
make: *** [drivers/gpu/drm/i915/intel_panel.o] Error 1
make: *** [drivers/gpu/drm/i915] Error 2
make: *** [drivers/gpu/drm] Error 2
make: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)
$ find /sys/ -name "*backlight*"
More information about the dri-devel