diff options
| author | Josip Pavic <[email protected]> | 2019-11-26 12:26:14 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-12-18 16:09:09 -0500 |
| commit | d87dedb1eca506adbb2647e96615676c2915952b (patch) | |
| tree | 88abd6dfda3368dd4ea02c764927e13264c7cbb2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8d5bc3a5b8fec50ff175cf59a411723ae98b8317 (diff) | |
drm/amd/display: fix regamma build optimization
[Why]
When the global variable pow_buffer_ptr is set to -1, by definition
optimizations should not be used to build the regamma. Since
translate_from_linear_space unconditionally increments this global, it
inadvertently enables the optimization.
[How]
Increment pow_buffer_ptr only if it is not -1.
Signed-off-by: Josip Pavic <[email protected]>
Reviewed-by: Krunoslav Kovac <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions