Lines Matching refs:stream

158 	if (pipe_ctx == NULL || pipe_ctx->stream == NULL)
165 if (pipe_ctx->stream->link && pipe_ctx->stream->link->remote_sinks[0]) {
168 dc_is_dp_signal(pipe_ctx->stream->signal) &&
169 (pipe_ctx->stream->link->remote_sinks[0]->sink_id == pipe_ctx->stream->sink->sink_id));
174 dc_is_dp_signal(pipe_ctx->stream->signal));
182 if (!context->res_ctx.pipe_ctx[i].stream)
251 struct dc_crtc_timing *timing = &pipe_ctx->stream->timing;
255 hblank_start = pipe_ctx->stream->timing.h_total - pipe_ctx->stream->timing.h_front_porch;
256 vblank_start = pipe_ctx->stream->timing.v_total - pipe_ctx->stream->timing.v_front_porch;
270 pipe_ctx->pipe_dlg_param.htotal = pipe_ctx->stream->timing.h_total;
271 pipe_ctx->pipe_dlg_param.vtotal = pipe_ctx->stream->timing.v_total;
276 pipe_ctx->pipe_dlg_param.vfront_porch = pipe_ctx->stream->timing.v_front_porch;
277 pipe_ctx->pipe_dlg_param.pixel_rate_mhz = pipe_ctx->stream->timing.pix_clk_100hz / 10000.00;
279 pipe_ctx->pipe_dlg_param.vtotal_max = pipe_ctx->stream->adjust.v_total_max;
280 pipe_ctx->pipe_dlg_param.vtotal_min = pipe_ctx->stream->adjust.v_total_min;
316 if (!context->res_ctx.pipe_ctx[dc_pipe_ctx_index].stream)
321 * it finds a dml_pipe_index from the stream id. */
323 context->res_ctx.pipe_ctx[dc_pipe_ctx_index].stream->stream_id,
327 dml_pipe_idx = dml2_helper_find_dml_pipe_idx_by_stream_id(in_ctx, context->res_ctx.pipe_ctx[dc_pipe_ctx_index].stream->stream_id);
333 ASSERT(in_ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_stream_id[dml_pipe_idx] == context->res_ctx.pipe_ctx[dc_pipe_ctx_index].stream->stream_id);
363 if (context->res_ctx.pipe_ctx[dc_pipe_ctx_index].stream && context->res_ctx.pipe_ctx[dc_pipe_ctx_index].plane_state &&
456 if (context->res_ctx.pipe_ctx[i].stream->phy_pix_clk != 0) {
459 (1000000 << 6) / context->res_ctx.pipe_ctx[i].stream->phy_pix_clk;
486 /* Number of planes per stream */
536 if (!display_state->res_ctx.pipe_ctx[i].stream)
539 display_state->res_ctx.pipe_ctx[i].stream->stream_id,
543 dml_pipe_idx = dml2_helper_find_dml_pipe_idx_by_stream_id(in_ctx, display_state->res_ctx.pipe_ctx[i].stream->stream_id);
561 bool dml2_is_stereo_timing(const struct dc_stream_state *stream)
565 if ((stream->view_format ==
567 stream->view_format ==
569 (stream->timing.timing_3d_format ==
571 stream->timing.timing_3d_format ==