/drivers/gpu/drm/ |
D | drm_crtc_helper.c | 187 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 …]
|
D | drm_atomic_helper.c | 2627 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 …]
|
D | drm_probe_helper.c | 183 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/ |
D | gma_display.c | 474 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()
|
D | psb_intel_display.c | 100 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()
|
D | oaktrail_crtc.c | 478 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()
|
D | psb_device.c | 332 .crtc_funcs = &gma_intel_crtc_funcs,
|
D | oaktrail_hdmi.c | 351 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()
|
D | cdv_intel_display.c | 806 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()
|
D | oaktrail_device.c | 548 .crtc_funcs = &gma_intel_crtc_funcs,
|
D | psb_drv.h | 584 struct drm_crtc_funcs const *crtc_funcs; member
|
D | cdv_device.c | 606 .crtc_funcs = &gma_intel_crtc_funcs,
|
/drivers/gpu/drm/hisilicon/kirin/ |
D | dw_drm_dsi.c | 644 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()
|
D | kirin_drm_drv.h | 45 const struct drm_crtc_funcs *crtc_funcs; member
|
D | kirin_drm_drv.c | 59 driver_data->crtc_funcs, NULL); in kirin_drm_crtc_init()
|
D | kirin_drm_ade.c | 944 .crtc_funcs = &ade_crtc_funcs,
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 470 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/ |
D | vc4_crtc.c | 1116 const struct drm_crtc_funcs *crtc_funcs, in vc4_crtc_init() argument 1138 crtc_funcs, NULL); in vc4_crtc_init()
|
D | vc4_drv.h | 842 const struct drm_crtc_funcs *crtc_funcs,
|