Lines Matching refs:min_ddb_alloc
741 int ret, min_ddb_alloc = 0; in skl_cursor_allocation() local
756 if (wm.min_ddb_alloc == U16_MAX) in skl_cursor_allocation()
759 min_ddb_alloc = wm.min_ddb_alloc; in skl_cursor_allocation()
762 return max(num_active == 1 ? 32 : 8, min_ddb_alloc); in skl_cursor_allocation()
1422 if (wm->min_ddb_alloc > skl_ddb_entry_size(ddb)) in skl_check_wm_level()
1430 if (wm->min_ddb_alloc > skl_ddb_entry_size(ddb_y) || in skl_check_nv12_wm_level()
1431 uv_wm->min_ddb_alloc > skl_ddb_entry_size(ddb)) { in skl_check_nv12_wm_level()
1481 size = wm->min_ddb_alloc + extra; in skl_allocate_plane_ddb()
1538 if (wm->wm[level].min_ddb_alloc > skl_ddb_entry_size(ddb)) { in skl_crtc_allocate_plane_ddb()
1540 wm->wm[level].min_ddb_alloc != U16_MAX); in skl_crtc_allocate_plane_ddb()
1547 blocks += wm->wm[level].min_ddb_alloc; in skl_crtc_allocate_plane_ddb()
1548 blocks += wm->uv_wm[level].min_ddb_alloc; in skl_crtc_allocate_plane_ddb()
1860 u32 blocks, lines, min_ddb_alloc = 0; in skl_compute_plane_wm() local
1865 result->min_ddb_alloc = U16_MAX; in skl_compute_plane_wm()
1951 min_ddb_alloc = mul_round_up_u32_fixed16(lines + extra_lines, in skl_compute_plane_wm()
1954 min_ddb_alloc = blocks + DIV_ROUND_UP(blocks, 10); in skl_compute_plane_wm()
1963 result->min_ddb_alloc = U16_MAX; in skl_compute_plane_wm()
1976 result->min_ddb_alloc = max(min_ddb_alloc, blocks) + 1; in skl_compute_plane_wm()
2082 trans_wm->min_ddb_alloc = max_t(u16, wm0->min_ddb_alloc, blocks + 1); in skl_compute_transition_wm()
2788 old_wm->wm[0].min_ddb_alloc, old_wm->wm[1].min_ddb_alloc, in skl_print_wm_changes()
2789 old_wm->wm[2].min_ddb_alloc, old_wm->wm[3].min_ddb_alloc, in skl_print_wm_changes()
2790 old_wm->wm[4].min_ddb_alloc, old_wm->wm[5].min_ddb_alloc, in skl_print_wm_changes()
2791 old_wm->wm[6].min_ddb_alloc, old_wm->wm[7].min_ddb_alloc, in skl_print_wm_changes()
2792 old_wm->trans_wm.min_ddb_alloc, in skl_print_wm_changes()
2793 old_wm->sagv.wm0.min_ddb_alloc, in skl_print_wm_changes()
2794 old_wm->sagv.trans_wm.min_ddb_alloc, in skl_print_wm_changes()
2795 new_wm->wm[0].min_ddb_alloc, new_wm->wm[1].min_ddb_alloc, in skl_print_wm_changes()
2796 new_wm->wm[2].min_ddb_alloc, new_wm->wm[3].min_ddb_alloc, in skl_print_wm_changes()
2797 new_wm->wm[4].min_ddb_alloc, new_wm->wm[5].min_ddb_alloc, in skl_print_wm_changes()
2798 new_wm->wm[6].min_ddb_alloc, new_wm->wm[7].min_ddb_alloc, in skl_print_wm_changes()
2799 new_wm->trans_wm.min_ddb_alloc, in skl_print_wm_changes()
2800 new_wm->sagv.wm0.min_ddb_alloc, in skl_print_wm_changes()
2801 new_wm->sagv.trans_wm.min_ddb_alloc); in skl_print_wm_changes()