Home
last modified time | relevance | path

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

12

/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);
68 ktime_t (*vsync_time)(struct msm_kms *kms, struct drm_crtc *crtc);
[all …]
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()
186 struct msm_kms *kms = priv->kms; in msm_atomic_commit_tail()
Dmsm_drv.c93 struct msm_kms *kms = priv->kms; in msm_irq()
103 struct msm_kms *kms = priv->kms; in msm_irq_preinstall()
113 struct msm_kms *kms = priv->kms; in msm_irq_postinstall()
126 struct msm_kms *kms = priv->kms; in msm_irq_install()
152 struct msm_kms *kms = priv->kms; in msm_irq_uninstall()
171 struct msm_kms *kms = priv->kms; in vblank_ctrl_worker()
206 struct msm_kms *kms = priv->kms; in msm_drm_uninit()
421 struct msm_kms *kms; in msm_drm_init()
653 struct msm_kms *kms = priv->kms; in msm_crtc_enable_vblank()
665 struct msm_kms *kms = priv->kms; in msm_crtc_disable_vblank()
Dmsm_drv.h43 struct msm_kms;
109 struct msm_kms *kms;
253 struct msm_kms *kms, int crtc_idx);
Dmsm_fb.c173 struct msm_kms *kms = priv->kms; in msm_framebuffer_init()
DNOTES26 'struct msm_kms' implementations, depending on display controller.
/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()
Dmdp_kms.h27 struct msm_kms base;
95 const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format, uint64_t modifier);
Dmsm_disp_snapshot.h95 struct msm_disp_state *msm_disp_snapshot_state_sync(struct msm_kms *kms);
Dmdp_format.c165 const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format, in mdp_get_format()
Dmsm_disp_snapshot_util.c125 struct msm_kms *kms; in msm_disp_snapshot_capture_state()
/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()
91 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_enable_vblank()
103 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_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp4_prepare_commit()
91 static void mdp4_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp4_flush_commit()
96 static void mdp4_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in mdp4_wait_flush()
105 static void mdp4_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp4_complete_commit()
109 static long mdp4_round_pixclk(struct msm_kms *kms, unsigned long rate, in mdp4_round_pixclk()
123 static void mdp4_destroy(struct msm_kms *kms) in mdp4_destroy()
389 struct msm_kms *kms = NULL; in mdp4_kms_init()
Dmdp4_plane.c99 struct msm_kms *kms = priv->kms; in mdp4_plane_prepare_fb()
114 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_cleanup_fb()
160 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_set_scanout()
Dmdp4_crtc.c120 struct msm_kms *kms = &mdp4_kms->base.base; in unref_cursor_worker()
368 struct msm_kms *kms = &mdp4_kms->base.base; in update_cursor()
418 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_crtc_cursor_set()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_irq.c39 void mdp5_irq_preinstall(struct msm_kms *kms) in mdp5_irq_preinstall()
50 int mdp5_irq_postinstall(struct msm_kms *kms) in mdp5_irq_postinstall()
70 void mdp5_irq_uninstall(struct msm_kms *kms) in mdp5_irq_uninstall()
80 irqreturn_t mdp5_irq(struct msm_kms *kms) in mdp5_irq()
104 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_enable_vblank()
117 void mdp5_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_disable_vblank()
Dmdp5_kms.h266 void mdp5_irq_preinstall(struct msm_kms *kms);
267 int mdp5_irq_postinstall(struct msm_kms *kms);
268 void mdp5_irq_uninstall(struct msm_kms *kms);
269 irqreturn_t mdp5_irq(struct msm_kms *kms);
270 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
271 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()
145 static void mdp5_enable_commit(struct msm_kms *kms) in mdp5_enable_commit()
151 static void mdp5_disable_commit(struct msm_kms *kms) in mdp5_disable_commit()
157 static void mdp5_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp5_prepare_commit()
168 static void mdp5_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp5_flush_commit()
173 static void mdp5_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in mdp5_wait_flush()
182 static void mdp5_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp5_complete_commit()
193 static int mdp5_set_split_display(struct msm_kms *kms, in mdp5_set_split_display()
208 static void mdp5_kms_destroy(struct msm_kms *kms) in mdp5_kms_destroy()
252 static int mdp5_kms_debugfs_init(struct msm_kms *kms, struct drm_minor *minor) in mdp5_kms_debugfs_init()
[all …]
Dmdp5_plane.c152 struct msm_kms *kms = priv->kms; in mdp5_plane_prepare_fb()
167 struct msm_kms *kms = &mdp5_kms->base.base; in mdp5_plane_cleanup_fb()
483 struct msm_kms *kms = &mdp5_kms->base.base; in set_scanout_locked()
/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.c53 static int dpu_kms_hw_init(struct msm_kms *kms);
265 static int dpu_kms_debugfs_init(struct msm_kms *kms, struct drm_minor *minor) in dpu_kms_debugfs_init()
404 static int dpu_kms_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in dpu_kms_enable_vblank()
409 static void dpu_kms_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in dpu_kms_disable_vblank()
414 static void dpu_kms_enable_commit(struct msm_kms *kms) in dpu_kms_enable_commit()
420 static void dpu_kms_disable_commit(struct msm_kms *kms) in dpu_kms_disable_commit()
426 static ktime_t dpu_kms_vsync_time(struct msm_kms *kms, struct drm_crtc *crtc) in dpu_kms_vsync_time()
440 static void dpu_kms_prepare_commit(struct msm_kms *kms, in dpu_kms_prepare_commit()
460 static void dpu_kms_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_flush_commit()
474 static void dpu_kms_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_complete_commit()
[all …]
Ddpu_kms.h70 struct msm_kms base;
196 int dpu_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
197 void dpu_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
Ddpu_formats.h53 struct msm_kms *kms,
68 const struct msm_kms *kms,
Ddpu_hw_interrupts.c170 irqreturn_t dpu_core_irq(struct msm_kms *kms) in dpu_core_irq()
544 void dpu_core_irq_preinstall(struct msm_kms *kms) in dpu_core_irq_preinstall()
558 void dpu_core_irq_uninstall(struct msm_kms *kms) in dpu_core_irq_uninstall()

12