diff options
| author | Chris Wilson <[email protected]> | 2018-03-13 00:40:54 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-03-13 09:43:50 +0000 |
| commit | 7aa0b14ede643fb7c33aaa8e0041de04a0d6f278 (patch) | |
| tree | 658713e42d0408b787a915263e90719788dbb79d /tools/perf/scripts/python | |
| parent | c37d57282033067edf60e044229a4b4f367cc81b (diff) | |
drm/i915: Remove variable length arrays from sseu debugfs printers
In order to enable -Wvla to prevent new variable length arrays being
used in i915.ko, we first must remove the existing VLA. Inside
i915_print_sseu_info(), VLA are used as the actual size of the sseu
depends on platform. Replace the VLA with the maximum required.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions