summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2017-11-06 14:52:28 -0500
committerOded Gabbay <oded.gabbay@gmail.com>2017-11-06 14:52:28 -0500
commit115c8c4104bab4c435e0eaf7ffd5aabaf2adbbd2 (patch)
treecd7e4739c549107ae2972478ac25227e0b83c555 /tools/perf/scripts/python/export-to-postgresql.py
parent6d566930257df564d0aaacad0f02855d9c85aecd (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 <Felix.Kuehling@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions