diff options
author | John Harrison <[email protected]> | 2022-05-05 14:38:06 -0700 |
---|---|---|
committer | Matt Roper <[email protected]> | 2022-05-10 15:30:47 -0700 |
commit | 6cd96877c7da6bc3a28ef0bcb3bc7470f4dd9aa6 (patch) | |
tree | 8d93c59c708550f38eeefb62a77db5631f017cbd /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 4de23dca7ec8dfb191ea80fbfe3f008d4ed52346 (diff) |
drm/i915/pvc: Reduce stack usage in reset selftest with extra blitter engine
PVC adds extra blitter engines (in the following patch). The reset
selftest has a local array on the stack which is sized by the number
of engines. The increase pushes the size of this array to the point
where it trips the 'stack too large' compile warning. This patch takes
the allocation of the stack and makes it dynamic instead.
v2 (MattR):
- Minor cosmetic changes: re-sort definition and allocate using
kmalloc_array(). (Tvrtko)
Cc: Tvrtko Ursulin <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions