Searched refs:lm_idx (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.c | 316 uint32_t enc_id, int lm_idx, int *pp_idx, int *dspp_idx, in _dpu_rm_check_lm_and_get_connected_blks() argument 323 if (reserved_by_other(global_state->mixer_to_enc_id, lm_idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks() 324 DPU_DEBUG("lm %d already reserved\n", lm_idx + LM_0); in _dpu_rm_check_lm_and_get_connected_blks() 328 lm_cfg = to_dpu_hw_mixer(rm->mixer_blks[lm_idx])->cap; in _dpu_rm_check_lm_and_get_connected_blks() 367 int lm_idx[MAX_BLOCKS]; in _dpu_rm_reserve_lms() local 384 lm_idx[lm_count] = i; in _dpu_rm_reserve_lms() 413 lm_idx[lm_count] = j; in _dpu_rm_reserve_lms() 424 global_state->mixer_to_enc_id[lm_idx[i]] = enc_id; in _dpu_rm_reserve_lms() 429 trace_dpu_rm_reserve_lms(lm_idx[i] + LM_0, enc_id, in _dpu_rm_reserve_lms()
|
D | dpu_crtc.c | 382 int lm_idx, lm_horiz_position; in _dpu_crtc_program_lm_output_roi() local 387 for (lm_idx = 0; lm_idx < crtc_state->num_mixers; lm_idx++) { in _dpu_crtc_program_lm_output_roi() 388 const struct drm_rect *lm_roi = &crtc_state->lm_bounds[lm_idx]; in _dpu_crtc_program_lm_output_roi() 389 struct dpu_hw_mixer *hw_lm = crtc_state->mixers[lm_idx].hw_lm; in _dpu_crtc_program_lm_output_roi() 415 uint32_t stage_idx, lm_idx; in _dpu_crtc_blend_setup_mixer() local 462 for (lm_idx = 0; lm_idx < cstate->num_mixers; lm_idx++) { in _dpu_crtc_blend_setup_mixer() 463 _dpu_crtc_setup_blend_cfg(mixer + lm_idx, in _dpu_crtc_blend_setup_mixer() 466 mixer[lm_idx].lm_ctl->ops.update_pending_flush_sspp(mixer[lm_idx].lm_ctl, in _dpu_crtc_blend_setup_mixer() 470 mixer[lm_idx].mixer_op_mode = 0; in _dpu_crtc_blend_setup_mixer() 472 mixer[lm_idx].mixer_op_mode |= in _dpu_crtc_blend_setup_mixer()
|