drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box[Why]Coverity reports OVERRUN warning. soc.num_states couldbe 40. But array range of bw_params->clk_table.entrie
drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box[Why]Coverity reports OVERRUN warning. soc.num_states couldbe 40. But array range of bw_params->clk_table.entries is 8.[How]Assert if soc.num_states greater than 8.Reviewed-by: Alex Hung <[email protected]>Acked-by: Tom Chung <[email protected]>Signed-off-by: Hersen Wu <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
show more ...
drm/amd/display: move FPU associated DCN302 code to DML folder (#2266)[Why & How]As part of the FPU isolation work documented inhttps://patchwork.freedesktop.org/series/93042/, isolatecode that
drm/amd/display: move FPU associated DCN302 code to DML folder (#2266)[Why & How]As part of the FPU isolation work documented inhttps://patchwork.freedesktop.org/series/93042/, isolatecode that uses FPU in DCN302 to DML, where all FPU codeshould locate.Co-authored-by: Jasdeep Dhillon <[email protected]>Reviewed-by: Rodrigo Siqueira <[email protected]>Acked-by: Wayne Lin <[email protected]>Signed-off-by: Jasdeep Dhillon <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>