Lines Matching refs:crtc
38 container_of(x, struct vmw_screen_target_display_unit, base.crtc)
151 static void vmw_stdu_crtc_destroy(struct drm_crtc *crtc) in vmw_stdu_crtc_destroy() argument
153 vmw_stdu_destroy(vmw_crtc_to_stdu(crtc)); in vmw_stdu_crtc_destroy()
372 static void vmw_stdu_crtc_mode_set_nofb(struct drm_crtc *crtc) in vmw_stdu_crtc_mode_set_nofb() argument
380 stdu = vmw_crtc_to_stdu(crtc); in vmw_stdu_crtc_mode_set_nofb()
381 dev_priv = vmw_priv(crtc->dev); in vmw_stdu_crtc_mode_set_nofb()
399 if (!crtc->state->enable) in vmw_stdu_crtc_mode_set_nofb()
406 ret = vmw_stdu_define_st(dev_priv, stdu, &crtc->mode, x, y); in vmw_stdu_crtc_mode_set_nofb()
410 crtc->x, crtc->y); in vmw_stdu_crtc_mode_set_nofb()
414 static void vmw_stdu_crtc_helper_prepare(struct drm_crtc *crtc) in vmw_stdu_crtc_helper_prepare() argument
418 static void vmw_stdu_crtc_atomic_enable(struct drm_crtc *crtc, in vmw_stdu_crtc_atomic_enable() argument
423 static void vmw_stdu_crtc_atomic_disable(struct drm_crtc *crtc, in vmw_stdu_crtc_atomic_disable() argument
431 if (!crtc) { in vmw_stdu_crtc_atomic_disable()
436 stdu = vmw_crtc_to_stdu(crtc); in vmw_stdu_crtc_atomic_disable()
437 dev_priv = vmw_priv(crtc->dev); in vmw_stdu_crtc_atomic_disable()
557 struct drm_crtc *crtc) in vmw_kms_stdu_readback() argument
593 ddirty.base.crtc = crtc; in vmw_kms_stdu_readback()
725 struct drm_crtc *crtc) in vmw_kms_stdu_surface_dirty() argument
756 sdirty.base.crtc = crtc; in vmw_kms_stdu_surface_dirty()
890 if (!conn_state->crtc) in vmw_stdu_connector_atomic_check()
893 new_crtc_state = drm_atomic_get_new_crtc_state(state, conn_state->crtc); in vmw_stdu_connector_atomic_check()
1221 bo_update.base.du = vmw_crtc_to_du(plane->state->crtc); in vmw_stdu_plane_update_bo()
1382 stdu = vmw_crtc_to_stdu(plane->state->crtc); in vmw_stdu_plane_update_surface()
1389 srf_update.du = vmw_crtc_to_du(plane->state->crtc); in vmw_stdu_plane_update_surface()
1429 struct drm_crtc *crtc = new_state->crtc; in vmw_stdu_primary_plane_atomic_update() local
1436 if (crtc && new_state->fb) { in vmw_stdu_primary_plane_atomic_update()
1439 stdu = vmw_crtc_to_stdu(crtc); in vmw_stdu_primary_plane_atomic_update()
1440 dev_priv = vmw_priv(crtc->dev); in vmw_stdu_primary_plane_atomic_update()
1460 crtc = old_state->crtc; in vmw_stdu_primary_plane_atomic_update()
1461 stdu = vmw_crtc_to_stdu(crtc); in vmw_stdu_primary_plane_atomic_update()
1462 dev_priv = vmw_priv(crtc->dev); in vmw_stdu_primary_plane_atomic_update()
1551 struct drm_crtc *crtc; in vmw_stdu_init() local
1559 crtc = &stdu->base.crtc; in vmw_stdu_init()
1625 ret = drm_crtc_init_with_planes(dev, crtc, primary, in vmw_stdu_init()
1633 drm_crtc_helper_add(crtc, &vmw_stdu_crtc_helper_funcs); in vmw_stdu_init()
1635 drm_mode_crtc_set_gamma_size(crtc, 256); in vmw_stdu_init()