[Intel-gfx] [PATCH 2/5] i915: Add native backlight control

Ali Gholami Rudi aliqrudi at gmail.com
Thu Jan 20 22:13:46 CET 2011


Ali Gholami Rudi <aliqrudi at gmail.com> wrote:
> 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.)

After applying patch 1/5, the patch applied cleanly.
Now I can change the brightness using
/sys/class/backlight/intel_backlight/brightness.
So it does fix my issue.

Thanks,
Ali




More information about the Intel-gfx mailing list