diff options
author | Johnson Lin <[email protected]> | 2018-01-30 21:21:29 +0530 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2018-02-22 17:38:30 +0200 |
commit | db9c06dfff43b2a040ba2b4f2300c30e454dd930 (patch) | |
tree | ced63999a272e1d85e9b4947eec610f7deba88f3 /tools/perf/scripts/python/futex-contention.py | |
parent | 4552f50a439c36fd5f8c6f1ec2d5ba7c8574ce97 (diff) |
drm/i915: Fix Limited Range Color Handling
Some panels support limited range output (16-235) compared
to full range RGB values (0-255). Also userspace can control
the RGB range using "Broadcast RGB" property. Currently the
code to handle full range to limited range is broken. This
patch fixes the same by properly scaling down all the full
range co-efficients with limited range scaling factor.
v2: Fixed Ville's review comments.
v3: Changed input to const and used correct data types as
suggested by Ville
v4: Fixed some missing data type corrections.
Signed-off-by: Johnson Lin <[email protected]>
Signed-off-by: Uma Shankar <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions