Searched refs:lm_idx (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.c | 290 uint32_t enc_id, int lm_idx, int *pp_idx, int *dspp_idx, in _dpu_rm_check_lm_and_get_connected_blks() argument 297 if (reserved_by_other(global_state->mixer_to_enc_id, lm_idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks() 298 DPU_DEBUG("lm %d already reserved\n", lm_idx + LM_0); in _dpu_rm_check_lm_and_get_connected_blks() 302 lm_cfg = to_dpu_hw_mixer(rm->mixer_blks[lm_idx])->cap; in _dpu_rm_check_lm_and_get_connected_blks() 341 int lm_idx[MAX_BLOCKS]; in _dpu_rm_reserve_lms() local 358 lm_idx[lm_count] = i; in _dpu_rm_reserve_lms() 387 lm_idx[lm_count] = j; in _dpu_rm_reserve_lms() 398 global_state->mixer_to_enc_id[lm_idx[i]] = enc_id; in _dpu_rm_reserve_lms() 403 trace_dpu_rm_reserve_lms(lm_idx[i] + LM_0, enc_id, in _dpu_rm_reserve_lms()
|
D | dpu_crtc.c | 188 int lm_idx, lm_horiz_position; in _dpu_crtc_program_lm_output_roi() local 193 for (lm_idx = 0; lm_idx < crtc_state->num_mixers; lm_idx++) { in _dpu_crtc_program_lm_output_roi() 194 const struct drm_rect *lm_roi = &crtc_state->lm_bounds[lm_idx]; in _dpu_crtc_program_lm_output_roi() 195 struct dpu_hw_mixer *hw_lm = crtc_state->mixers[lm_idx].hw_lm; in _dpu_crtc_program_lm_output_roi() 222 uint32_t stage_idx, lm_idx; in _dpu_crtc_blend_setup_mixer() local 267 for (lm_idx = 0; lm_idx < cstate->num_mixers; lm_idx++) { in _dpu_crtc_blend_setup_mixer() 268 _dpu_crtc_setup_blend_cfg(mixer + lm_idx, in _dpu_crtc_blend_setup_mixer() 271 mixer[lm_idx].flush_mask |= flush_mask; in _dpu_crtc_blend_setup_mixer() 274 mixer[lm_idx].mixer_op_mode = 0; in _dpu_crtc_blend_setup_mixer() 276 mixer[lm_idx].mixer_op_mode |= in _dpu_crtc_blend_setup_mixer()
|