Lines Matching refs:crtc

41 	struct drm_crtc *crtc;  in drm_client_modeset_create()  local
51 drm_for_each_crtc(crtc, dev) in drm_client_modeset_create()
52 client->modesets[i++].crtc = crtc; in drm_client_modeset_create()
58 for (modeset = client->modesets; modeset->crtc; modeset++) { in drm_client_modeset_create()
109 drm_client_find_modeset(struct drm_client_dev *client, struct drm_crtc *crtc) in drm_client_find_modeset() argument
114 if (modeset->crtc == crtc) in drm_client_find_modeset()
479 struct drm_crtc *crtc) in connector_has_possible_crtc() argument
484 if (encoder->possible_crtcs & drm_crtc_mask(crtc)) in connector_has_possible_crtc()
501 struct drm_crtc **crtcs, *crtc; in drm_client_pick_crtcs() local
533 crtc = modeset->crtc; in drm_client_pick_crtcs()
535 if (!connector_has_possible_crtc(connector, crtc)) in drm_client_pick_crtcs()
539 if (best_crtcs[o] == crtc) in drm_client_pick_crtcs()
551 crtcs[n] = crtc; in drm_client_pick_crtcs()
641 if (!encoder || WARN_ON(!connector->state->crtc)) { in drm_client_firmware_config()
654 new_crtc = connector->state->crtc; in drm_client_firmware_config()
705 modes[i] = &connector->state->crtc->mode; in drm_client_firmware_config()
721 connector->state->crtc->base.id, in drm_client_firmware_config()
722 connector->state->crtc->name, in drm_client_firmware_config()
854 struct drm_crtc *crtc = crtcs[i]; in drm_client_modeset_probe() local
857 if (mode && crtc) { in drm_client_modeset_probe()
858 struct drm_mode_set *modeset = drm_client_find_modeset(client, crtc); in drm_client_modeset_probe()
862 mode->name, crtc->base.id, offset->x, offset->y); in drm_client_modeset_probe()
916 struct drm_plane *plane = modeset->crtc->primary; in drm_client_rotation()
1027 struct drm_plane *primary = mode_set->crtc->primary; in drm_client_modeset_commit_atomic()
1047 struct drm_crtc *crtc = mode_set->crtc; in drm_client_modeset_commit_atomic() local
1048 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in drm_client_modeset_commit_atomic()
1096 struct drm_crtc *crtc = mode_set->crtc; in drm_client_modeset_commit_legacy() local
1098 if (crtc->funcs->cursor_set2) { in drm_client_modeset_commit_legacy()
1099 ret = crtc->funcs->cursor_set2(crtc, NULL, 0, 0, 0, 0, 0); in drm_client_modeset_commit_legacy()
1102 } else if (crtc->funcs->cursor_set) { in drm_client_modeset_commit_legacy()
1103 ret = crtc->funcs->cursor_set(crtc, NULL, 0, 0, 0); in drm_client_modeset_commit_legacy()
1205 if (!modeset->crtc->enabled) in drm_client_modeset_dpms_legacy()