diff options
| author | SivapiriyanKumarasamy <[email protected]> | 2018-10-09 12:59:46 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-11-05 14:21:33 -0500 |
| commit | b76dfbef061acc29b74cc61e9fbbb60537edcc55 (patch) | |
| tree | a135426c48912317c194cd54765b86c30508f8b1 /tools/perf/scripts/python | |
| parent | 1fd8375236fc1d125c8c8bfb6462b3cfb139b6fe (diff) | |
drm/amd/display: Clip all remaining regamma points after first clipped point
[Why]
All values computed in the gamma curve after the first upperbound
clipped point will need to be clipped anyways. We can avoid
unnecessary computations and potential fixed point
overflow by instead clipping these values to 1 automatically.
[How]
Track if upper-bound clipping has been done, and clip all values after
this threshold is reached without computing the output gamma
point.
Signed-off-by: SivapiriyanKumarasamy <[email protected]>
Reviewed-by: Krunoslav Kovac <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions