Searched refs:phys_enc (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.15/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_encoder_phys_cmd.c | 43 static bool dpu_encoder_phys_cmd_is_master(struct dpu_encoder_phys *phys_enc) in dpu_encoder_phys_cmd_is_master() argument 45 return (phys_enc->split_role != ENC_ROLE_SLAVE) ? true : false; in dpu_encoder_phys_cmd_is_master() 49 struct dpu_encoder_phys *phys_enc, in dpu_encoder_phys_cmd_mode_fixup() argument 53 DPU_DEBUG_CMDENC(to_dpu_encoder_phys_cmd(phys_enc), "\n"); in dpu_encoder_phys_cmd_mode_fixup() 58 struct dpu_encoder_phys *phys_enc) in _dpu_encoder_phys_cmd_update_intf_cfg() argument 61 to_dpu_encoder_phys_cmd(phys_enc); in _dpu_encoder_phys_cmd_update_intf_cfg() 65 ctl = phys_enc->hw_ctl; in _dpu_encoder_phys_cmd_update_intf_cfg() 69 intf_cfg.intf = phys_enc->intf_idx; in _dpu_encoder_phys_cmd_update_intf_cfg() 72 intf_cfg.mode_3d = dpu_encoder_helper_get_3d_blend_mode(phys_enc); in _dpu_encoder_phys_cmd_update_intf_cfg() 78 struct dpu_encoder_phys *phys_enc = arg; in dpu_encoder_phys_cmd_pp_tx_done_irq() local [all …]
|
| D | dpu_encoder_phys_vid.c | 30 struct dpu_encoder_phys *phys_enc) in dpu_encoder_phys_vid_is_master() argument 34 if (phys_enc->split_role != ENC_ROLE_SLAVE) in dpu_encoder_phys_vid_is_master() 41 const struct dpu_encoder_phys *phys_enc, in drm_mode_to_intf_timing_params() argument 89 if (phys_enc->hw_intf->cap->type == INTF_DSI) { in drm_mode_to_intf_timing_params() 106 if ((phys_enc->hw_intf->cap->type == INTF_DP) || in drm_mode_to_intf_timing_params() 107 (phys_enc->hw_intf->cap->type == INTF_EDP)) { in drm_mode_to_intf_timing_params() 148 struct dpu_encoder_phys *phys_enc, in programmable_fetch_get_num_lines() argument 152 phys_enc->hw_intf->cap->prog_fetch_lines_worst_case; in programmable_fetch_get_num_lines() 160 DPU_DEBUG_VIDENC(phys_enc, in programmable_fetch_get_num_lines() 167 DPU_DEBUG_VIDENC(phys_enc, in programmable_fetch_get_num_lines() [all …]
|
| D | dpu_encoder_phys.h | 135 int (*wait_for_commit_done)(struct dpu_encoder_phys *phys_enc); 136 int (*wait_for_tx_complete)(struct dpu_encoder_phys *phys_enc); 137 int (*wait_for_vblank)(struct dpu_encoder_phys *phys_enc); 138 void (*prepare_for_kickoff)(struct dpu_encoder_phys *phys_enc); 139 void (*handle_post_kickoff)(struct dpu_encoder_phys *phys_enc); 140 void (*trigger_start)(struct dpu_encoder_phys *phys_enc); 141 bool (*needs_single_flush)(struct dpu_encoder_phys *phys_enc); 143 void (*prepare_idle_pc)(struct dpu_encoder_phys *phys_enc); 316 void dpu_encoder_helper_trigger_start(struct dpu_encoder_phys *phys_enc); 319 struct dpu_encoder_phys *phys_enc) in dpu_encoder_helper_get_3d_blend_mode() argument [all …]
|
| D | dpu_encoder.c | 243 void dpu_encoder_helper_report_irq_timeout(struct dpu_encoder_phys *phys_enc, in dpu_encoder_helper_report_irq_timeout() argument 247 DRMID(phys_enc->parent), phys_enc->intf_idx - INTF_0, in dpu_encoder_helper_report_irq_timeout() 248 phys_enc->hw_pp->idx - PINGPONG_0, intr_idx); in dpu_encoder_helper_report_irq_timeout() 250 if (phys_enc->parent_ops->handle_frame_done) in dpu_encoder_helper_report_irq_timeout() 251 phys_enc->parent_ops->handle_frame_done( in dpu_encoder_helper_report_irq_timeout() 252 phys_enc->parent, phys_enc, in dpu_encoder_helper_report_irq_timeout() 259 int dpu_encoder_helper_wait_for_irq(struct dpu_encoder_phys *phys_enc, in dpu_encoder_helper_wait_for_irq() argument 271 irq = &phys_enc->irq[intr_idx]; in dpu_encoder_helper_wait_for_irq() 276 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_helper_wait_for_irq() 278 DRMID(phys_enc->parent), intr_idx, in dpu_encoder_helper_wait_for_irq() [all …]
|