diff options
author | Alex Hung <alex.hung@amd.com> | 2024-04-22 18:07:17 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:44 -0400 |
commit | 5396a70e8cf462ec5ccf2dc8de103c79de9489e6 (patch) | |
tree | 1ca335594a932851d4566f6642164dec16210e87 /tools/perf/scripts/python/gecko.py | |
parent | bd31e5026dc39e7ca46ffb763c513130f405b1a8 (diff) |
drm/amd/display: Check pipe offset before setting vblank
pipe_ctx has a size of MAX_PIPES so checking its index before accessing
the array.
This fixes an OVERRUN issue reported by Coverity.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions