]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: CABC support for Panel PWM backlight control
authorDeepak M <m.deepak@intel.com>
Tue, 26 Apr 2016 13:14:26 +0000 (16:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 17 May 2016 13:12:39 +0000 (16:12 +0300)
commit7742cc253decf45e1d39c6d121cfe1bf93f25aee
tree929fe0744596f8bf26f1a8b237507234b8942dfa
parentb9a556b41304139f4029f1c905b761cab88d281b
drm/i915/dsi: CABC support for Panel PWM backlight control

In CABC (Content Adaptive Brightness Control) content grey level
scale can be increased while simultaneously decreasing
brightness of the backlight to achieve same perceived brightness.

The CABC is not standardized and panel vendors are free to follow
their implementation. The CABC implementaion here assumes that the
panels use standard SW register for control.

CABC is supported only when the PWM source for backlight is
from the panel.

v2 by Jani: rebase, renames, check cabc support earlier, etc.

Signed-off-by: Deepak M <m.deepak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/883faade74d2e598b143221ccc7df6daf4393a13.1461676337.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_dcs_backlight.c