diff options
| author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2021-08-25 18:33:48 +0300 |
|---|---|---|
| committer | Steven Price <steven.price@arm.com> | 2021-08-26 11:42:48 +0300 |
| commit | e9ae220d3f6f8f44250b83c6c332733fcae639fd (patch) | |
| tree | 9a8b5d169d83296fa92a586667a17206e1d60dd3 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 08994edbb81f5185780b4111abf053cfab90fe88 (diff) | |
| download | linux-e9ae220d3f6f8f44250b83c6c332733fcae639fd.tar.xz | |
drm/panfrost: Use upper/lower_32_bits helpers
Use upper_32_bits/lower_32_bits helpers instead of open-coding them.
This is easier to scan quickly compared to bitwise manipulation, and it
is pleasingly symmetric. I noticed this when debugging lock_region,
which had a particularly "creative" way of writing upper_32_bits.
v2: Use helpers for one more call site and add review tag (Steven).
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Rob Herring <robh@kernel.org> (v1)
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210825153348.4980-1-alyssa.rosenzweig@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
