diff options
| author | Dmytro Laktyushkin <[email protected]> | 2020-05-11 10:33:58 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-05-28 14:00:50 -0400 |
| commit | b236e048ec633a35b2a83d663f74c22ef04b9bab (patch) | |
| tree | e62c7f849343c5b57687a525b22e1fb6409574c3 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 0023b7eec02c1ddd76c184cfa584dfdc37903c94 (diff) | |
drm/amd/display: simplify dml log2 function
Current implementation is slightly inaccurate and will often
result in truncation/floor operation decrementing an exact
integer output by 1.
Only rounded down output is ever expected, just extract the fp
exponent for this to increase performance and avoid any
truncation issues.
Signed-off-by: Dmytro Laktyushkin <[email protected]>
Reviewed-by: Eric Bernstein <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions