summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-09-22 10:43:20 -0700
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 11:41:16 -0500
commitbabba646785d6855cba64fb0480beb8d3421cc52 (patch)
tree26b196cb86c56494b60e07e8dd0d3ec4db52eb08 /tools/perf/scripts/python
parentbc18dae50f165bc1c18284fe59d77dd00617b530 (diff)
drm/xe: Accept a const xe device
Depending on the context, it's preferred to have a const pointer to make sure nothing is modified underneath. The assert macros only ever read data from xe/tile/gt for printing, so they can be made const by default. Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Link: https://lore.kernel.org/r/20230922174320.2372617-1-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions