[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 <harry.wentland@amd.com>
Fixes:
|
||
---|---|---|
.. | ||
bw_fixed.c | ||
calcs_logger.h | ||
custom_float.c | ||
dce_calcs.c | ||
dcn_calc_auto.c | ||
dcn_calc_auto.h | ||
dcn_calc_math.c | ||
dcn_calcs.c | ||
Makefile |