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 <alex.hung@amd.com>Acked-by: Tom Chung <chiahsuan.chung@amd.com>Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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 <jdhillon@amd.com>Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>Acked-by: Wayne Lin <wayne.lin@amd.com>Signed-off-by: Jasdeep Dhillon <jdhillon@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>