aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-04-25 18:37:58 -0600
committerAlex Deucher <[email protected]>2024-05-02 16:18:18 -0400
commit55ec7679e6a5f67d2831b87a24fe2d5066311fdd (patch)
treeacbe6589eb00d38404a0810b24c9485f4da4d3b9 /tools/perf/scripts/python/bin
parentae13c8a5cff92015b9a3eb7cee65ebc75859487f (diff)
drm/amd/display: Limit array index according to architecture
[WHY & HOW] ctx->architecture determine array sizes of ODMMode and DPPPerSurface arrays to __DML2_WRAPPER_MAX_STREAMS_PLANES__ or __DML_NUM_PLANES__, and these array index should be checked before used This fixes 2 OVERRUN issues reported by Coverity. Reviewed-by: Harry Wentland <[email protected]> Acked-by: Tom Chung <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions