aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorPuthikorn Voravootivat <[email protected]>2017-06-22 12:03:37 -0700
committerDaniel Vetter <[email protected]>2017-06-23 12:24:40 +0200
commitc03e53b030025e9243b6e5cb717ad143f3a442ce (patch)
treebdced595c22798b6aec9bd1d10112652ed154429 /tools/lib/api/debug.c
parentc5e855d07834d67f30fab07e7d7316b090b8073f (diff)
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 <[email protected]> Reviewed-by: Dhinakaran Pandiyan <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions