Home
last modified time | relevance | path

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

/drivers/gpu/drm/
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 …]
Ddrm_atomic_helper.c2627 const struct drm_crtc_helper_funcs *crtc_funcs; in drm_atomic_helper_commit_planes_on_crtc() local
2638 crtc_funcs = crtc->helper_private; in drm_atomic_helper_commit_planes_on_crtc()
2639 if (crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_commit_planes_on_crtc()
2640 crtc_funcs->atomic_begin(crtc, old_state); in drm_atomic_helper_commit_planes_on_crtc()
2665 if (crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_commit_planes_on_crtc()
2666 crtc_funcs->atomic_flush(crtc, old_state); in drm_atomic_helper_commit_planes_on_crtc()
2691 const struct drm_crtc_helper_funcs *crtc_funcs = in drm_atomic_helper_disable_planes_on_crtc() local
2695 if (atomic && crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_disable_planes_on_crtc()
2696 crtc_funcs->atomic_begin(crtc, NULL); in drm_atomic_helper_disable_planes_on_crtc()
2710 if (atomic && crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_disable_planes_on_crtc()
[all …]
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()
/drivers/gpu/drm/gma500/
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()
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()
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()
Dpsb_device.c332 .crtc_funcs = &gma_intel_crtc_funcs,
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()
Dcdv_intel_display.c806 const struct drm_crtc_helper_funcs *crtc_funcs = in cdv_intel_crtc_mode_set() local
808 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in cdv_intel_crtc_mode_set()
Doaktrail_device.c548 .crtc_funcs = &gma_intel_crtc_funcs,
Dpsb_drv.h584 struct drm_crtc_funcs const *crtc_funcs; member
Dcdv_device.c606 .crtc_funcs = &gma_intel_crtc_funcs,
/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c644 const struct drm_crtc_helper_funcs *crtc_funcs = NULL; in dsi_encoder_mode_valid() local
662 crtc_funcs = crtc->helper_private; in dsi_encoder_mode_valid()
663 if (crtc_funcs && crtc_funcs->mode_fixup) in dsi_encoder_mode_valid()
664 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
Dkirin_drm_drv.h45 const struct drm_crtc_funcs *crtc_funcs; member
Dkirin_drm_drv.c59 driver_data->crtc_funcs, NULL); in kirin_drm_crtc_init()
Dkirin_drm_ade.c944 .crtc_funcs = &ade_crtc_funcs,
/drivers/gpu/drm/shmobile/
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()
/drivers/gpu/drm/vc4/
Dvc4_crtc.c1116 const struct drm_crtc_funcs *crtc_funcs, in vc4_crtc_init() argument
1138 crtc_funcs, NULL); in vc4_crtc_init()
Dvc4_drv.h842 const struct drm_crtc_funcs *crtc_funcs,