summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2024-06-09 20:19:30 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2024-06-10 12:41:40 +0200
commit7eea2580994b4eb266fd9aa60b1c913be4151925 (patch)
treebd4ec8a604be567830d2d40f2370f820d9de96c9 /tools/perf/scripts/python
parent3a3fc10cce3b6cc6ac252f3b6f5d750f0b1d735e (diff)
drm/xe/guc: Add pc_to_ct() helper
We are converting xe_guc_pc to xe_guc_ct few times already. Add simple helper function to avoid code duplication. While at it, simplify other helper functions and fix order of local variables to match the guideline. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240609181931.1724-3-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions