aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2024-07-26 18:59:05 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2024-07-29 11:19:40 -0700
commitd51a75ac975a6147a4dea2d68cef4566f5c2ecaf (patch)
tree451b52ce6daab0dcce72eabd0565e867a7d8d4e4 /tools/perf/scripts/python/libxed.py
parent6da8acfdb6e1aa72787efb733e3af9e9e0c57b9a (diff)
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/libxed.py')
0 files changed, 0 insertions, 0 deletions