diff options
| author | Lee Shawn C <[email protected]> | 2021-09-08 19:56:06 +0800 |
|---|---|---|
| committer | Vandita Kulkarni <[email protected]> | 2021-09-08 19:34:40 +0530 |
| commit | 84d3d71fe3630c757580dc0c4b7d1c141785fbcc (patch) | |
| tree | 423643c38a4a76966e953a8ff2d764734e90db4c /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | fe01883fdcefd09c7ceb91874c2f74ae074163d6 (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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions