Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/
Ddrm_crtc_helper.c181 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in __drm_helper_disable_unused_functions() local
184 if (crtc_funcs->disable) in __drm_helper_disable_unused_functions()
185 (*crtc_funcs->disable)(crtc); in __drm_helper_disable_unused_functions()
187 (*crtc_funcs->dpms)(crtc, DRM_MODE_DPMS_OFF); in __drm_helper_disable_unused_functions()
276 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_helper_set_mode() local
338 if (crtc_funcs->mode_fixup) { in drm_crtc_helper_set_mode()
339 if (!(ret = crtc_funcs->mode_fixup(crtc, mode, in drm_crtc_helper_set_mode()
370 crtc_funcs->prepare(crtc); in drm_crtc_helper_set_mode()
375 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode()
398 crtc_funcs->commit(crtc); in drm_crtc_helper_set_mode()
[all …]
Ddrm_plane_helper.c345 const struct drm_crtc_helper_funcs *crtc_funcs[2]; in drm_plane_helper_commit() local
357 crtc_funcs[i] = crtc[i] ? crtc[i]->helper_private : NULL; in drm_plane_helper_commit()
376 if (crtc_funcs[i] && crtc_funcs[i]->atomic_begin) in drm_plane_helper_commit()
377 crtc_funcs[i]->atomic_begin(crtc[i], crtc[i]->state); in drm_plane_helper_commit()
391 if (crtc_funcs[i] && crtc_funcs[i]->atomic_flush) in drm_plane_helper_commit()
392 crtc_funcs[i]->atomic_flush(crtc[i], crtc[i]->state); in drm_plane_helper_commit()
Ddrm_probe_helper.c174 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_mode_valid() local
176 if (!crtc_funcs || !crtc_funcs->mode_valid) in drm_crtc_mode_valid()
179 return crtc_funcs->mode_valid(crtc, mode); in drm_crtc_mode_valid()
Ddrm_atomic_helper.c2393 const struct drm_crtc_helper_funcs *crtc_funcs; in drm_atomic_helper_commit_planes_on_crtc() local
2404 crtc_funcs = crtc->helper_private; in drm_atomic_helper_commit_planes_on_crtc()
2405 if (crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_commit_planes_on_crtc()
2406 crtc_funcs->atomic_begin(crtc, old_crtc_state); in drm_atomic_helper_commit_planes_on_crtc()
2431 if (crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_commit_planes_on_crtc()
2432 crtc_funcs->atomic_flush(crtc, old_crtc_state); in drm_atomic_helper_commit_planes_on_crtc()
2457 const struct drm_crtc_helper_funcs *crtc_funcs = in drm_atomic_helper_disable_planes_on_crtc() local
2461 if (atomic && crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_disable_planes_on_crtc()
2462 crtc_funcs->atomic_begin(crtc, NULL); in drm_atomic_helper_disable_planes_on_crtc()
2476 if (atomic && crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_disable_planes_on_crtc()
[all …]
/Linux-v4.19/drivers/gpu/drm/gma500/
Dgma_display.c478 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_prepare() local
479 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_prepare()
484 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_commit() local
485 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_ON); in gma_crtc_commit()
491 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_disable() local
493 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_disable()
Dpsb_intel_display.c111 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in psb_intel_crtc_mode_set() local
125 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
300 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
512 drm_crtc_init(dev, &gma_crtc->base, dev_priv->ops->crtc_funcs); in psb_intel_crtc_init()
Doaktrail_crtc.c486 const struct drm_crtc_helper_funcs *crtc_funcs = in oaktrail_crtc_mode_set() local
488 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
Dpsb_device.c345 .crtc_funcs = &psb_intel_crtc_funcs,
Doaktrail_hdmi.c350 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in oaktrail_crtc_hdmi_mode_set() local
351 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
Dmdfld_intel_display.c848 const struct drm_crtc_helper_funcs *crtc_funcs = in mdfld_crtc_mode_set() local
850 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in mdfld_crtc_mode_set()
Dcdv_intel_display.c826 const struct drm_crtc_helper_funcs *crtc_funcs = in cdv_intel_crtc_mode_set() local
828 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in cdv_intel_crtc_mode_set()
Dmdfld_device.c539 .crtc_funcs = &psb_intel_crtc_funcs,
Doaktrail_device.c561 .crtc_funcs = &psb_intel_crtc_funcs,
Dcdv_device.c610 .crtc_funcs = &cdv_intel_crtc_funcs,
Dpsb_drv.h639 struct drm_crtc_funcs const *crtc_funcs; member
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_drv.c149 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in qxl_drm_freeze() local
151 (*crtc_funcs->disable)(crtc); in qxl_drm_freeze()
/Linux-v4.19/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c642 const struct drm_crtc_helper_funcs *crtc_funcs = NULL; in dsi_encoder_mode_valid() local
660 crtc_funcs = crtc->helper_private; in dsi_encoder_mode_valid()
661 if (crtc_funcs && crtc_funcs->mode_fixup) in dsi_encoder_mode_valid()
662 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
/Linux-v4.19/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c471 static const struct drm_crtc_funcs crtc_funcs = { variable
486 ret = drm_crtc_init(sdev->ddev, crtc, &crtc_funcs); in shmob_drm_crtc_create()
/Linux-v4.19/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1377 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in mga_crtc_commit() local
1396 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_ON); in mga_crtc_commit()