aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorHarry Wentland <[email protected]>2021-09-07 20:22:13 -0400
committerAlex Deucher <[email protected]>2021-09-23 15:17:30 -0400
commit1f2fcc8183e372b5d8f0e00d3e42e5d6a4a6a336 (patch)
tree123e299fde0db78605a9cfac90595b5cec6c0fb4 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent757af27b9fbbba773a28939a14dbb9bd516202c6 (diff)
drm/amd/display: Allocate structs needed by dcn_bw_calc_rq_dlg_ttu in pipe_ctx
[Why & How] dcn_bw_calc_rq_dlg_ttu uses a stack frame great than 1024. To solve this we could allocate the rq_param, dlg_sys_param, and input structs dynamically. Since this function is inside a kernel_fpu_begin()/end() call we want to avoid memory allocation. Instead it's much safer to pre-allocate these on the pipe_ctx. Signed-off-by: Harry Wentland <[email protected]> Fixes: 3fe617ccafd6 ("Enable '-Werror' by default for all kernel builds") Cc: Nick Desaulniers <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: [email protected] Cc: Linux Kernel Mailing List <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Leo Li <[email protected]> Cc: Alex Deucher <[email protected]> Cc: Christian König <[email protected]> Cc: Xinhui Pan <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: [email protected] Acked-by: Christian König <[email protected]> Build-tested-by: Nathan Chancellor <[email protected]> Reviewed-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions