diff options
| author | Dominik Kaszewski <dominik.kaszewski@amd.com> | 2026-09-23 12:20:13 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-23 15:17:10 -0400 |
| commit | f05e235a54c0e7eedf7fe251db4dd5a58655ed3d (patch) | |
| tree | 7b543116bd466e3ee947800ef2ed3cbf730985f0 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 57ec117d628e232b59c0328a52f63b1f43a1e2d9 (diff) | |
| download | linux-f05e235a54c0e7eedf7fe251db4dd5a58655ed3d.tar.gz linux-f05e235a54c0e7eedf7fe251db4dd5a58655ed3d.zip | |
drm/amd/display: Fix compound literal stackframe limit
[Why]
Use of compound literals to initialize heap objects may create stack
temporaries when compiling in debug mode. For large objects such
as dc_memory_pool which is 2 pages large to avoid cacheline sharing,
this causes function stackframe to exceed kernel limit.
[How]
Replace compound literal with field-by-field initialization.
Reported-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/all/aq0vYhZXtMqA41wZ@sirena.org.uk/
Signed-off-by: Dominik Kaszewski <dominik.kaszewski@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
