Lines Matching refs:stream

1220 	const struct dc_stream_state *stream = pipe_ctx->stream;
1223 struct dc_link *link = stream->link;
1225 struct dc *dc = pipe_ctx->stream->ctx->dc;
1231 pixel_clk_params->requested_pix_clk_100hz = stream->timing.pix_clk_100hz;
1237 pixel_clk_params->signal_type = pipe_ctx->stream->signal;
1245 stream->timing.display_color_depth;
1247 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding;
1249 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422)
1254 else if (optc2_is_two_pixels_per_containter(&stream->timing) || opp_cnt == 2)
1261 if (stream->timing.timing_3d_format == TIMING_3D_FORMAT_HW_FRAME_PACKING)
1266 static void build_clamping_params(struct dc_stream_state *stream)
1268 stream->clamping.clamping_level = CLAMPING_FULL_RANGE;
1269 stream->clamping.c_depth = stream->timing.display_color_depth;
1270 stream->clamping.pixel_encoding = stream->timing.pixel_encoding;
1284 struct resource_pool *pool = pipe_ctx->stream->ctx->dc->res_pool;
1292 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding;
1294 resource_build_bit_depth_reduction_params(pipe_ctx->stream,
1295 &pipe_ctx->stream->bit_depth_params);
1296 build_clamping_params(pipe_ctx->stream);
1301 enum dc_status dcn20_build_mapped_resource(const struct dc *dc, struct dc_state *context, struct dc_stream_state *stream)
1304 struct pipe_ctx *pipe_ctx = resource_get_otg_master_for_stream(&context->res_ctx, stream);
1381 if (pipe_ctx->stream != dc_stream)
1409 if (new_ctx->res_ctx.pipe_ctx[i].stream == dc_stream && !new_ctx->res_ctx.pipe_ctx[i].top_pipe) {
1454 * dcn20_split_stream_for_odm - Check if stream can be splited for ODM
1467 * Return true if split stream for ODM is possible, otherwise, return false.
1543 if (next_odm_pipe->stream->timing.flags.DSC == 1 && !next_odm_pipe->top_pipe) {
1627 if (!context->res_ctx.pipe_ctx[i].stream)
1631 if (context->res_ctx.pipe_ctx[i].stream->writeback_info[j].wb_enabled == false)
1634 //wb_arb_params = &context->res_ctx.pipe_ctx[i].stream->writeback_info[j].mcif_arb_params;
1637 if (context->res_ctx.pipe_ctx[i].stream->writeback_info[j].dwb_params.out_format == dwb_scaler_mode_yuv420) {
1638 if (context->res_ctx.pipe_ctx[i].stream->writeback_info[j].dwb_params.output_depth == DWB_OUTPUT_PIXEL_DEPTH_8BPC)
1672 struct dc_stream_state *stream = pipe_ctx->stream;
1681 if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe || !stream || !stream->timing.flags.DSC)
1684 dsc_cfg.pic_width = (stream->timing.h_addressable + stream->timing.h_border_left
1685 + stream->timing.h_border_right) / opp_cnt;
1686 dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top
1687 + stream->timing.v_border_bottom;
1688 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding;
1689 dsc_cfg.color_depth = stream->timing.display_color_depth;
1691 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg;
1719 if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
1727 if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
1745 if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
1766 if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
1797 odm_pipe->stream = NULL;
1825 hsplit_pipe->stream = NULL;
1873 if (pipe->stream && !pipe->prev_odm_pipe &&
1885 if (!pipe->stream)
1888 timing = pipe->stream->timing;
1900 if (!context->res_ctx.pipe_ctx[i].stream)
1924 if (!context->res_ctx.pipe_ctx[i].stream)
1932 if ((pipe->stream->view_format ==
1934 pipe->stream->view_format ==
1936 (pipe->stream->timing.timing_3d_format ==
1938 pipe->stream->timing.timing_3d_format ==
1950 if (pipe->stream->timing.h_addressable > 7680 &&
1951 pipe->stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) {
2070 if (!pipe->stream || pipe_split_from[i] >= 0)
2083 dcn20_build_mapped_resource(dc, context, pipe->stream);
2113 dcn20_build_mapped_resource(dc, context, pipe->stream);
2128 /* Actual dsc count per stream dsc validation*/
2172 struct pipe_ctx *otg_master = resource_get_otg_master_for_stream(res_ctx, opp_head->stream);
2180 sec_dpp_pipe->stream = opp_head->stream;
2718 dm_error("DC: failed to create display stream compressor %d!\n", i);