Home
last modified time | relevance | path

Searched refs:lm_idx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c383 int lm_idx, lm_horiz_position; in _dpu_crtc_program_lm_output_roi() local
388 for (lm_idx = 0; lm_idx < crtc_state->num_mixers; lm_idx++) { in _dpu_crtc_program_lm_output_roi()
390 struct dpu_hw_mixer *hw_lm = crtc_state->mixers[lm_idx].hw_lm; in _dpu_crtc_program_lm_output_roi()
416 uint32_t lm_idx; in _dpu_crtc_blend_setup_pipe() local
441 for (lm_idx = 0; lm_idx < num_mixers; lm_idx++) in _dpu_crtc_blend_setup_pipe()
442 mixer[lm_idx].lm_ctl->ops.update_pending_flush_sspp(mixer[lm_idx].lm_ctl, sspp_idx); in _dpu_crtc_blend_setup_pipe()
457 uint32_t lm_idx; in _dpu_crtc_blend_setup_mixer() local
495 for (lm_idx = 0; lm_idx < cstate->num_mixers; lm_idx++) { in _dpu_crtc_blend_setup_mixer()
496 _dpu_crtc_setup_blend_cfg(mixer + lm_idx, pstate, format); in _dpu_crtc_blend_setup_mixer()
499 mixer[lm_idx].mixer_op_mode = 0; in _dpu_crtc_blend_setup_mixer()
[all …]
H A Ddpu_rm.c292 uint32_t enc_id, int lm_idx, int *pp_idx, int *dspp_idx, in _dpu_rm_check_lm_and_get_connected_blks() argument
299 if (reserved_by_other(global_state->mixer_to_enc_id, lm_idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks()
300 DPU_DEBUG("lm %d already reserved\n", lm_idx + LM_0); in _dpu_rm_check_lm_and_get_connected_blks()
304 lm_cfg = to_dpu_hw_mixer(rm->mixer_blks[lm_idx])->cap; in _dpu_rm_check_lm_and_get_connected_blks()
343 int lm_idx[MAX_BLOCKS]; in _dpu_rm_reserve_lms() local
360 lm_idx[lm_count] = i; in _dpu_rm_reserve_lms()
388 lm_idx[lm_count] = j; in _dpu_rm_reserve_lms()
399 global_state->mixer_to_enc_id[lm_idx[i]] = enc_id; in _dpu_rm_reserve_lms()
404 trace_dpu_rm_reserve_lms(lm_idx[i] + LM_0, enc_id, in _dpu_rm_reserve_lms()