Searched refs:lm_idx (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_crtc.c | 372 int lm_idx, lm_horiz_position; in _dpu_crtc_program_lm_output_roi() local 377 for (lm_idx = 0; lm_idx < crtc_state->num_mixers; lm_idx++) { in _dpu_crtc_program_lm_output_roi() 378 const struct drm_rect *lm_roi = &crtc_state->lm_bounds[lm_idx]; in _dpu_crtc_program_lm_output_roi() 379 struct dpu_hw_mixer *hw_lm = crtc_state->mixers[lm_idx].hw_lm; in _dpu_crtc_program_lm_output_roi() 405 uint32_t lm_idx; in _dpu_crtc_blend_setup_pipe() local 430 for (lm_idx = 0; lm_idx < num_mixers; lm_idx++) in _dpu_crtc_blend_setup_pipe() 431 mixer[lm_idx].lm_ctl->ops.update_pending_flush_sspp(mixer[lm_idx].lm_ctl, sspp_idx); in _dpu_crtc_blend_setup_pipe() 446 uint32_t lm_idx; in _dpu_crtc_blend_setup_mixer() local 484 for (lm_idx = 0; lm_idx < cstate->num_mixers; lm_idx++) { in _dpu_crtc_blend_setup_mixer() 485 _dpu_crtc_setup_blend_cfg(mixer + lm_idx, pstate, format); in _dpu_crtc_blend_setup_mixer() [all …]
|
D | dpu_rm.c | 240 uint32_t enc_id, int lm_idx, int *pp_idx, int *dspp_idx, in _dpu_rm_check_lm_and_get_connected_blks() argument 247 if (reserved_by_other(global_state->mixer_to_enc_id, lm_idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks() 248 DPU_DEBUG("lm %d already reserved\n", lm_idx + LM_0); in _dpu_rm_check_lm_and_get_connected_blks() 252 lm_cfg = to_dpu_hw_mixer(rm->mixer_blks[lm_idx])->cap; in _dpu_rm_check_lm_and_get_connected_blks() 291 int lm_idx[MAX_BLOCKS]; in _dpu_rm_reserve_lms() local 308 lm_idx[lm_count] = i; in _dpu_rm_reserve_lms() 336 lm_idx[lm_count] = j; in _dpu_rm_reserve_lms() 347 global_state->mixer_to_enc_id[lm_idx[i]] = enc_id; in _dpu_rm_reserve_lms() 352 trace_dpu_rm_reserve_lms(lm_idx[i] + LM_0, enc_id, in _dpu_rm_reserve_lms()
|