Searched refs:remaining_det_segs (Results 1 – 1 of 1) sorted by relevance
1665 int remaining_det_segs = max_usable_det / DCN3_15_CRB_SEGMENT_SIZE_KB; in dcn315_populate_dml_pipes_from_context() local1710 remaining_det_segs -= approx_det_segs_required_for_pstate; in dcn315_populate_dml_pipes_from_context()1712 remaining_det_segs = -1; in dcn315_populate_dml_pipes_from_context()1744 if (remaining_det_segs < 0) { in dcn315_populate_dml_pipes_from_context()1754 if (remaining_det_segs > MIN_RESERVED_DET_SEGS) in dcn315_populate_dml_pipes_from_context()1755 …pipes[pipe_cnt].pipe.src.det_size_override += (remaining_det_segs - MIN_RESERVED_DET_SEGS) / crb_p… in dcn315_populate_dml_pipes_from_context()1756 (crb_idx < (remaining_det_segs - MIN_RESERVED_DET_SEGS) % crb_pipes ? 1 : 0); in dcn315_populate_dml_pipes_from_context()1759 remaining_det_segs += pipes[pipe_cnt].pipe.src.det_size_override - 2 * (DCN3_15_MAX_DET_SEGS); in dcn315_populate_dml_pipes_from_context()1764 remaining_det_segs += pipes[pipe_cnt].pipe.src.det_size_override % 2; in dcn315_populate_dml_pipes_from_context()