summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2024-07-18 22:31:55 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2024-07-19 11:06:09 +0200
commitad16682db18f4414e53bba1ce0db75b08bdc4dff (patch)
tree84517151bc14f319089c736b9f3d5168c0da0ec6 /tools/perf/scripts/python/gecko.py
parent2149ded63079449b8dddf9da38392632f155e6b5 (diff)
drm/xe/vf: Fix register value lookup
We should use the number of actual entries stored in the runtime register buffer, not the maximum number of entries that this buffer can hold, otherwise bsearch() may fail and we may miss the data and wrongly report unexpected access to some registers. Fixes: 4edadc41a3a4 ("drm/xe/vf: Use register values obtained from the PF") Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Piotr Piórkowski <piotr.piorkowski@intel.com> Cc: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240718203155.486-1-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions