aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorAndi Shyti <[email protected]>2022-03-19 01:39:32 +0200
committerMatthew Auld <[email protected]>2022-03-21 08:37:35 +0000
commitb9741faadbd64db562a85dc79b31b85fa354eeb5 (patch)
tree55eefcb1cef554fc1b343d1b702ddf6e153a411c /tools/perf/scripts
parentfa732088378fa0492bd85f32a89f1f39b305d363 (diff)
drm/i915/gt: add gt_is_root() helper
The "gt_is_root(struct intel_gt *gt)" helper return true if the gt is the root gt, which means that its id is 0. Return false otherwise. Suggested-by: Michal Wajdeczko <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Reviewed-by: Michal Wajdeczko <[email protected]> Reviewed-by: Andrzej Hajda <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions