Searched refs:remaining_det_segs (Results 1 – 1 of 1) sorted by relevance
1673 int remaining_det_segs = max_usable_det / DCN3_15_CRB_SEGMENT_SIZE_KB; in dcn315_populate_dml_pipes_from_context() local1718 remaining_det_segs -= approx_det_segs_required_for_pstate; in dcn315_populate_dml_pipes_from_context()1720 remaining_det_segs = -1; in dcn315_populate_dml_pipes_from_context()1752 if (remaining_det_segs < 0) { in dcn315_populate_dml_pipes_from_context()1761 if (remaining_det_segs > MIN_RESERVED_DET_SEGS && crb_pipes != 0) in dcn315_populate_dml_pipes_from_context()1762 …pipes[pipe_cnt].pipe.src.det_size_override += (remaining_det_segs - MIN_RESERVED_DET_SEGS) / crb_p… in dcn315_populate_dml_pipes_from_context()1763 (crb_idx < (remaining_det_segs - MIN_RESERVED_DET_SEGS) % crb_pipes ? 1 : 0); in dcn315_populate_dml_pipes_from_context()1766 remaining_det_segs += pipes[pipe_cnt].pipe.src.det_size_override - 2 * (DCN3_15_MAX_DET_SEGS); in dcn315_populate_dml_pipes_from_context()1771 remaining_det_segs += pipes[pipe_cnt].pipe.src.det_size_override % 2; in dcn315_populate_dml_pipes_from_context()