Searched refs:dsc_idx (Results 1 – 1 of 1) sorted by relevance
509 static int _dpu_rm_pingpong_dsc_check(int dsc_idx, int pp_idx) in _dpu_rm_pingpong_dsc_check() argument515 if ((dsc_idx & 0x01) != (pp_idx & 0x01)) in _dpu_rm_pingpong_dsc_check()528 int dsc_idx; in _dpu_rm_dsc_alloc() local531 for (dsc_idx = 0; dsc_idx < ARRAY_SIZE(rm->dsc_blks) && in _dpu_rm_dsc_alloc()532 num_dsc < top->num_dsc; dsc_idx++) { in _dpu_rm_dsc_alloc()533 if (!rm->dsc_blks[dsc_idx]) in _dpu_rm_dsc_alloc()536 if (reserved_by_other(global_state->dsc_to_crtc_id, dsc_idx, crtc_id)) in _dpu_rm_dsc_alloc()543 ret = _dpu_rm_pingpong_dsc_check(dsc_idx, pp_idx); in _dpu_rm_dsc_alloc()547 global_state->dsc_to_crtc_id[dsc_idx] = crtc_id; in _dpu_rm_dsc_alloc()567 int dsc_idx, pp_idx = 0; in _dpu_rm_dsc_alloc_pair() local[all …]