Lines Matching refs:hw_cdm
715 if (topology.needs_cdm && !dpu_enc->cur_master->hw_cdm) in dpu_encoder_virt_atomic_check()
717 else if (!topology.needs_cdm && dpu_enc->cur_master->hw_cdm) in dpu_encoder_virt_atomic_check()
1183 struct dpu_hw_blk *hw_cdm = NULL; in dpu_encoder_virt_atomic_mode_set() local
1187 &hw_cdm, 1); in dpu_encoder_virt_atomic_mode_set()
1188 dpu_enc->cur_master->hw_cdm = hw_cdm ? to_dpu_hw_cdm(hw_cdm) : NULL; in dpu_encoder_virt_atomic_mode_set()
2137 if (phys_enc->hw_cdm) { in dpu_encoder_helper_phys_cleanup()
2138 if (phys_enc->hw_cdm->ops.bind_pingpong_blk && phys_enc->hw_pp) in dpu_encoder_helper_phys_cleanup()
2139 phys_enc->hw_cdm->ops.bind_pingpong_blk(phys_enc->hw_cdm, in dpu_encoder_helper_phys_cleanup()
2143 phys_enc->hw_cdm->idx); in dpu_encoder_helper_phys_cleanup()
2175 struct dpu_hw_cdm *hw_cdm; in dpu_encoder_helper_phys_setup_cdm() local
2185 hw_cdm = phys_enc->hw_cdm; in dpu_encoder_helper_phys_setup_cdm()
2187 if (!hw_cdm) in dpu_encoder_helper_phys_setup_cdm()
2193 if (hw_cdm->ops.bind_pingpong_blk) in dpu_encoder_helper_phys_setup_cdm()
2194 hw_cdm->ops.bind_pingpong_blk(hw_cdm, PINGPONG_NONE); in dpu_encoder_helper_phys_setup_cdm()
2238 if (hw_cdm->ops.enable) { in dpu_encoder_helper_phys_setup_cdm()
2240 ret = hw_cdm->ops.enable(hw_cdm, cdm_cfg); in dpu_encoder_helper_phys_setup_cdm()