summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPuthikorn Voravootivat <puthik@chromium.org>2017-06-22 22:03:37 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-23 13:24:40 +0300
commitc03e53b030025e9243b6e5cb717ad143f3a442ce (patch)
treebdced595c22798b6aec9bd1d10112652ed154429 /net
parentc5e855d07834d67f30fab07e7d7316b090b8073f (diff)
downloadlinux-c03e53b030025e9243b6e5cb717ad143f3a442ce.tar.xz
drm/i915: Set PWM divider to match desired frequency in vbt
Read desired PWM frequency from panel vbt and calculate the value for divider in DPCD address 0x724 and 0x728 to have as many bits as possible for PWM duty cyle for granularity of brightness adjustment while the frequency divisor is still within 25% of the desired value. Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170622190339.142671-2-puthik@chromium.org
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions