/Linux-v4.19/drivers/gpu/drm/ |
D | drm_crtc_helper.c | 181 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 …]
|
D | drm_plane_helper.c | 345 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()
|
D | drm_probe_helper.c | 174 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()
|
D | drm_atomic_helper.c | 2393 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/ |
D | gma_display.c | 478 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()
|
D | psb_intel_display.c | 111 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()
|
D | oaktrail_crtc.c | 486 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()
|
D | psb_device.c | 345 .crtc_funcs = &psb_intel_crtc_funcs,
|
D | oaktrail_hdmi.c | 350 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()
|
D | mdfld_intel_display.c | 848 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()
|
D | cdv_intel_display.c | 826 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()
|
D | mdfld_device.c | 539 .crtc_funcs = &psb_intel_crtc_funcs,
|
D | oaktrail_device.c | 561 .crtc_funcs = &psb_intel_crtc_funcs,
|
D | cdv_device.c | 610 .crtc_funcs = &cdv_intel_crtc_funcs,
|
D | psb_drv.h | 639 struct drm_crtc_funcs const *crtc_funcs; member
|
/Linux-v4.19/drivers/gpu/drm/qxl/ |
D | qxl_drv.c | 149 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/ |
D | dw_drm_dsi.c | 642 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/ |
D | shmob_drm_crtc.c | 471 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/ |
D | mgag200_mode.c | 1377 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()
|