Home
last modified time | relevance | path

Searched refs:phys_enc (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder_phys_cmd.c39 static void dpu_encoder_phys_cmd_enable_te(struct dpu_encoder_phys *phys_enc);
41 static bool dpu_encoder_phys_cmd_is_master(struct dpu_encoder_phys *phys_enc) in dpu_encoder_phys_cmd_is_master() argument
43 return (phys_enc->split_role != ENC_ROLE_SLAVE); in dpu_encoder_phys_cmd_is_master()
47 struct dpu_encoder_phys *phys_enc) in _dpu_encoder_phys_cmd_update_intf_cfg() argument
50 to_dpu_encoder_phys_cmd(phys_enc); in _dpu_encoder_phys_cmd_update_intf_cfg()
55 ctl = phys_enc->hw_ctl; in _dpu_encoder_phys_cmd_update_intf_cfg()
59 intf_cfg.intf = phys_enc->hw_intf->idx; in _dpu_encoder_phys_cmd_update_intf_cfg()
62 intf_cfg.mode_3d = dpu_encoder_helper_get_3d_blend_mode(phys_enc); in _dpu_encoder_phys_cmd_update_intf_cfg()
63 intf_cfg.dsc = dpu_encoder_helper_get_dsc(phys_enc); in _dpu_encoder_phys_cmd_update_intf_cfg()
67 if (test_bit(DPU_CTL_ACTIVE_CFG, &ctl->caps->features) && phys_enc->hw_intf->ops.bind_pingpong_blk) in _dpu_encoder_phys_cmd_update_intf_cfg()
[all …]
Ddpu_encoder_phys_vid.c30 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()
95 if (phys_enc->hw_intf->cap->type == INTF_DP) { in drm_mode_to_intf_timing_params()
102 timing->wide_bus_en = dpu_encoder_is_widebus_enabled(phys_enc->parent); in drm_mode_to_intf_timing_params()
108 if (phys_enc->hw_intf->cap->type == INTF_DP && timing->wide_bus_en) { in drm_mode_to_intf_timing_params()
150 struct dpu_encoder_phys *phys_enc, in programmable_fetch_get_num_lines() argument
154 phys_enc->hw_intf->cap->prog_fetch_lines_worst_case; in programmable_fetch_get_num_lines()
162 DPU_DEBUG_VIDENC(phys_enc, in programmable_fetch_get_num_lines()
[all …]
Ddpu_encoder_phys_wb.c31 static bool dpu_encoder_phys_wb_is_master(struct dpu_encoder_phys *phys_enc) in dpu_encoder_phys_wb_is_master() argument
42 struct dpu_encoder_phys *phys_enc) in dpu_encoder_phys_wb_set_ot_limit() argument
44 struct dpu_hw_wb *hw_wb = phys_enc->hw_wb; in dpu_encoder_phys_wb_set_ot_limit()
50 ot_params.width = phys_enc->cached_mode.hdisplay; in dpu_encoder_phys_wb_set_ot_limit()
51 ot_params.height = phys_enc->cached_mode.vdisplay; in dpu_encoder_phys_wb_set_ot_limit()
53 ot_params.frame_rate = drm_mode_vrefresh(&phys_enc->cached_mode); in dpu_encoder_phys_wb_set_ot_limit()
58 dpu_vbif_set_ot_limit(phys_enc->dpu_kms, &ot_params); in dpu_encoder_phys_wb_set_ot_limit()
66 struct dpu_encoder_phys *phys_enc) in dpu_encoder_phys_wb_set_qos_remap() argument
71 if (!phys_enc || !phys_enc->parent || !phys_enc->parent->crtc) { in dpu_encoder_phys_wb_set_qos_remap()
76 if (!phys_enc->hw_wb || !phys_enc->hw_wb->caps) { in dpu_encoder_phys_wb_set_qos_remap()
[all …]
Ddpu_encoder_phys.h107 int (*wait_for_commit_done)(struct dpu_encoder_phys *phys_enc);
108 int (*wait_for_tx_complete)(struct dpu_encoder_phys *phys_enc);
109 int (*wait_for_vblank)(struct dpu_encoder_phys *phys_enc);
110 void (*prepare_for_kickoff)(struct dpu_encoder_phys *phys_enc);
111 void (*handle_post_kickoff)(struct dpu_encoder_phys *phys_enc);
112 void (*trigger_start)(struct dpu_encoder_phys *phys_enc);
113 bool (*needs_single_flush)(struct dpu_encoder_phys *phys_enc);
115 void (*prepare_idle_pc)(struct dpu_encoder_phys *phys_enc);
119 void (*prepare_wb_job)(struct dpu_encoder_phys *phys_enc,
121 void (*cleanup_wb_job)(struct dpu_encoder_phys *phys_enc,
[all …]
Ddpu_encoder.c332 void dpu_encoder_helper_report_irq_timeout(struct dpu_encoder_phys *phys_enc, in dpu_encoder_helper_report_irq_timeout() argument
336 DRMID(phys_enc->parent), in dpu_encoder_helper_report_irq_timeout()
337 dpu_encoder_helper_get_intf_type(phys_enc->intf_mode), in dpu_encoder_helper_report_irq_timeout()
338 phys_enc->hw_intf ? phys_enc->hw_intf->idx - INTF_0 : -1, in dpu_encoder_helper_report_irq_timeout()
339 phys_enc->hw_wb ? phys_enc->hw_wb->idx - WB_0 : -1, in dpu_encoder_helper_report_irq_timeout()
340 phys_enc->hw_pp->idx - PINGPONG_0, intr_idx); in dpu_encoder_helper_report_irq_timeout()
342 dpu_encoder_frame_done_callback(phys_enc->parent, phys_enc, in dpu_encoder_helper_report_irq_timeout()
349 int dpu_encoder_helper_wait_for_irq(struct dpu_encoder_phys *phys_enc, in dpu_encoder_helper_wait_for_irq() argument
364 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_helper_wait_for_irq()
366 DRMID(phys_enc->parent), func, in dpu_encoder_helper_wait_for_irq()
[all …]