Lines Matching refs:crtc
64 static int get_connectors_for_crtc(struct drm_crtc *crtc, in get_connectors_for_crtc() argument
68 struct drm_device *dev = crtc->dev; in get_connectors_for_crtc()
82 if (connector->encoder && connector->encoder->crtc == crtc) { in get_connectors_for_crtc()
95 struct drm_crtc *crtc, in drm_plane_helper_check_update() argument
108 .crtc = crtc, in drm_plane_helper_check_update()
121 .crtc = crtc, in drm_plane_helper_check_update()
122 .enable = crtc->enabled, in drm_plane_helper_check_update()
123 .mode = crtc->mode, in drm_plane_helper_check_update()
164 int drm_plane_helper_update_primary(struct drm_plane *plane, struct drm_crtc *crtc, in drm_plane_helper_update_primary() argument
173 .crtc = crtc, in drm_plane_helper_update_primary()
175 .mode = &crtc->mode, in drm_plane_helper_update_primary()
199 ret = drm_plane_helper_check_update(plane, crtc, fb, in drm_plane_helper_update_primary()
217 num_connectors = get_connectors_for_crtc(crtc, NULL, 0); in drm_plane_helper_update_primary()
223 get_connectors_for_crtc(crtc, connector_list, num_connectors); in drm_plane_helper_update_primary()
236 ret = crtc->funcs->set_config(&set, ctx); in drm_plane_helper_update_primary()
302 struct drm_crtc *new_crtc = new_plane_state->crtc; in drm_plane_helper_atomic_check()