Lines Matching refs:res_blocks
4601 uint32_t res_blocks, res_lines; in skl_compute_plane_wm() local
4645 res_blocks = fixed16_to_u32_round_up(selected_result) + 1; in skl_compute_plane_wm()
4651 res_blocks += fixed16_to_u32_round_up(wp->y_tile_minimum); in skl_compute_plane_wm()
4656 res_blocks += fixed16_to_u32_round_up( in skl_compute_plane_wm()
4660 res_blocks++; in skl_compute_plane_wm()
4669 if (result_prev->plane_res_b > res_blocks) in skl_compute_plane_wm()
4670 res_blocks = result_prev->plane_res_b; in skl_compute_plane_wm()
4690 min_disp_buf_needed = DIV_ROUND_UP(res_blocks * 11, 10); in skl_compute_plane_wm()
4693 min_disp_buf_needed = res_blocks; in skl_compute_plane_wm()
4697 res_blocks >= ddb_allocation || in skl_compute_plane_wm()
4713 res_blocks, ddb_allocation, res_lines); in skl_compute_plane_wm()
4730 result->plane_res_b = res_blocks; in skl_compute_plane_wm()
4824 uint16_t trans_offset_b, res_blocks; in skl_compute_transition_wm() local
4846 res_blocks = max(wm_l0->plane_res_b, trans_y_tile_min) + in skl_compute_transition_wm()
4849 res_blocks = wm_l0->plane_res_b + trans_offset_b; in skl_compute_transition_wm()
4853 res_blocks += 1; in skl_compute_transition_wm()
4857 res_blocks += 1; in skl_compute_transition_wm()
4859 if (res_blocks < ddb_allocation) { in skl_compute_transition_wm()
4860 trans_wm->plane_res_b = res_blocks; in skl_compute_transition_wm()