Home
last modified time | relevance | path

Searched refs:dpu_kms (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c55 static void _dpu_kms_mmu_destroy(struct dpu_kms *dpu_kms);
62 struct dpu_kms *kms = s->private; in _dpu_danger_signal_status()
111 struct dpu_kms *kms = file->private_data; in _dpu_plane_danger_read()
120 static void _dpu_plane_set_danger_state(struct dpu_kms *kms, bool enable) in _dpu_plane_set_danger_state()
146 struct dpu_kms *kms = file->private_data; in _dpu_plane_danger_write()
175 static void dpu_debugfs_danger_init(struct dpu_kms *dpu_kms, in dpu_debugfs_danger_init() argument
181 dpu_kms, &dpu_debugfs_danger_stats_fops); in dpu_debugfs_danger_init()
183 dpu_kms, &dpu_debugfs_safe_stats_fops); in dpu_debugfs_danger_init()
185 dpu_kms, &dpu_plane_danger_enable); in dpu_debugfs_danger_init()
195 struct dpu_kms *dpu_kms; member
[all …]
Ddpu_hw_interrupts.c220 static void dpu_core_irq_callback_handler(struct dpu_kms *dpu_kms, unsigned int irq_idx) in dpu_core_irq_callback_handler() argument
222 struct dpu_hw_intr_entry *irq_entry = dpu_core_irq_get_entry(dpu_kms->hw_intr, irq_idx); in dpu_core_irq_callback_handler()
242 struct dpu_kms *dpu_kms = to_dpu_kms(kms); in dpu_core_irq() local
243 struct dpu_hw_intr *intr = dpu_kms->hw_intr; in dpu_core_irq()
282 dpu_core_irq_callback_handler(dpu_kms, irq_idx); in dpu_core_irq()
409 static void dpu_clear_irqs(struct dpu_kms *dpu_kms) in dpu_clear_irqs() argument
411 struct dpu_hw_intr *intr = dpu_kms->hw_intr; in dpu_clear_irqs()
427 static void dpu_disable_all_irqs(struct dpu_kms *dpu_kms) in dpu_disable_all_irqs() argument
429 struct dpu_hw_intr *intr = dpu_kms->hw_intr; in dpu_disable_all_irqs()
445 u32 dpu_core_irq_read(struct dpu_kms *dpu_kms, in dpu_core_irq_read() argument
[all …]
Ddpu_vbif.h46 void dpu_vbif_set_ot_limit(struct dpu_kms *dpu_kms,
54 void dpu_vbif_set_qos_remap(struct dpu_kms *dpu_kms,
61 void dpu_vbif_clear_errors(struct dpu_kms *dpu_kms);
67 void dpu_vbif_init_memtypes(struct dpu_kms *dpu_kms);
69 void dpu_debugfs_vbif_init(struct dpu_kms *dpu_kms, struct dentry *debugfs_root);
Ddpu_core_irq.h39 struct dpu_kms *dpu_kms,
54 struct dpu_kms *dpu_kms,
69 struct dpu_kms *dpu_kms,
77 void dpu_debugfs_core_irq_init(struct dpu_kms *dpu_kms,
Ddpu_vbif.c14 static struct dpu_hw_vbif *dpu_get_vbif(struct dpu_kms *dpu_kms, enum dpu_vbif vbif_idx) in dpu_get_vbif() argument
16 if (vbif_idx < ARRAY_SIZE(dpu_kms->hw_vbif)) in dpu_get_vbif()
17 return dpu_kms->hw_vbif[vbif_idx]; in dpu_get_vbif()
168 void dpu_vbif_set_ot_limit(struct dpu_kms *dpu_kms, in dpu_vbif_set_ot_limit() argument
175 vbif = dpu_get_vbif(dpu_kms, params->vbif_idx); in dpu_vbif_set_ot_limit()
207 void dpu_vbif_set_qos_remap(struct dpu_kms *dpu_kms, in dpu_vbif_set_qos_remap() argument
219 vbif = dpu_get_vbif(dpu_kms, params->vbif_idx); in dpu_vbif_set_qos_remap()
248 void dpu_vbif_clear_errors(struct dpu_kms *dpu_kms) in dpu_vbif_clear_errors() argument
253 for (i = 0; i < ARRAY_SIZE(dpu_kms->hw_vbif); i++) { in dpu_vbif_clear_errors()
254 vbif = dpu_kms->hw_vbif[i]; in dpu_vbif_clear_errors()
[all …]
Ddpu_kms.h57 struct dpu_kms { struct
113 #define to_dpu_kms(x) container_of(x, struct dpu_kms, base) argument
134 *dpu_kms_get_existing_global_state(struct dpu_kms *dpu_kms);
165 uint32_t offset, uint32_t length, struct dpu_kms *dpu_kms);
177 void *dpu_debugfs_get_root(struct dpu_kms *dpu_kms);
199 unsigned long dpu_kms_get_clk_rate(struct dpu_kms *dpu_kms, char *clock_name);
Ddpu_encoder_phys_wb.c76 if (!_dpu_encoder_phys_wb_clk_force_ctrl(hw_wb, phys_enc->dpu_kms->hw_mdp, in dpu_encoder_phys_wb_set_ot_limit()
80 dpu_vbif_set_ot_limit(phys_enc->dpu_kms, &ot_params); in dpu_encoder_phys_wb_set_ot_limit()
83 _dpu_encoder_phys_wb_clk_force_ctrl(hw_wb, phys_enc->dpu_kms->hw_mdp, in dpu_encoder_phys_wb_set_ot_limit()
121 if (!_dpu_encoder_phys_wb_clk_force_ctrl(hw_wb, phys_enc->dpu_kms->hw_mdp, in dpu_encoder_phys_wb_set_qos_remap()
125 dpu_vbif_set_qos_remap(phys_enc->dpu_kms, &qos_params); in dpu_encoder_phys_wb_set_qos_remap()
128 _dpu_encoder_phys_wb_clk_force_ctrl(hw_wb, phys_enc->dpu_kms->hw_mdp, in dpu_encoder_phys_wb_set_qos_remap()
143 if (!phys_enc || !phys_enc->dpu_kms || !phys_enc->dpu_kms->catalog) { in dpu_encoder_phys_wb_set_qos()
148 catalog = phys_enc->dpu_kms->catalog; in dpu_encoder_phys_wb_set_qos()
178 if (!phys_enc || !phys_enc->dpu_kms || !phys_enc->dpu_kms->catalog) { in dpu_encoder_phys_wb_setup_fb()
199 const struct dpu_perf_cfg *perf = phys_enc->dpu_kms->catalog->perf; in dpu_encoder_phys_wb_setup_fb()
[all …]
Ddpu_encoder.c444 irq_status = dpu_core_irq_read(phys_enc->dpu_kms, irq_idx); in dpu_encoder_helper_wait_for_irq()
577 struct dpu_kms *dpu_kms, in dpu_encoder_get_topology() argument
602 else if (!dpu_kms->catalog->caps->has_3d_merge) in dpu_encoder_get_topology()
627 static void dpu_encoder_assign_crtc_resources(struct dpu_kms *dpu_kms, in dpu_encoder_assign_crtc_resources() argument
642 num_ctl = dpu_rm_get_assigned_resources(&dpu_kms->rm, global_state, in dpu_encoder_assign_crtc_resources()
644 num_lm = dpu_rm_get_assigned_resources(&dpu_kms->rm, global_state, in dpu_encoder_assign_crtc_resources()
646 num_dspp = dpu_rm_get_assigned_resources(&dpu_kms->rm, global_state, in dpu_encoder_assign_crtc_resources()
668 struct dpu_kms *dpu_kms; in dpu_encoder_virt_atomic_check() local
688 dpu_kms = to_dpu_kms(priv->kms); in dpu_encoder_virt_atomic_check()
698 topology = dpu_encoder_get_topology(dpu_enc, dpu_kms, adj_mode, crtc_state, dsc); in dpu_encoder_virt_atomic_check()
[all …]
Ddpu_encoder_phys_cmd.c199 dpu_core_irq_unregister_callback(phys_enc->dpu_kms, in _dpu_encoder_phys_cmd_handle_ppdone_timeout()
268 ret = dpu_core_irq_register_callback(phys_enc->dpu_kms, in dpu_encoder_phys_cmd_control_vblank_irq()
276 ret = dpu_core_irq_unregister_callback(phys_enc->dpu_kms, in dpu_encoder_phys_cmd_control_vblank_irq()
300 dpu_core_irq_register_callback(phys_enc->dpu_kms, in dpu_encoder_phys_cmd_irq_enable()
304 dpu_core_irq_register_callback(phys_enc->dpu_kms, in dpu_encoder_phys_cmd_irq_enable()
311 dpu_core_irq_register_callback(phys_enc->dpu_kms, in dpu_encoder_phys_cmd_irq_enable()
324 dpu_core_irq_unregister_callback(phys_enc->dpu_kms, in dpu_encoder_phys_cmd_irq_disable()
327 dpu_core_irq_unregister_callback(phys_enc->dpu_kms, phys_enc->irq[INTR_IDX_UNDERRUN]); in dpu_encoder_phys_cmd_irq_disable()
329 dpu_core_irq_unregister_callback(phys_enc->dpu_kms, phys_enc->irq[INTR_IDX_PINGPONG]); in dpu_encoder_phys_cmd_irq_disable()
341 struct dpu_kms *dpu_kms; in dpu_encoder_phys_cmd_tearcheck_config() local
[all …]
Ddpu_core_perf.h91 struct dpu_kms;
98 int dpu_core_perf_debugfs_init(struct dpu_kms *dpu_kms, struct dentry *parent);
Ddpu_plane.c99 static struct dpu_kms *_dpu_plane_get_kms(struct drm_plane *plane) in _dpu_plane_get_kms()
367 struct dpu_kms *dpu_kms = _dpu_plane_get_kms(plane); in _dpu_plane_set_ot_limit() local
380 if (!_dpu_plane_sspp_clk_force_ctrl(pipe->sspp, dpu_kms->hw_mdp, in _dpu_plane_set_ot_limit()
384 dpu_vbif_set_ot_limit(dpu_kms, &ot_params); in _dpu_plane_set_ot_limit()
387 _dpu_plane_sspp_clk_force_ctrl(pipe->sspp, dpu_kms->hw_mdp, in _dpu_plane_set_ot_limit()
401 struct dpu_kms *dpu_kms = _dpu_plane_get_kms(plane); in _dpu_plane_set_qos_remap() local
415 if (!_dpu_plane_sspp_clk_force_ctrl(pipe->sspp, dpu_kms->hw_mdp, in _dpu_plane_set_qos_remap()
419 dpu_vbif_set_qos_remap(dpu_kms, &qos_params); in _dpu_plane_set_qos_remap()
422 _dpu_plane_sspp_clk_force_ctrl(pipe->sspp, dpu_kms->hw_mdp, in _dpu_plane_set_qos_remap()
652 struct dpu_kms *kms = _dpu_plane_get_kms(&pdpu->base); in dpu_plane_prepare_fb()
[all …]
Ddpu_core_perf.c102 static struct dpu_kms *_dpu_crtc_get_kms(struct drm_crtc *crtc) in _dpu_crtc_get_kms()
151 struct dpu_kms *kms; in dpu_core_perf_crtc_check()
207 static int _dpu_core_perf_crtc_update_bus(struct dpu_kms *kms, in _dpu_core_perf_crtc_update_bus()
258 struct dpu_kms *kms; in dpu_core_perf_crtc_release_bw()
280 static u64 _dpu_core_perf_get_core_clk_rate(struct dpu_kms *kms) in _dpu_core_perf_get_core_clk_rate()
312 struct dpu_kms *kms; in dpu_core_perf_crtc_update()
449 int dpu_core_perf_debugfs_init(struct dpu_kms *dpu_kms, struct dentry *parent) in dpu_core_perf_debugfs_init() argument
451 struct dpu_core_perf *perf = &dpu_kms->perf; in dpu_core_perf_debugfs_init()
Ddpu_encoder_phys.h185 struct dpu_kms *dpu_kms; member
262 struct dpu_kms *dpu_kms; member
Ddpu_writeback.c15 struct dpu_kms *dpu_kms = to_dpu_kms(priv->kms); in dpu_wb_conn_get_modes() local
24 return drm_add_modes_noedid(connector, dpu_kms->catalog->caps->max_mixer_width, in dpu_wb_conn_get_modes()
Ddpu_encoder_phys_vid.c295 fmt = mdp_get_format(&phys_enc->dpu_kms->base, fmt_fourcc, 0); in dpu_encoder_phys_vid_setup_timing_engine()
311 phys_enc->dpu_kms->catalog->mdss_ver); in dpu_encoder_phys_vid_setup_timing_engine()
413 ret = dpu_core_irq_register_callback(phys_enc->dpu_kms, in dpu_encoder_phys_vid_control_vblank_irq()
421 ret = dpu_core_irq_unregister_callback(phys_enc->dpu_kms, in dpu_encoder_phys_vid_control_vblank_irq()
447 fmt = mdp_get_format(&phys_enc->dpu_kms->base, fmt_fourcc, 0); in dpu_encoder_phys_vid_enable()
566 dpu_core_irq_unregister_callback(phys_enc->dpu_kms, in dpu_encoder_phys_vid_prepare_for_kickoff()
675 dpu_core_irq_register_callback(phys_enc->dpu_kms, in dpu_encoder_phys_vid_irq_enable()
688 dpu_core_irq_unregister_callback(phys_enc->dpu_kms, in dpu_encoder_phys_vid_irq_disable()
Ddpu_hw_sspp.h317 struct dpu_kms;
333 int _dpu_hw_sspp_init_debugfs(struct dpu_hw_sspp *hw_pipe, struct dpu_kms *kms,
Ddpu_crtc.c47 static struct dpu_kms *_dpu_crtc_get_kms(struct drm_crtc *crtc) in _dpu_crtc_get_kms()
720 struct dpu_kms *dpu_kms = _dpu_crtc_get_kms(crtc); in _dpu_crtc_check_and_setup_lm_bounds() local
732 if (drm_rect_width(r) > dpu_kms->catalog->caps->max_mixer_width) in _dpu_crtc_check_and_setup_lm_bounds()
941 struct dpu_kms *dpu_kms = _dpu_crtc_get_kms(crtc); in dpu_crtc_commit_kickoff() local
977 dpu_vbif_clear_errors(dpu_kms); in dpu_crtc_commit_kickoff()
1456 struct dpu_kms *dpu_kms = to_dpu_kms(priv->kms); in dpu_crtc_init() local
1489 if (dpu_kms->catalog->dspp_count) in dpu_crtc_init()
Ddpu_crtc.h284 int dpu_crtc_register_custom_event(struct dpu_kms *kms,
Ddpu_hw_sspp.c622 int _dpu_hw_sspp_init_debugfs(struct dpu_hw_sspp *hw_pipe, struct dpu_kms *kms, in _dpu_hw_sspp_init_debugfs()
/linux-6.12.1/drivers/gpu/drm/msm/
DMakefile93 disp/dpu1/dpu_kms.o \