summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>2018-10-09 12:59:46 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-11-05 14:21:33 -0500
commitb76dfbef061acc29b74cc61e9fbbb60537edcc55 (patch)
treea135426c48912317c194cd54765b86c30508f8b1 /tools/perf/scripts/python/export-to-sqlite.py
parent1fd8375236fc1d125c8c8bfb6462b3cfb139b6fe (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 <sivapiriyan.kumarasamy@amd.com> Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions