diff options
author | Maíra Canal <[email protected]> | 2023-05-12 07:40:44 -0300 |
---|---|---|
committer | Maíra Canal <[email protected]> | 2023-05-15 10:58:10 -0300 |
commit | 8b25320887d7feac98875546ea0f521628b745bb (patch) | |
tree | 4a1e72888735fdbb59b886610b81636b16fe9410 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 812562b8d881ce6d33fed8052b3a10b718430fb5 (diff) |
drm: Add fixed-point helper to get rounded integer values
Create a new fixed-point helper to allow us to return the rounded value
of our fixed point value.
[v2]:
* Create the function drm_fixp2int_round() (Melissa Wen).
[v3]:
* Use drm_fixp2int() instead of shifting manually (Arthur Grillo).
Signed-off-by: Maíra Canal <[email protected]>
Reviewed-by: Arthur Grillo <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions