Re: [Intel-gfx] [PATCH 1/4] drm/i915: keep max backlight internal to intel_panel.c

2013-04-12 Thread Chris Wilson
On Fri, Apr 12, 2013 at 03:18:36PM +0300, Jani Nikula wrote: > In preparation of adding locking to backlight, make max backlight value > (the modulation frequency the PWM duty cycle value must not exceed) > internal to intel_panel.c. > > Have intel_panel_set_backlight() accept a caller defined ran

[Intel-gfx] [PATCH 1/4] drm/i915: keep max backlight internal to intel_panel.c

2013-04-12 Thread Jani Nikula
In preparation of adding locking to backlight, make max backlight value (the modulation frequency the PWM duty cycle value must not exceed) internal to intel_panel.c. Have intel_panel_set_backlight() accept a caller defined range for level, and scale input to max backlight value internally. Clean