diff options
author | Jani Nikula <jani.nikula@intel.com> | 2013-04-12 15:18:36 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-04-25 14:07:07 +0200 |
commit | d65406327345e5a5e0f697a3ffe3e53bc9b5d7c6 (patch) | |
tree | 767bdbce5e87fa69e7a8c92df814c94249e8717c /drivers/gpu/drm/i915/i915_suspend.c | |
parent | 2a7aceecf15a463ba6bfa83b6579e75bb4703cd9 (diff) | |
download | talos-obmc-linux-d65406327345e5a5e0f697a3ffe3e53bc9b5d7c6.tar.gz talos-obmc-linux-d65406327345e5a5e0f697a3ffe3e53bc9b5d7c6.zip |
drm/i915: keep max backlight internal to intel_panel.c
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 up intel_panel_get_max_backlight() and usage internally.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_suspend.c')
0 files changed, 0 insertions, 0 deletions