aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
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/task-analyzer.py
parentdrm/xe/guc: Move H2G SETUP_PC_GUCRC definition to SLPC ABI (diff)
downloadlinux-7eea2580994b4eb266fd9aa60b1c913be4151925.tar.gz
linux-7eea2580994b4eb266fd9aa60b1c913be4151925.zip
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions