diff options
| author | Umesh Nerlige Ramappa <[email protected]> | 2023-09-20 15:29:21 -0400 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:43:01 -0500 |
| commit | fd47ded2379265b58dd5ae699fa1f5a14e65fdfc (patch) | |
| tree | 9f7e0e84965a683dc4c019b080ecbc1577c81788 /tools/perf/scripts/python | |
| parent | 6de492ae5f5ee6edccf1e1fae472bc5f95cec8e6 (diff) | |
drm/xe: Fix array bounds check for queries
Queries are 0-indexed, so a query with value N is invalid if the
ARRAY_SIZE is N. Modify the check to account for that.
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Umesh Nerlige Ramappa <[email protected]>
Reviewed-by: Niranjana Vishwanathapura <[email protected]>
Signed-off-by: Francois Dugast <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions