diff options
| author | Felix Kuehling <[email protected]> | 2017-11-06 14:52:28 -0500 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2017-11-06 14:52:28 -0500 |
| commit | 115c8c4104bab4c435e0eaf7ffd5aabaf2adbbd2 (patch) | |
| tree | cd7e4739c549107ae2972478ac25227e0b83c555 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 6d566930257df564d0aaacad0f02855d9c85aecd (diff) | |
drm/amdkfd: Use order_base_2 to get log2 of buffes sizes
Replace (ffs(size) - 1) with order_base_2(size) as a more straight
forward way to get log2 of buffer sizes.
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions