Home
last modified time | relevance | path

Searched refs:msm_kms (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_kms.h25 int (*hw_init)(struct msm_kms *kms);
27 void (*irq_preinstall)(struct msm_kms *kms);
28 int (*irq_postinstall)(struct msm_kms *kms);
29 void (*irq_uninstall)(struct msm_kms *kms);
30 irqreturn_t (*irq)(struct msm_kms *kms);
31 int (*enable_vblank)(struct msm_kms *kms, struct drm_crtc *crtc);
32 void (*disable_vblank)(struct msm_kms *kms, struct drm_crtc *crtc);
59 void (*enable_commit)(struct msm_kms *kms);
60 void (*disable_commit)(struct msm_kms *kms);
66 void (*prepare_commit)(struct msm_kms *kms, struct drm_atomic_state *state);
[all …]
Dmsm_kms.c37 struct msm_kms *kms = priv->kms; in msm_irq()
47 struct msm_kms *kms = priv->kms; in msm_irq_preinstall()
57 struct msm_kms *kms = priv->kms; in msm_irq_postinstall()
70 struct msm_kms *kms = priv->kms; in msm_irq_install()
96 struct msm_kms *kms = priv->kms; in msm_irq_uninstall()
115 struct msm_kms *kms = priv->kms; in vblank_ctrl_worker()
149 struct msm_kms *kms = priv->kms; in msm_crtc_enable_vblank()
160 struct msm_kms *kms = priv->kms; in msm_crtc_disable_vblank()
208 struct msm_kms *kms = priv->kms; in msm_drm_kms_uninit()
235 struct msm_kms *kms = priv->kms; in msm_drm_kms_init()
Dmsm_atomic.c21 static void vblank_get(struct msm_kms *kms, unsigned crtc_mask) in vblank_get()
32 static void vblank_put(struct msm_kms *kms, unsigned crtc_mask) in vblank_put()
43 static void lock_crtcs(struct msm_kms *kms, unsigned int crtc_mask) in lock_crtcs()
54 static void unlock_crtcs(struct msm_kms *kms, unsigned int crtc_mask) in unlock_crtcs()
62 static void msm_atomic_async_commit(struct msm_kms *kms, int crtc_idx) in msm_atomic_async_commit()
113 struct msm_kms *kms, int crtc_idx) in msm_atomic_init_pending_timer()
206 struct msm_kms *kms = priv->kms; in msm_atomic_commit_tail()
Dmsm_drv.h39 struct msm_kms;
99 struct msm_kms *kms;
241 const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format, uint64_t modifier);
246 struct msm_kms *kms, int crtc_idx);
567 struct msm_kms *kms);
Dmsm_fb.c173 struct msm_kms *kms = priv->kms; in msm_framebuffer_init()
DNOTES26 'struct msm_kms' implementations, depending on display controller.
/linux-6.12.1/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_irq.c35 void mdp4_irq_preinstall(struct msm_kms *kms) in mdp4_irq_preinstall()
44 int mdp4_irq_postinstall(struct msm_kms *kms) in mdp4_irq_postinstall()
59 void mdp4_irq_uninstall(struct msm_kms *kms) in mdp4_irq_uninstall()
67 irqreturn_t mdp4_irq(struct msm_kms *kms) in mdp4_irq()
90 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_enable_vblank()
102 void mdp4_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_disable_vblank()
Dmdp4_kms.h154 void mdp4_irq_preinstall(struct msm_kms *kms);
155 int mdp4_irq_postinstall(struct msm_kms *kms);
156 void mdp4_irq_uninstall(struct msm_kms *kms);
157 irqreturn_t mdp4_irq(struct msm_kms *kms);
158 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
159 void mdp4_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
Dmdp4_kms.c16 static int mdp4_hw_init(struct msm_kms *kms) in mdp4_hw_init()
75 static void mdp4_enable_commit(struct msm_kms *kms) in mdp4_enable_commit()
81 static void mdp4_disable_commit(struct msm_kms *kms) in mdp4_disable_commit()
87 static void mdp4_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp4_flush_commit()
92 static void mdp4_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in mdp4_wait_flush()
101 static void mdp4_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp4_complete_commit()
105 static long mdp4_round_pixclk(struct msm_kms *kms, unsigned long rate, in mdp4_round_pixclk()
119 static void mdp4_destroy(struct msm_kms *kms) in mdp4_destroy()
381 struct msm_kms *kms = NULL; in mdp4_kms_init()
Dmdp4_plane.c83 struct msm_kms *kms = priv->kms; in mdp4_plane_prepare_fb()
98 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_cleanup_fb()
144 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_set_scanout()
Dmdp4_crtc.c121 struct msm_kms *kms = &mdp4_kms->base.base; in unref_cursor_worker()
359 struct msm_kms *kms = &mdp4_kms->base.base; in update_cursor()
409 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_crtc_cursor_set()
/linux-6.12.1/drivers/gpu/drm/msm/disp/
Dmsm_disp_snapshot.c32 msm_disp_snapshot_state_sync(struct msm_kms *kms) in msm_disp_snapshot_state_sync()
55 struct msm_kms *kms = container_of(work, struct msm_kms, dump_work); in _msm_disp_snapshot_work()
84 struct msm_kms *kms; in msm_disp_snapshot_state()
100 struct msm_kms *kms; in msm_disp_snapshot_init()
123 struct msm_kms *kms; in msm_disp_snapshot_destroy()
Dmsm_disp_snapshot.h95 struct msm_disp_state *msm_disp_snapshot_state_sync(struct msm_kms *kms);
Dmdp_kms.h28 struct msm_kms base;
Dmsm_disp_snapshot_util.c126 struct msm_kms *kms; in msm_disp_snapshot_capture_state()
/linux-6.12.1/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_irq.c37 void mdp5_irq_preinstall(struct msm_kms *kms) in mdp5_irq_preinstall()
48 int mdp5_irq_postinstall(struct msm_kms *kms) in mdp5_irq_postinstall()
68 void mdp5_irq_uninstall(struct msm_kms *kms) in mdp5_irq_uninstall()
78 irqreturn_t mdp5_irq(struct msm_kms *kms) in mdp5_irq()
101 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_enable_vblank()
114 void mdp5_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_disable_vblank()
Dmdp5_kms.h265 void mdp5_irq_preinstall(struct msm_kms *kms);
266 int mdp5_irq_postinstall(struct msm_kms *kms);
267 void mdp5_irq_uninstall(struct msm_kms *kms);
268 irqreturn_t mdp5_irq(struct msm_kms *kms);
269 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
270 void mdp5_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
Dmdp5_kms.c22 static int mdp5_hw_init(struct msm_kms *kms) in mdp5_hw_init()
148 static void mdp5_enable_commit(struct msm_kms *kms) in mdp5_enable_commit()
154 static void mdp5_disable_commit(struct msm_kms *kms) in mdp5_disable_commit()
160 static void mdp5_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp5_prepare_commit()
171 static void mdp5_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp5_flush_commit()
176 static void mdp5_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in mdp5_wait_flush()
185 static void mdp5_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp5_complete_commit()
198 static void mdp5_kms_destroy(struct msm_kms *kms) in mdp5_kms_destroy()
502 struct msm_kms *kms = priv->kms; in mdp5_kms_init()
Dmdp5_plane.c139 struct msm_kms *kms = priv->kms; in mdp5_plane_prepare_fb()
154 struct msm_kms *kms = &mdp5_kms->base.base; in mdp5_plane_cleanup_fb()
470 struct msm_kms *kms = &mdp5_kms->base.base; in set_scanout_locked()
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_irq.h16 void dpu_core_irq_preinstall(struct msm_kms *kms);
23 void dpu_core_irq_uninstall(struct msm_kms *kms);
30 irqreturn_t dpu_core_irq(struct msm_kms *kms);
Ddpu_kms.h58 struct msm_kms base;
189 int dpu_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
190 void dpu_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
Ddpu_kms.c54 static int dpu_kms_hw_init(struct msm_kms *kms);
272 static int dpu_kms_debugfs_init(struct msm_kms *kms, struct drm_minor *minor) in dpu_kms_debugfs_init()
409 static int dpu_kms_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in dpu_kms_enable_vblank()
414 static void dpu_kms_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in dpu_kms_disable_vblank()
419 static void dpu_kms_enable_commit(struct msm_kms *kms) in dpu_kms_enable_commit()
425 static void dpu_kms_disable_commit(struct msm_kms *kms) in dpu_kms_disable_commit()
431 static void dpu_kms_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_flush_commit()
445 static void dpu_kms_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_complete_commit()
458 static void dpu_kms_wait_for_commit_done(struct msm_kms *kms, in dpu_kms_wait_for_commit_done()
499 static void dpu_kms_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_wait_flush()
[all …]
Ddpu_formats.h45 const struct msm_kms *kms,
Ddpu_hw_interrupts.c240 irqreturn_t dpu_core_irq(struct msm_kms *kms) in dpu_core_irq()
639 void dpu_core_irq_preinstall(struct msm_kms *kms) in dpu_core_irq_preinstall()
656 void dpu_core_irq_uninstall(struct msm_kms *kms) in dpu_core_irq_uninstall()
/linux-6.12.1/drivers/gpu/drm/msm/hdmi/
Dhdmi_bridge.c276 struct msm_kms *kms = priv->kms; in msm_hdmi_bridge_mode_valid()

12