/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 (*swap_state)(struct msm_kms *kms, struct drm_atomic_state *state); 46 void (*prepare_commit)(struct msm_kms *kms, struct drm_atomic_state *state); 47 void (*complete_commit)(struct msm_kms *kms, struct drm_atomic_state *state); [all …]
|
D | msm_drv.c | 161 struct msm_kms *kms = priv->kms; in vblank_ctrl_worker() local 171 kms->funcs->enable_vblank(kms, in vblank_ctrl_worker() 174 kms->funcs->disable_vblank(kms, in vblank_ctrl_worker() 213 struct msm_kms *kms = priv->kms; in msm_drm_uninit() local 253 if (kms && kms->funcs) in msm_drm_uninit() 254 kms->funcs->destroy(kms); in msm_drm_uninit() 372 struct msm_kms *kms; in msm_drm_init() local 435 kms = mdp4_kms_init(ddev); in msm_drm_init() 436 priv->kms = kms; in msm_drm_init() 439 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 99 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() 253 priv->kms->funcs->swap_state(priv->kms, state); in msm_atomic_commit()
|
D | msm_debugfs.c | 164 if (priv->kms->funcs->debugfs_init) in msm_debugfs_init() 165 ret = priv->kms->funcs->debugfs_init(priv->kms, minor); in msm_debugfs_init()
|
D | msm_fb.c | 171 struct msm_kms *kms = priv->kms; in msm_framebuffer_init() local 186 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 | 45 void mdp4_irq_preinstall(struct msm_kms *kms) in mdp4_irq_preinstall() argument 47 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_irq_preinstall() 54 int mdp4_irq_postinstall(struct msm_kms *kms) in mdp4_irq_postinstall() argument 56 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq_postinstall() 69 void mdp4_irq_uninstall(struct msm_kms *kms) in mdp4_irq_uninstall() argument 71 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_irq_uninstall() 77 irqreturn_t mdp4_irq(struct msm_kms *kms) in mdp4_irq() argument 79 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq() 101 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_enable_vblank() argument 103 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_enable_vblank() [all …]
|
D | mdp4_kms.c | 26 static int mdp4_hw_init(struct msm_kms *kms) in mdp4_hw_init() argument 28 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_hw_init() 107 static void mdp4_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp4_prepare_commit() argument 109 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_prepare_commit() 121 static void mdp4_complete_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp4_complete_commit() argument 123 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_complete_commit() 135 static void mdp4_wait_for_crtc_commit_done(struct msm_kms *kms, in mdp4_wait_for_crtc_commit_done() argument 141 static long mdp4_round_pixclk(struct msm_kms *kms, unsigned long rate, in mdp4_round_pixclk() argument 159 static void mdp4_destroy(struct msm_kms *kms) in mdp4_destroy() argument 161 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_destroy() [all …]
|
D | mdp4_plane.c | 64 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms() 106 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_prepare_fb() local 113 return msm_framebuffer_prepare(fb, kms->aspace); in mdp4_plane_prepare_fb() 121 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_cleanup_fb() local 128 msm_framebuffer_cleanup(fb, kms->aspace); in mdp4_plane_cleanup_fb() 166 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_set_scanout() local 178 msm_framebuffer_iova(fb, kms->aspace, 0)); in mdp4_plane_set_scanout() 180 msm_framebuffer_iova(fb, kms->aspace, 1)); in mdp4_plane_set_scanout() 182 msm_framebuffer_iova(fb, kms->aspace, 2)); in mdp4_plane_set_scanout() 184 msm_framebuffer_iova(fb, kms->aspace, 3)); in mdp4_plane_set_scanout()
|
D | mdp4_kms.h | 171 void mdp4_irq_preinstall(struct msm_kms *kms); 172 int mdp4_irq_postinstall(struct msm_kms *kms); 173 void mdp4_irq_uninstall(struct msm_kms *kms); 174 irqreturn_t mdp4_irq(struct msm_kms *kms); 175 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc); 176 void mdp4_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
|
D | mdp4_crtc.c | 74 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms() 129 struct msm_kms *kms = &mdp4_kms->base.base; in unref_cursor_worker() local 131 msm_gem_put_iova(val, kms->aspace); in unref_cursor_worker() 366 struct msm_kms *kms = &mdp4_kms->base.base; in update_cursor() local 379 msm_gem_get_iova(next_bo, kms->aspace, &iova); in update_cursor() 416 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_crtc_cursor_set() local 437 ret = msm_gem_get_iova(cursor_bo, kms->aspace, &iova); in mdp4_crtc_cursor_set()
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_irq.c | 49 void mdp5_irq_preinstall(struct msm_kms *kms) in mdp5_irq_preinstall() argument 51 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_irq_preinstall() 60 int mdp5_irq_postinstall(struct msm_kms *kms) in mdp5_irq_postinstall() argument 62 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq_postinstall() 80 void mdp5_irq_uninstall(struct msm_kms *kms) in mdp5_irq_uninstall() argument 82 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_irq_uninstall() 90 irqreturn_t mdp5_irq(struct msm_kms *kms) in mdp5_irq() argument 92 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq() 114 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_enable_vblank() argument 116 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_enable_vblank() [all …]
|
D | mdp5_kms.c | 30 static int mdp5_hw_init(struct msm_kms *kms) in mdp5_hw_init() argument 32 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_hw_init() 76 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(priv->kms)); in mdp5_get_state() 103 static void mdp5_swap_state(struct msm_kms *kms, struct drm_atomic_state *state) in mdp5_swap_state() argument 105 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_swap_state() 109 static void mdp5_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp5_prepare_commit() argument 111 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_prepare_commit() 120 static void mdp5_complete_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp5_complete_commit() argument 122 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(kms)); in mdp5_complete_commit() 131 static void mdp5_wait_for_crtc_commit_done(struct msm_kms *kms, in mdp5_wait_for_crtc_commit_done() argument [all …]
|
D | mdp5_kms.h | 264 void mdp5_irq_preinstall(struct msm_kms *kms); 265 int mdp5_irq_postinstall(struct msm_kms *kms); 266 void mdp5_irq_uninstall(struct msm_kms *kms); 267 irqreturn_t mdp5_irq(struct msm_kms *kms); 268 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc); 269 void mdp5_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
|
D | mdp5_plane.c | 46 return to_mdp5_kms(to_mdp_kms(priv->kms)); in get_kms() 273 struct msm_kms *kms = &mdp5_kms->base.base; in mdp5_plane_prepare_fb() local 280 return msm_framebuffer_prepare(fb, kms->aspace); in mdp5_plane_prepare_fb() 287 struct msm_kms *kms = &mdp5_kms->base.base; in mdp5_plane_cleanup_fb() local 294 msm_framebuffer_cleanup(fb, kms->aspace); in mdp5_plane_cleanup_fb() 501 struct msm_kms *kms = &mdp5_kms->base.base; in set_scanout_locked() local 512 msm_framebuffer_iova(fb, kms->aspace, 0)); in set_scanout_locked() 514 msm_framebuffer_iova(fb, kms->aspace, 1)); in set_scanout_locked() 516 msm_framebuffer_iova(fb, kms->aspace, 2)); in set_scanout_locked() 518 msm_framebuffer_iova(fb, kms->aspace, 3)); in set_scanout_locked()
|
D | mdp5_pipe.c | 24 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(priv->kms)); in mdp5_pipe_assign() 97 struct mdp5_kms *mdp5_kms = to_mdp5_kms(to_mdp_kms(priv->kms)); in mdp5_pipe_release()
|
/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 238 struct msm_kms *kms = priv->kms; in dsi_mgr_connector_detect() local 256 if (msm_dsi->panel && kms->funcs->set_encoder_mode) { in dsi_mgr_connector_detect() 262 kms->funcs->set_encoder_mode(kms, encoder, cmd_mode); in dsi_mgr_connector_detect() 281 if (kms->funcs->set_split_display) in dsi_mgr_connector_detect() 282 kms->funcs->set_split_display(kms, encoder, in dsi_mgr_connector_detect() 410 struct msm_kms *kms = priv->kms; in dsi_mgr_connector_mode_valid() local 415 actual = kms->funcs->round_pixclk(kms, requested, encoder); in dsi_mgr_connector_mode_valid() 838 struct msm_kms *kms; in msm_dsi_manager_attach_dsi_device() local 852 kms = priv->kms; in msm_dsi_manager_attach_dsi_device() 855 if (encoder && kms->funcs->set_encoder_mode) in msm_dsi_manager_attach_dsi_device() [all …]
|
/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/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()
|
/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/osc/ |
D | osc_io.c | 242 __u64 kms; in osc_page_touch_at() local 245 kms = cl_offset(obj, idx) + to; in osc_page_touch_at() 256 kms > loi->loi_kms ? "" : "not ", loi->loi_kms, kms, in osc_page_touch_at() 262 if (kms > loi->loi_kms) { in osc_page_touch_at() 263 attr->cat_kms = kms; in osc_page_touch_at() 266 if (kms > loi->loi_lvb.lvb_size) { in osc_page_touch_at() 267 attr->cat_size = kms; in osc_page_touch_at()
|
/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_connector.c | 412 struct msm_kms *kms = priv->kms; in msm_hdmi_connector_mode_valid() local 416 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/vboxvideo/ |
D | Kconfig | 14 driver as a module and add support for these devices via drm/kms
|
/drivers/staging/lustre/lustre/llite/ |
D | rw.c | 439 __u64 kms; in ll_readahead() local 452 kms = attr->cat_kms; in ll_readahead() 453 if (kms == 0) { in ll_readahead() 484 end_index = (unsigned long)((kms - 1) >> PAGE_SHIFT); in ll_readahead() 547 if (ra_end == end && ra_end == (kms >> PAGE_SHIFT)) in ll_readahead()
|