Lines Matching defs:encoder
11 * encoder's clock plus its configuration. It pulls scaled pixels from
12 * the HVS at that timing, and feeds it to the encoder.
287 * Returns the encoder attached to the CRTC.
289 * VC4 can only scan out to one encoder at a time, while the DRM core
290 * allows drivers to push pixels to more than one encoder from the
296 struct drm_encoder *encoder;
300 drm_for_each_encoder_mask(encoder, crtc->dev, state->encoder_mask)
301 return encoder;
322 static void vc4_crtc_config_pv(struct drm_crtc *crtc, struct drm_encoder *encoder,
327 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder);
466 struct drm_encoder *encoder,
470 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder);
503 vc4_encoder->post_crtc_disable(encoder, state);
509 vc4_encoder->post_crtc_powerdown(encoder, state);
523 struct drm_encoder *encoder;
551 encoder = vc4_find_encoder_by_type(drm, encoder_type);
552 if (WARN_ON(!encoder))
555 vc4_hdmi = encoder_to_vc4_hdmi(encoder);
560 ret = vc4_crtc_disable(crtc, encoder, NULL, channel);
593 struct drm_encoder *encoder = vc4_get_crtc_encoder(crtc, old_state);
597 crtc->name, crtc->base.id, encoder->name, encoder->base.id);
604 vc4_crtc_disable(crtc, encoder, state, old_vc4_state->assigned_channel);
620 struct drm_encoder *encoder = vc4_get_crtc_encoder(crtc, new_state);
621 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder);
625 crtc->name, crtc->base.id, encoder->name, encoder->base.id);
640 vc4_encoder->pre_crtc_configure(encoder, state);
642 vc4_crtc_config_pv(crtc, encoder, state);
647 vc4_encoder->pre_crtc_enable(encoder, state);
656 vc4_encoder->post_crtc_enable(encoder, state);
713 struct drm_encoder *encoder;
720 encoder = vc4_get_crtc_encoder(crtc, crtc_state);
721 if (encoder) {
723 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder);
799 * the CRTC and encoder already reconfigured, leading to
1278 struct drm_encoder *encoder;
1280 drm_for_each_encoder(encoder, drm) {
1284 if (encoder->encoder_type == DRM_MODE_ENCODER_VIRTUAL)
1287 vc4_encoder = to_vc4_encoder(encoder);
1291 encoder->possible_crtcs |= drm_crtc_mask(crtc);