Home
last modified time | relevance | path

Searched refs:crtc_funcs (Results 1 – 25 of 32) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_crtc_helper.c187 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in __drm_helper_disable_unused_functions() local
191 if (crtc_funcs->disable) in __drm_helper_disable_unused_functions()
192 (*crtc_funcs->disable)(crtc); in __drm_helper_disable_unused_functions()
194 (*crtc_funcs->dpms)(crtc, DRM_MODE_DPMS_OFF); in __drm_helper_disable_unused_functions()
278 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_helper_set_mode() local
335 if (crtc_funcs->mode_fixup) { in drm_crtc_helper_set_mode()
336 if (!(ret = crtc_funcs->mode_fixup(crtc, mode, in drm_crtc_helper_set_mode()
363 crtc_funcs->prepare(crtc); in drm_crtc_helper_set_mode()
368 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode()
388 crtc_funcs->commit(crtc); in drm_crtc_helper_set_mode()
[all …]
H A Ddrm_atomic_helper.c2603 const struct drm_crtc_helper_funcs *crtc_funcs; in drm_atomic_helper_commit_planes_on_crtc() local
2614 crtc_funcs = crtc->helper_private; in drm_atomic_helper_commit_planes_on_crtc()
2615 if (crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_commit_planes_on_crtc()
2616 crtc_funcs->atomic_begin(crtc, old_crtc_state); in drm_atomic_helper_commit_planes_on_crtc()
2641 if (crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_commit_planes_on_crtc()
2642 crtc_funcs->atomic_flush(crtc, old_crtc_state); in drm_atomic_helper_commit_planes_on_crtc()
2667 const struct drm_crtc_helper_funcs *crtc_funcs = in drm_atomic_helper_disable_planes_on_crtc() local
2671 if (atomic && crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_disable_planes_on_crtc()
2672 crtc_funcs->atomic_begin(crtc, NULL); in drm_atomic_helper_disable_planes_on_crtc()
2686 if (atomic && crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_disable_planes_on_crtc()
[all …]
H A Ddrm_probe_helper.c183 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_mode_valid() local
185 if (!crtc_funcs || !crtc_funcs->mode_valid) in drm_crtc_mode_valid()
188 return crtc_funcs->mode_valid(crtc, mode); in drm_crtc_mode_valid()
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_spl_display.c45 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in rockchip_spl_display_init() local
50 if (!crtc_funcs) { in rockchip_spl_display_init()
55 if (crtc_funcs->preinit) { in rockchip_spl_display_init()
56 ret = crtc_funcs->preinit(state); in rockchip_spl_display_init()
90 if (crtc_funcs->init) { in rockchip_spl_display_init()
91 ret = crtc_funcs->init(state); in rockchip_spl_display_init()
109 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in rockchip_spl_display_post_enable() local
112 if (crtc_funcs->enable) in rockchip_spl_display_post_enable()
113 crtc_funcs->enable(state); in rockchip_spl_display_post_enable()
H A Drockchip_display.c580 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in display_mode_valid() local
589 if (crtc_funcs->mode_valid) { in display_mode_valid()
590 ret = crtc_funcs->mode_valid(state); in display_mode_valid()
602 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in display_mode_fixup() local
605 if (crtc_funcs->mode_fixup) { in display_mode_fixup()
606 ret = crtc_funcs->mode_fixup(state); in display_mode_fixup()
620 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in display_init() local
636 if (!crtc_funcs) { in display_init()
659 if (crtc_funcs->preinit) { in display_init()
660 ret = crtc_funcs->preinit(state); in display_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c111 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->wait_vact_end) in rockchip_drm_wait_vact_end()
112 ret = priv->crtc_funcs[pipe]->wait_vact_end(crtc, mstimeout); in rockchip_drm_wait_vact_end()
336 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->te_handler) in rockchip_drm_te_handle()
337 priv->crtc_funcs[pipe]->te_handler(crtc); in rockchip_drm_te_handle()
1078 priv->crtc_funcs[pipe] && in rockchip_drm_crtc_standby()
1079 priv->crtc_funcs[pipe]->crtc_standby) in rockchip_drm_crtc_standby()
1080 priv->crtc_funcs[pipe]->crtc_standby(crtc, standby); in rockchip_drm_crtc_standby()
1084 const struct rockchip_crtc_funcs *crtc_funcs) in rockchip_register_crtc_funcs() argument
1092 priv->crtc_funcs[pipe] = crtc_funcs; in rockchip_register_crtc_funcs()
1105 priv->crtc_funcs[pipe] = NULL; in rockchip_unregister_crtc_funcs()
[all …]
H A Drockchip_drm_logo.c812 if (priv->crtc_funcs[pipe] && in setup_initial_state()
813 priv->crtc_funcs[pipe]->loader_protect) in setup_initial_state()
814 priv->crtc_funcs[pipe]->loader_protect(crtc, true, &set->csc); in setup_initial_state()
865 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->loader_protect) in setup_initial_state()
866 priv->crtc_funcs[pipe]->loader_protect(crtc, false, NULL); in setup_initial_state()
1060 if (priv->crtc_funcs[pipe] && in rockchip_drm_show_logo()
1061 priv->crtc_funcs[pipe]->loader_protect) in rockchip_drm_show_logo()
1062 priv->crtc_funcs[pipe]->loader_protect(crtc, true, in rockchip_drm_show_logo()
1064 priv->crtc_funcs[pipe]->crtc_close(crtc); in rockchip_drm_show_logo()
1065 if (priv->crtc_funcs[pipe] && in rockchip_drm_show_logo()
[all …]
H A Drockchip_drm_debugfs.c256 if (priv->crtc_funcs[pipe]->crtc_set_color_bar) { in rockchip_drm_debugfs_color_bar_write()
257 if (priv->crtc_funcs[pipe]->crtc_set_color_bar(crtc, mode)) in rockchip_drm_debugfs_color_bar_write()
H A Drockchip_rgb.c601 if (!priv->crtc_funcs[pipe]->crtc_send_mcu_cmd) { in rockchip_mcu_panel_xfer_mcu_cmd_seq()
606 priv->crtc_funcs[pipe]->crtc_send_mcu_cmd(crtc, MCU_SETBYPASS, 1); in rockchip_mcu_panel_xfer_mcu_cmd_seq()
610 priv->crtc_funcs[pipe]->crtc_send_mcu_cmd(crtc, cmd->header.data_type, value); in rockchip_mcu_panel_xfer_mcu_cmd_seq()
614 priv->crtc_funcs[pipe]->crtc_send_mcu_cmd(crtc, MCU_SETBYPASS, 0); in rockchip_mcu_panel_xfer_mcu_cmd_seq()
H A Drockchip_drm_drv.h507 const struct rockchip_crtc_funcs *crtc_funcs[ROCKCHIP_MAX_CRTC]; member
539 const struct rockchip_crtc_funcs *crtc_funcs);
H A Drockchip_drm_fb.c169 funcs = priv->crtc_funcs[drm_crtc_index(crtc)]; in rockchip_drm_bandwidth_atomic_check()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/
H A Dgma_display.c474 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_prepare() local
475 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_prepare()
480 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_commit() local
481 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_ON); in gma_crtc_commit()
487 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_disable() local
489 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_disable()
515 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_page_flip() local
520 if (!crtc_funcs->mode_set_base) in gma_crtc_page_flip()
535 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip()
545 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip()
H A Dpsb_intel_display.c100 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in psb_intel_crtc_mode_set() local
114 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
289 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
505 drm_crtc_init(dev, &gma_crtc->base, dev_priv->ops->crtc_funcs); in psb_intel_crtc_init()
H A Doaktrail_crtc.c478 const struct drm_crtc_helper_funcs *crtc_funcs = in oaktrail_crtc_mode_set() local
480 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
H A Dpsb_device.c333 .crtc_funcs = &psb_intel_crtc_funcs,
H A Doaktrail_hdmi.c351 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in oaktrail_crtc_hdmi_mode_set() local
352 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
H A Dcdv_intel_display.c815 const struct drm_crtc_helper_funcs *crtc_funcs = in cdv_intel_crtc_mode_set() local
817 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in cdv_intel_crtc_mode_set()
H A Dmdfld_intel_display.c806 const struct drm_crtc_helper_funcs *crtc_funcs = in mdfld_crtc_mode_set() local
808 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in mdfld_crtc_mode_set()
H A Dmdfld_device.c549 .crtc_funcs = &psb_intel_crtc_funcs,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/kirin/
H A Ddw_drm_dsi.c539 const struct drm_crtc_helper_funcs *crtc_funcs = NULL; in dsi_encoder_mode_valid() local
557 crtc_funcs = crtc->helper_private; in dsi_encoder_mode_valid()
558 if (crtc_funcs && crtc_funcs->mode_fixup) in dsi_encoder_mode_valid()
559 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_drv.h45 const struct drm_crtc_funcs *crtc_funcs; member
H A Dkirin_drm_drv.c59 driver_data->crtc_funcs, NULL); in kirin_drm_crtc_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/kirin960/
H A Ddw_drm_dsi.c135 crtc_funcs = crtc->helper_private; in dsi_encoder_mode_valid()
136 if (crtc_funcs && crtc_funcs->mode_fixup) in dsi_encoder_mode_valid()
137 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/shmobile/
H A Dshmob_drm_crtc.c470 static const struct drm_crtc_funcs crtc_funcs = { variable
485 ret = drm_crtc_init(sdev->ddev, crtc, &crtc_funcs); in shmob_drm_crtc_create()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/
H A Dvc4_crtc.c1062 const struct drm_crtc_funcs *crtc_funcs, in vc4_crtc_init() argument
1083 crtc_funcs, NULL); in vc4_crtc_init()

12