summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@linux.intel.com>2026-06-26 23:52:32 +0200
committerAndi Shyti <andi.shyti@linux.intel.com>2026-07-03 11:25:26 +0200
commitcf302c074e35131165d8e641c7191df3d22d8e23 (patch)
tree26f7d25f3c6e13e6582a30e3a00f9354944be90e /tools/perf/scripts/python/task-analyzer.py
parent36eda5b5c2d40da41cc0a5403c26986237cf9e87 (diff)
drm/i915/gt: Return bool values from a boolean helper
intel_has_gpu_reset() returns logically correct values by returning a function pointer when GPU reset is supported and NULL otherwise. However, as a boolean helper, it is more appropriate to return explicit true or false values. Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Reviewed-by: Raag Jadav <raag.jadav@intel.com> Link: https://lore.kernel.org/r/20260626215232.861416-1-andi.shyti@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions