aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLee Shawn C <[email protected]>2021-09-08 19:56:06 +0800
committerVandita Kulkarni <[email protected]>2021-09-08 19:34:40 +0530
commit84d3d71fe3630c757580dc0c4b7d1c141785fbcc (patch)
tree423643c38a4a76966e953a8ff2d764734e90db4c /tools/perf/scripts/python
parentfe01883fdcefd09c7ceb91874c2f74ae074163d6 (diff)
drm/i915/dsi: Retrieve max brightness level from VBT
So far, DCS backlight driver hardcode (0xFF) for max brightness level. MIPI DCS spec allow max 0xFFFF for set_display_brightness (51h) command. And VBT brightness precision bits can support 8 ~ 16 bits. We should set correct precision bits in VBT that meet panel's request. Driver can refer to this setting then configure max brightness level in DCS backlight driver properly. v2: modify variable name brightness_precision_bits instead of max_brightness_level. v3: fix checkpatch warning. Cc: Ville Syrjala <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Vandita Kulkarni <[email protected]> Cc: Cooper Chiou <[email protected]> Cc: William Tseng <[email protected]> Signed-off-by: Lee Shawn C <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Vandita Kulkarni <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions