summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2025-06-04 22:29:07 +0200
committerMatt Roper <matthew.d.roper@intel.com>2025-06-06 11:47:05 -0700
commit113c3f596807b7b593b389d923091821d1d46e1b (patch)
tree00989bb9bbf15b38edadc49538476ac56717be73 /tools/perf/scripts/python/export-to-sqlite.py
parentf574855a4c57dbabbfa7675e0516203c51ed833b (diff)
drm/xe/topology: Use register array size instead magic number
Since we keep registers in the array we can simply count them and stop relying on magic number when checking if didn't make mistake. Also we can switch to use xe_gt_assert() since it could be just our programming mistake during platform bringup, no need to keep drm_WARN() in the production driver. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20250604202908.769-3-michal.wajdeczko@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions