diff options
author | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2023-03-24 01:58:57 +0300 |
---|---|---|
committer | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2023-03-24 18:49:42 +0300 |
commit | 3c67ce061b2136e0578734bae82fdf85c2c76217 (patch) | |
tree | 27246b5d4a9f298f70dcc60ce67ce00b97caf846 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dbc9a5fb168deb140722c12d8332b25754def017 (diff) | |
download | linux-3c67ce061b2136e0578734bae82fdf85c2c76217.tar.xz |
drm/i915/perf: Handle non-power-of-2 reports
Some of the newer OA formats are not powers of 2. For those formats,
adjust the hw_tail accordingly when checking for new reports.
v2: (Ashutosh)
- Switch to OA_TAKEN for diff calculation
- Use OA_BUFFER_SIZE instead of the vma size
- Update comments
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230323225901.3743681-8-umesh.nerlige.ramappa@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions