diff options
author | 2024-07-26 18:59:05 -0700 | |
---|---|---|
committer | 2024-07-29 11:19:40 -0700 | |
commit | d51a75ac975a6147a4dea2d68cef4566f5c2ecaf (patch) | |
tree | 451b52ce6daab0dcce72eabd0565e867a7d8d4e4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/xe/kunit: Test rtp with no actions (diff) | |
download | wireguard-linux-d51a75ac975a6147a4dea2d68cef4566f5c2ecaf.tar.xz wireguard-linux-d51a75ac975a6147a4dea2d68cef4566f5c2ecaf.zip |
drm/xe/rtp: Simplify marking active workarounds
Stop doing the calculation both in rtp_mark_active() and in its caller.
The caller easily knows the number of entries to mark, so just pass it
forward. That also simplifies rtp_mark_active() since now it doesn't
have a special case when handling 1 entry.
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240727015907.899192-7-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions