/drivers/gpu/drm/msm/ |
D | msm_kms.h | 35 int (*hw_init)(struct msm_kms *kms); 37 void (*irq_preinstall)(struct msm_kms *kms); 38 int (*irq_postinstall)(struct msm_kms *kms); 39 void (*irq_uninstall)(struct msm_kms *kms); 40 irqreturn_t (*irq)(struct msm_kms *kms); 41 int (*enable_vblank)(struct msm_kms *kms, struct drm_crtc *crtc); 42 void (*disable_vblank)(struct msm_kms *kms, struct drm_crtc *crtc); 44 void (*prepare_commit)(struct msm_kms *kms, struct drm_atomic_state *state); 45 void (*complete_commit)(struct msm_kms *kms, struct drm_atomic_state *state); 47 void (*wait_for_crtc_commit_done)(struct msm_kms *kms, [all …]
|
D | msm_drv.c | 142 struct msm_kms *kms = priv->kms; in vblank_ctrl_worker() local 152 kms->funcs->enable_vblank(kms, in vblank_ctrl_worker() 155 kms->funcs->disable_vblank(kms, in vblank_ctrl_worker() 194 struct msm_kms *kms = priv->kms; in msm_drm_uninit() local 231 if (kms && kms->funcs) in msm_drm_uninit() 232 kms->funcs->destroy(kms); in msm_drm_uninit() 347 struct msm_kms *kms; in msm_drm_init() local 403 kms = mdp4_kms_init(ddev); in msm_drm_init() 404 priv->kms = kms; in msm_drm_init() 407 kms = mdp5_kms_init(ddev); in msm_drm_init() [all …]
|
D | msm_atomic.c | 89 struct msm_kms *kms = priv->kms; in msm_atomic_wait_for_commit_done() local 101 kms->funcs->wait_for_crtc_commit_done(kms, crtc); in msm_atomic_wait_for_commit_done() 113 struct msm_kms *kms = priv->kms; in complete_commit() local 117 kms->funcs->prepare_commit(kms, state); in complete_commit() 142 kms->funcs->complete_commit(kms, state); in complete_commit()
|
D | msm_fb.c | 165 struct msm_kms *kms = priv->kms; in msm_framebuffer_init() local 180 format = kms->funcs->get_format(kms, mode_cmd->pixel_format); in msm_framebuffer_init()
|
D | NOTES | 1 NOTES about msm drm/kms driver: 20 with N different kms devices from xf86-video-freedreno. Plus, it 22 pageflip after rendering completes (ie. have the kms/crtc code build 33 The kms module provides the plane, crtc, and encoder objects, and
|
/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_irq.c | 35 void mdp4_irq_preinstall(struct msm_kms *kms) in mdp4_irq_preinstall() argument 37 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_irq_preinstall() 44 int mdp4_irq_postinstall(struct msm_kms *kms) in mdp4_irq_postinstall() argument 46 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq_postinstall() 59 void mdp4_irq_uninstall(struct msm_kms *kms) in mdp4_irq_uninstall() argument 61 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_irq_uninstall() 67 irqreturn_t mdp4_irq(struct msm_kms *kms) in mdp4_irq() argument 69 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq() 91 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_enable_vblank() argument 93 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_enable_vblank() [all …]
|
D | mdp4_kms.c | 25 static int mdp4_hw_init(struct msm_kms *kms) in mdp4_hw_init() argument 27 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_hw_init() 106 static void mdp4_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp4_prepare_commit() argument 108 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_prepare_commit() 120 static void mdp4_complete_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp4_complete_commit() argument 122 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_complete_commit() 134 static void mdp4_wait_for_crtc_commit_done(struct msm_kms *kms, in mdp4_wait_for_crtc_commit_done() argument 140 static long mdp4_round_pixclk(struct msm_kms *kms, unsigned long rate, in mdp4_round_pixclk() argument 158 static void mdp4_destroy(struct msm_kms *kms) in mdp4_destroy() argument 160 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_destroy() [all …]
|
D | mdp4_kms.h | 173 void mdp4_irq_preinstall(struct msm_kms *kms); 174 int mdp4_irq_postinstall(struct msm_kms *kms); 175 void mdp4_irq_uninstall(struct msm_kms *kms); 176 irqreturn_t mdp4_irq(struct msm_kms *kms); 177 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc); 178 void mdp4_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
|
D | mdp4_lvds_pll.c | 33 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms()
|
D | mdp4_dsi_encoder.c | 35 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms()
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_irq.c | 36 void mdp5_irq_preinstall(struct msm_kms *kms) in mdp5_irq_preinstall() argument 38 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_irq_preinstall() 45 int mdp5_irq_postinstall(struct msm_kms *kms) in mdp5_irq_postinstall() argument 47 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq_postinstall() 64 void mdp5_irq_uninstall(struct msm_kms *kms) in mdp5_irq_uninstall() argument 66 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_irq_uninstall() 72 irqreturn_t mdp5_irq(struct msm_kms *kms) in mdp5_irq() argument 74 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq() 96 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_enable_vblank() argument 98 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_enable_vblank() [all …]
|
D | mdp5_kms.c | 29 static int mdp5_hw_init(struct msm_kms *kms) in mdp5_hw_init() argument 31 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_hw_init() 74 static void mdp5_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp5_prepare_commit() argument 76 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_prepare_commit() 80 static void mdp5_complete_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp5_complete_commit() argument 83 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_complete_commit() 93 static void mdp5_wait_for_crtc_commit_done(struct msm_kms *kms, in mdp5_wait_for_crtc_commit_done() argument 99 static long mdp5_round_pixclk(struct msm_kms *kms, unsigned long rate, in mdp5_round_pixclk() argument 105 static int mdp5_set_split_display(struct msm_kms *kms, in mdp5_set_split_display() argument 117 static void mdp5_kms_destroy(struct msm_kms *kms) in mdp5_kms_destroy() argument [all …]
|
D | mdp5_kms.h | 189 void mdp5_irq_preinstall(struct msm_kms *kms); 190 int mdp5_irq_postinstall(struct msm_kms *kms); 191 void mdp5_irq_uninstall(struct msm_kms *kms); 192 irqreturn_t mdp5_irq(struct msm_kms *kms); 193 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc); 194 void mdp5_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_extent.c | 68 __u64 kms = 0; in ldlm_extent_shift_kms() local 88 if (lck->l_policy_data.l_extent.end + 1 > kms) in ldlm_extent_shift_kms() 89 kms = lck->l_policy_data.l_extent.end + 1; in ldlm_extent_shift_kms() 91 LASSERTF(kms <= old_kms, "kms %llu old_kms %llu\n", kms, old_kms); in ldlm_extent_shift_kms() 93 return kms; in ldlm_extent_shift_kms()
|
/drivers/gpu/drm/msm/edp/ |
D | edp_connector.c | 72 struct msm_kms *kms = priv->kms; in edp_connector_mode_valid() local 76 actual = kms->funcs->round_pixclk(kms, in edp_connector_mode_valid()
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_merge.c | 49 __u64 kms = 0; in lov_merge_lvb_kms() local 74 if (lov_size > kms) in lov_merge_lvb_kms() 75 kms = lov_size; in lov_merge_lvb_kms() 99 *kms_place = kms; in lov_merge_lvb_kms()
|
D | lov_object.c | 510 __u64 kms = 0; in lov_attr_get_raid0() local 533 result = lov_merge_lvb_kms(lsm, lvb, &kms); in lov_attr_get_raid0() 537 lov_attr->cat_kms = kms; in lov_attr_get_raid0()
|
/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 154 struct msm_kms *kms = priv->kms; in dsi_mgr_connector_detect() local 187 if (kms->funcs->set_split_display) in dsi_mgr_connector_detect() 188 kms->funcs->set_split_display(kms, encoder, in dsi_mgr_connector_detect() 316 struct msm_kms *kms = priv->kms; in dsi_mgr_connector_mode_valid() local 321 actual = kms->funcs->round_pixclk(kms, requested, encoder); in dsi_mgr_connector_mode_valid()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_io.c | 208 __u64 kms; in osc_page_touch_at() local 211 kms = cl_offset(obj, idx) + to; in osc_page_touch_at() 222 kms > loi->loi_kms ? "" : "not ", loi->loi_kms, kms, in osc_page_touch_at() 228 if (kms > loi->loi_kms) { in osc_page_touch_at() 229 attr->cat_kms = kms; in osc_page_touch_at() 232 if (kms > loi->loi_lvb.lvb_size) { in osc_page_touch_at() 233 attr->cat_size = kms; in osc_page_touch_at()
|
/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_connector.c | 387 struct msm_kms *kms = priv->kms; in msm_hdmi_connector_mode_valid() local 391 actual = kms->funcs->round_pixclk(kms, in msm_hdmi_connector_mode_valid()
|
/drivers/gpu/drm/udl/ |
D | Kconfig | 10 Say M/Y to add support for these devices via drm/kms interfaces.
|
/drivers/staging/lustre/lustre/llite/ |
D | rw.c | 445 __u64 kms; in ll_readahead() local 458 kms = attr->cat_kms; in ll_readahead() 459 if (kms == 0) { in ll_readahead() 513 end = min(end, (unsigned long)((kms - 1) >> PAGE_SHIFT)); in ll_readahead() 569 if (ra_end == end + 1 && ra_end == (kms >> PAGE_SHIFT)) in ll_readahead()
|
D | vvp_io.c | 124 loff_t kms; in vvp_prep_size() local 149 kms = attr->cat_kms; in vvp_prep_size() 150 if (pos > kms) { in vvp_prep_size() 185 if (i_size_read(inode) < kms) { in vvp_prep_size() 186 i_size_write(inode, kms); in vvp_prep_size()
|
/drivers/gpu/drm/msm/mdp/ |
D | mdp_kms.h | 101 const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format);
|
D | mdp_format.c | 174 const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format) in mdp_get_format() argument
|