Lines Matching refs:crtc
32 container_of(x, struct vmw_screen_object_unit, base.crtc)
68 static void vmw_sou_crtc_destroy(struct drm_crtc *crtc) in vmw_sou_crtc_destroy() argument
70 vmw_sou_destroy(vmw_crtc_to_sou(crtc)); in vmw_sou_crtc_destroy()
260 struct drm_crtc *crtc; in vmw_sou_crtc_set_config() local
266 if (!set->crtc) in vmw_sou_crtc_set_config()
270 crtc = set->crtc; in vmw_sou_crtc_set_config()
271 sou = vmw_crtc_to_sou(crtc); in vmw_sou_crtc_set_config()
273 dev_priv = vmw_priv(crtc->dev); in vmw_sou_crtc_set_config()
309 encoder->crtc = NULL; in vmw_sou_crtc_set_config()
310 crtc->primary->fb = NULL; in vmw_sou_crtc_set_config()
311 crtc->x = 0; in vmw_sou_crtc_set_config()
312 crtc->y = 0; in vmw_sou_crtc_set_config()
313 crtc->enabled = false; in vmw_sou_crtc_set_config()
335 if (mode->hdisplay != crtc->mode.hdisplay || in vmw_sou_crtc_set_config()
336 mode->vdisplay != crtc->mode.vdisplay) { in vmw_sou_crtc_set_config()
370 encoder->crtc = NULL; in vmw_sou_crtc_set_config()
371 crtc->primary->fb = NULL; in vmw_sou_crtc_set_config()
372 crtc->x = 0; in vmw_sou_crtc_set_config()
373 crtc->y = 0; in vmw_sou_crtc_set_config()
374 crtc->enabled = false; in vmw_sou_crtc_set_config()
382 encoder->crtc = crtc; in vmw_sou_crtc_set_config()
383 crtc->mode = *mode; in vmw_sou_crtc_set_config()
384 crtc->primary->fb = fb; in vmw_sou_crtc_set_config()
385 crtc->x = set->x; in vmw_sou_crtc_set_config()
386 crtc->y = set->y; in vmw_sou_crtc_set_config()
387 crtc->enabled = true; in vmw_sou_crtc_set_config()
441 struct drm_crtc *crtc; in vmw_sou_init() local
448 crtc = &sou->base.crtc; in vmw_sou_init()
472 drm_crtc_init(dev, crtc, &vmw_screen_object_crtc_funcs); in vmw_sou_init()
474 drm_mode_crtc_set_gamma_size(crtc, 256); in vmw_sou_init()
550 struct drm_crtc *crtc) in vmw_kms_screen_object_flippable() argument
552 struct vmw_screen_object_unit *sou = vmw_crtc_to_sou(crtc); in vmw_kms_screen_object_flippable()
568 struct drm_crtc *crtc) in vmw_kms_screen_object_update_implicit_fb() argument
570 struct vmw_screen_object_unit *sou = vmw_crtc_to_sou(crtc); in vmw_kms_screen_object_update_implicit_fb()
575 vmw_framebuffer_to_vfb(sou->base.crtc.primary->fb); in vmw_kms_screen_object_update_implicit_fb()