res_ctx           510 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		struct resource_context *res_ctx,
res_ctx           866 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          1172 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          1233 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 						hsplit_pipe = find_idle_secondary_pipe(&context->res_ctx, pool, pipe);
res_ctx          1235 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 						split_stream_across_pipes(&context->res_ctx, pool, pipe, hsplit_pipe);
res_ctx           171 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx           135 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 			if (stream == context->res_ctx.pipe_ctx[k].stream) {
res_ctx           136 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 				pipe_ctx = &context->res_ctx.pipe_ctx[k];
res_ctx           102 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c 		struct pipe_ctx *pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           110 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 		if (!context->res_ctx.pipe_ctx[i].plane_state)
res_ctx           113 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 		dpp_inst = context->res_ctx.pipe_ctx[i].plane_res.dpp->inst;
res_ctx           114 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 		dppclk_khz = context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz;
res_ctx           284 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 				if (!context->res_ctx.pipe_ctx[i].plane_state)
res_ctx           287 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 				dpp_inst = context->res_ctx.pipe_ctx[i].plane_res.dpp->inst;
res_ctx           288 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 				dppclk_khz = context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz;
res_ctx           301 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 				if (!context->res_ctx.pipe_ctx[i].plane_state)
res_ctx           304 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 				dpp_inst = context->res_ctx.pipe_ctx[i].plane_res.dpp->inst;
res_ctx           305 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 				dppclk_khz = context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz;
res_ctx           289 drivers/gpu/drm/amd/display/dc/core/dc.c 		struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           318 drivers/gpu/drm/amd/display/dc/core/dc.c 				&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           351 drivers/gpu/drm/amd/display/dc/core/dc.c 		pipe = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           400 drivers/gpu/drm/amd/display/dc/core/dc.c 		pipe = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           425 drivers/gpu/drm/amd/display/dc/core/dc.c 		if (link->dc->current_state->res_ctx.pipe_ctx[i].stream ==
res_ctx           427 drivers/gpu/drm/amd/display/dc/core/dc.c 			pipes = &link->dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           462 drivers/gpu/drm/amd/display/dc/core/dc.c 		if (dc->current_state->res_ctx.pipe_ctx[i].stream == stream) {
res_ctx           463 drivers/gpu/drm/amd/display/dc/core/dc.c 			pipes = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           479 drivers/gpu/drm/amd/display/dc/core/dc.c 		if (dc->current_state->res_ctx.pipe_ctx[i].stream
res_ctx           482 drivers/gpu/drm/amd/display/dc/core/dc.c 			pipes = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           509 drivers/gpu/drm/amd/display/dc/core/dc.c 			if (dc->current_state->res_ctx.pipe_ctx[j].stream
res_ctx           512 drivers/gpu/drm/amd/display/dc/core/dc.c 						&dc->current_state->res_ctx.pipe_ctx[j];
res_ctx           756 drivers/gpu/drm/amd/display/dc/core/dc.c 				dc->current_state->res_ctx.pipe_ctx[i].stream;
res_ctx           850 drivers/gpu/drm/amd/display/dc/core/dc.c 		if (!ctx->res_ctx.pipe_ctx[i].stream ||
res_ctx           851 drivers/gpu/drm/amd/display/dc/core/dc.c 				!ctx->res_ctx.pipe_ctx[i].stream->triggered_crtc_reset.enabled)
res_ctx           853 drivers/gpu/drm/amd/display/dc/core/dc.c 		if (ctx->res_ctx.pipe_ctx[i].stream == ctx->res_ctx.pipe_ctx[i].stream->triggered_crtc_reset.event_source)
res_ctx           855 drivers/gpu/drm/amd/display/dc/core/dc.c 		multisync_pipes[multisync_count] = &ctx->res_ctx.pipe_ctx[i];
res_ctx           876 drivers/gpu/drm/amd/display/dc/core/dc.c 		if (!ctx->res_ctx.pipe_ctx[i].stream || ctx->res_ctx.pipe_ctx[i].top_pipe)
res_ctx           879 drivers/gpu/drm/amd/display/dc/core/dc.c 		unsynced_pipes[i] = &ctx->res_ctx.pipe_ctx[i];
res_ctx          1038 drivers/gpu/drm/amd/display/dc/core/dc.c 			pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          1040 drivers/gpu/drm/amd/display/dc/core/dc.c 			pipe = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          1094 drivers/gpu/drm/amd/display/dc/core/dc.c 		pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          1125 drivers/gpu/drm/amd/display/dc/core/dc.c 			pipe = &context->res_ctx.pipe_ctx[k];
res_ctx          1191 drivers/gpu/drm/amd/display/dc/core/dc.c 		pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          1219 drivers/gpu/drm/amd/display/dc/core/dc.c 		if (context->res_ctx.pipe_ctx[i].stream == NULL ||
res_ctx          1220 drivers/gpu/drm/amd/display/dc/core/dc.c 		    context->res_ctx.pipe_ctx[i].plane_state == NULL) {
res_ctx          1221 drivers/gpu/drm/amd/display/dc/core/dc.c 			context->res_ctx.pipe_ctx[i].pipe_idx = i;
res_ctx          1222 drivers/gpu/drm/amd/display/dc/core/dc.c 			dc->hwss.disable_plane(dc, &context->res_ctx.pipe_ctx[i]);
res_ctx          1261 drivers/gpu/drm/amd/display/dc/core/dc.c 			struct pipe_ctx *cur_pipe = &new_ctx->res_ctx.pipe_ctx[i];
res_ctx          1264 drivers/gpu/drm/amd/display/dc/core/dc.c 				cur_pipe->top_pipe =  &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx];
res_ctx          1267 drivers/gpu/drm/amd/display/dc/core/dc.c 				cur_pipe->bottom_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx];
res_ctx          1270 drivers/gpu/drm/amd/display/dc/core/dc.c 				cur_pipe->prev_odm_pipe =  &new_ctx->res_ctx.pipe_ctx[cur_pipe->prev_odm_pipe->pipe_idx];
res_ctx          1273 drivers/gpu/drm/amd/display/dc/core/dc.c 				cur_pipe->next_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx];
res_ctx          1362 drivers/gpu/drm/amd/display/dc/core/dc.c 		const struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
res_ctx          1903 drivers/gpu/drm/amd/display/dc/core/dc.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
res_ctx          2042 drivers/gpu/drm/amd/display/dc/core/dc.c 				struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
res_ctx          2062 drivers/gpu/drm/amd/display/dc/core/dc.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
res_ctx          2111 drivers/gpu/drm/amd/display/dc/core/dc.c 					struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
res_ctx          2130 drivers/gpu/drm/amd/display/dc/core/dc.c 				struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
res_ctx          2156 drivers/gpu/drm/amd/display/dc/core/dc.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
res_ctx          2204 drivers/gpu/drm/amd/display/dc/core/dc.c 			struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          2205 drivers/gpu/drm/amd/display/dc/core/dc.c 			struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          2221 drivers/gpu/drm/amd/display/dc/core/dc.c 					&context->res_ctx.pipe_ctx[j];
res_ctx          2250 drivers/gpu/drm/amd/display/dc/core/dc.c 			struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx           310 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 		struct resource_context *res_ctx)
res_ctx           321 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 		struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i];
res_ctx           333 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 		struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i];
res_ctx          2341 drivers/gpu/drm/amd/display/dc/core/dc_link.c 			if (core_dc->current_state->res_ctx.pipe_ctx[i].stream) {
res_ctx          2342 drivers/gpu/drm/amd/display/dc/core/dc_link.c 				if (core_dc->current_state->res_ctx.
res_ctx          2350 drivers/gpu/drm/amd/display/dc/core/dc_link.c 						res_ctx.pipe_ctx[i].stream_res.tg->inst +
res_ctx          2356 drivers/gpu/drm/amd/display/dc/core/dc_link.c 					if (core_dc->current_state->res_ctx.pipe_ctx[i].plane_state == NULL)
res_ctx          3019 drivers/gpu/drm/amd/display/dc/core/dc_link.c 		pipe = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          3193 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 	struct pipe_ctx *pipes = link->dc->current_state->res_ctx.pipe_ctx;
res_ctx            76 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c 			link->dc->current_state->res_ctx.pipe_ctx;
res_ctx           273 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c 			&link->dc->current_state->res_ctx.pipe_ctx[0];
res_ctx           331 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx           338 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		res_ctx->clock_source_ref_count[i]--;
res_ctx           341 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		res_ctx->dp_clock_source_ref_count--;
res_ctx           345 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx           352 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		res_ctx->clock_source_ref_count[i]++;
res_ctx           355 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		res_ctx->dp_clock_source_ref_count++;
res_ctx           359 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx           366 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		return res_ctx->clock_source_ref_count[i];
res_ctx           369 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		return res_ctx->dp_clock_source_ref_count;
res_ctx           459 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 					struct resource_context *res_ctx,
res_ctx           465 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if (is_sharable_clk_src(&res_ctx->pipe_ctx[i], pipe_ctx))
res_ctx           466 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			return res_ctx->pipe_ctx[i].clock_source;
res_ctx          1059 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if (context->res_ctx.pipe_ctx[i].plane_state != NULL &&
res_ctx          1060 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				context->res_ctx.pipe_ctx[i].stream != NULL)
res_ctx          1061 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			if (!resource_build_scaling_params(&context->res_ctx.pipe_ctx[i]))
res_ctx          1069 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1106 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
res_ctx          1107 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx];
res_ctx          1118 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			if (res_ctx->pipe_ctx[i].stream == NULL) {
res_ctx          1119 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				secondary_pipe = &res_ctx->pipe_ctx[i];
res_ctx          1129 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1135 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if (res_ctx->pipe_ctx[i].stream == stream
res_ctx          1136 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				&& !res_ctx->pipe_ctx[i].top_pipe
res_ctx          1137 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				&& !res_ctx->pipe_ctx[i].prev_odm_pipe)
res_ctx          1138 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			return &res_ctx->pipe_ctx[i];
res_ctx          1144 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1169 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	struct resource_context *res_ctx = &context->res_ctx;
res_ctx          1176 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if (res_ctx->pipe_ctx[i].stream == head_pipe->stream &&
res_ctx          1177 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				!res_ctx->pipe_ctx[i].plane_state) {
res_ctx          1178 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			return &res_ctx->pipe_ctx[i];
res_ctx          1195 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1202 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct pipe_ctx *split_pipe = &res_ctx->pipe_ctx[i];
res_ctx          1258 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	head_pipe = resource_get_head_pipe_for_stream(&context->res_ctx, stream);
res_ctx          1269 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		tail_pipe = resource_get_tail_pipe(&context->res_ctx, head_pipe);
res_ctx          1276 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			int pipe_idx = acquire_first_split_pipe(&context->res_ctx, pool, stream);
res_ctx          1278 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				free_pipe = &context->res_ctx.pipe_ctx[pipe_idx];
res_ctx          1331 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1578 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1587 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			res_ctx->is_stream_enc_acquired[i] = acquired;
res_ctx          1593 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1601 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			res_ctx->is_audio_acquired[i] = acquired;
res_ctx          1606 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1613 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if (!res_ctx->pipe_ctx[i].stream) {
res_ctx          1614 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i];
res_ctx          1636 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1645 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if ((res_ctx->is_audio_acquired[i] == false) && (res_ctx->is_stream_enc_acquired[i] == true)) {
res_ctx          1654 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	if ((id < available_audio_count) && (res_ctx->is_audio_acquired[id] == false)) {
res_ctx          1659 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if (res_ctx->is_audio_acquired[i] == false) {
res_ctx          1718 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	struct pipe_ctx *del_pipe = resource_get_head_pipe_for_stream(&new_ctx->res_ctx, stream);
res_ctx          1731 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			&new_ctx->res_ctx,
res_ctx          1738 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			&new_ctx->res_ctx,
res_ctx          1743 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	resource_unreference_clock_source(&new_ctx->res_ctx,
res_ctx          1852 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          1883 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	if (!res_ctx->pipe_ctx[tg_inst].stream) {
res_ctx          1884 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[tg_inst];
res_ctx          1939 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				&context->res_ctx,
res_ctx          1945 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		pipe_idx = acquire_first_free_pipe(&context->res_ctx, pool, stream);
res_ctx          1949 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		pipe_idx = acquire_first_split_pipe(&context->res_ctx, pool, stream);
res_ctx          1952 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	if (pipe_idx < 0 || context->res_ctx.pipe_ctx[pipe_idx].stream_res.tg == NULL)
res_ctx          1955 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	pipe_ctx = &context->res_ctx.pipe_ctx[pipe_idx];
res_ctx          1959 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			&context->res_ctx, pool, stream);
res_ctx          1965 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		&context->res_ctx, pool,
res_ctx          1974 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		&context->res_ctx, pool, pipe_ctx->stream_res.stream_enc->id);
res_ctx          1982 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			update_audio_usage(&context->res_ctx, pool,
res_ctx          2055 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			struct pipe_ctx *pipe_ctx = &new_ctx->res_ctx.pipe_ctx[j];
res_ctx          2076 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 						&new_ctx->res_ctx,
res_ctx          2082 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 						&new_ctx->res_ctx,
res_ctx          2454 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct pipe_ctx *cur_pipe = &dst_ctx->res_ctx.pipe_ctx[i];
res_ctx          2457 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			cur_pipe->top_pipe =  &dst_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx];
res_ctx          2460 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			cur_pipe->bottom_pipe = &dst_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx];
res_ctx          2463 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			cur_pipe->next_odm_pipe =  &dst_ctx->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx];
res_ctx          2466 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			cur_pipe->prev_odm_pipe = &dst_ctx->res_ctx.pipe_ctx[cur_pipe->prev_odm_pipe->pipe_idx];
res_ctx          2482 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		struct resource_context *res_ctx,
res_ctx          2488 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		if (res_ctx->clock_source_ref_count[i] == 0)
res_ctx          2539 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				&context->res_ctx, stream);
res_ctx          2552 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 				&context->res_ctx,
res_ctx          2558 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 					&context->res_ctx,
res_ctx          2566 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		&context->res_ctx, pool,
res_ctx           276 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 	struct resource_context *res_ctx;
res_ctx           294 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 	res_ctx = &core_dc->current_state->res_ctx;
res_ctx           298 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i];
res_ctx           327 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 	struct resource_context *res_ctx;
res_ctx           341 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 	res_ctx = &core_dc->current_state->res_ctx;
res_ctx           345 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i];
res_ctx           489 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 	struct resource_context *res_ctx =
res_ctx           490 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		&core_dc->current_state->res_ctx;
res_ctx           493 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		struct timing_generator *tg = res_ctx->pipe_ctx[i].stream_res.tg;
res_ctx           495 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		if (res_ctx->pipe_ctx[i].stream != stream)
res_ctx           510 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 	struct resource_context *res_ctx;
res_ctx           518 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 	res_ctx = &dc->current_state->res_ctx;
res_ctx           521 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i];
res_ctx           548 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 	struct resource_context *res_ctx =
res_ctx           549 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		&core_dc->current_state->res_ctx;
res_ctx           552 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		struct timing_generator *tg = res_ctx->pipe_ctx[i].stream_res.tg;
res_ctx           554 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		if (res_ctx->pipe_ctx[i].stream != stream)
res_ctx           581 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		pipe = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           610 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           163 drivers/gpu/drm/amd/display/dc/core/dc_surface.c 				&core_dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           175 drivers/gpu/drm/amd/display/dc/core/dc_surface.c 				&core_dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           190 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx           507 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 			if (stream == context->res_ctx.pipe_ctx[k].stream) {
res_ctx           508 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 				pipe_ctx = &context->res_ctx.pipe_ctx[k];
res_ctx           113 drivers/gpu/drm/amd/display/dc/dce100/dce100_hw_sequencer.c 	dce110_set_safe_displaymarks(&context->res_ctx, dc->res_pool);
res_ctx           125 drivers/gpu/drm/amd/display/dc/dce100/dce100_hw_sequencer.c 	dce110_set_safe_displaymarks(&context->res_ctx, dc->res_pool);
res_ctx           753 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream);
res_ctx           774 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		if (context->res_ctx.pipe_ctx[i].stream)
res_ctx           857 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		struct resource_context *res_ctx,
res_ctx           866 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		if (!res_ctx->is_stream_enc_acquired[i] &&
res_ctx            50 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.h 		struct resource_context *res_ctx,
res_ctx           966 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			if (core_dc->current_state->res_ctx.pipe_ctx[i].stream_res.audio != NULL)
res_ctx          1275 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx.
res_ctx          1514 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		dc->current_state->res_ctx.pipe_ctx[i].pipe_idx = i;
res_ctx          1516 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			&dc->current_state->res_ctx.pipe_ctx[i]);
res_ctx          1654 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1683 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct resource_context *res_ctx,
res_ctx          1695 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		if (res_ctx->pipe_ctx[i].stream == NULL || res_ctx->pipe_ctx[i].plane_res.mi == NULL)
res_ctx          1698 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		res_ctx->pipe_ctx[i].plane_res.mi->funcs->mem_input_program_display_marks(
res_ctx          1699 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 				res_ctx->pipe_ctx[i].plane_res.mi,
res_ctx          1707 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			res_ctx->pipe_ctx[i].plane_res.mi->funcs->mem_input_program_chroma_display_marks(
res_ctx          1708 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 				res_ctx->pipe_ctx[i].plane_res.mi,
res_ctx          1796 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	struct resource_context *res_ctx = &context->res_ctx;
res_ctx          1811 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		if (res_ctx->pipe_ctx[i].stream) {
res_ctx          1813 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			pipe_ctx = &res_ctx->pipe_ctx[i];
res_ctx          1864 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[pipe_idx];
res_ctx          1888 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          1889 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1920 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 						update_audio_usage(&dc->current_state->res_ctx, dc->res_pool,
res_ctx          1936 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			if (old_clk && 0 == resource_get_clock_source_reference(&context->res_ctx,
res_ctx          1974 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2002 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2051 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 					&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          2052 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2076 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 					&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          2077 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2441 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	dce110_set_safe_displaymarks(&context->res_ctx, dc->res_pool);
res_ctx          2476 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		old_pipe = &dc->current_state->res_ctx.pipe_ctx[pipe_ctx->pipe_idx];
res_ctx          2591 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2592 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          2602 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2624 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2625 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          2643 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	if (dc->current_state->res_ctx.pipe_ctx[fe_idx].stream)
res_ctx            63 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h 		struct resource_context *res_ctx,
res_ctx           872 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream);
res_ctx           905 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->res_ctx.pipe_ctx,
res_ctx          1054 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	struct resource_context *res_ctx = &context->res_ctx;
res_ctx          1056 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[underlay_idx];
res_ctx          1058 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	if (res_ctx->pipe_ctx[underlay_idx].stream)
res_ctx          1070 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	if (!dc->current_state->res_ctx.pipe_ctx[underlay_idx].stream) {
res_ctx          1124 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 		struct resource_context *res_ctx,
res_ctx          1133 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 		if (!res_ctx->is_stream_enc_acquired[i] &&
res_ctx            49 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.h 		struct resource_context *res_ctx,
res_ctx           771 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 		struct resource_context *res_ctx,
res_ctx           800 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream);
res_ctx           827 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->res_ctx.pipe_ctx,
res_ctx           892 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			&context->res_ctx, stream);
res_ctx           903 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			&context->res_ctx, dc->res_pool,
res_ctx           910 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 		&context->res_ctx,
res_ctx           808 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		if (context->res_ctx.pipe_ctx[i].stream)
res_ctx           716 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           843 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 				update_audio_usage(&dc->current_state->res_ctx, dc->res_pool,
res_ctx           864 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		if (&dc->current_state->res_ctx.pipe_ctx[i] == pipe_ctx)
res_ctx           886 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           911 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           924 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           934 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx           946 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          1090 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1115 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1129 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1142 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          1314 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          1315 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2534 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2536 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 				&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          2596 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2598 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 				&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          2635 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2657 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			dc->hwss.disable_plane(dc, &dc->current_state->res_ctx.pipe_ctx[i]);
res_ctx          3113 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx           432 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c 		pix_clk = dc->current_state->res_ctx.pipe_ctx[i].stream_res.pix_clk_params.requested_pix_clk_100hz / 10;
res_ctx          1042 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream);
res_ctx          1093 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	struct resource_context *res_ctx = &context->res_ctx;
res_ctx          1094 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	struct pipe_ctx *head_pipe = resource_get_head_pipe_for_stream(res_ctx, stream);
res_ctx          1095 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	struct pipe_ctx *idle_pipe = find_idle_secondary_pipe(res_ctx, pool, head_pipe);
res_ctx          1216 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 		struct resource_context *res_ctx,
res_ctx          1225 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 		if (!res_ctx->is_stream_enc_acquired[i] &&
res_ctx            46 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.h 		struct resource_context *res_ctx,
res_ctx          1167 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1169 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          1194 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1196 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 				&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          1232 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 			struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1252 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 			dcn20_disable_plane(dc, &dc->current_state->res_ctx.pipe_ctx[i]);
res_ctx          1323 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1652 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 				update_audio_usage(&dc->current_state->res_ctx, dc->res_pool,
res_ctx          1682 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 		if (&dc->current_state->res_ctx.pipe_ctx[i] == pipe_ctx)
res_ctx          1702 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 			&dc->current_state->res_ctx.pipe_ctx[i];
res_ctx          1703 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2057 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          2094 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 		struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
res_ctx          1500 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream);
res_ctx          1531 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c static void acquire_dsc(struct resource_context *res_ctx,
res_ctx          1543 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		res_ctx->is_dsc_acquired[pipe_idx] = true;
res_ctx          1549 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!res_ctx->is_dsc_acquired[i]) {
res_ctx          1551 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			res_ctx->is_dsc_acquired[i] = true;
res_ctx          1556 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c static void release_dsc(struct resource_context *res_ctx,
res_ctx          1564 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			res_ctx->is_dsc_acquired[i] = false;
res_ctx          1584 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct pipe_ctx *pipe_ctx = &dc_ctx->res_ctx.pipe_ctx[i];
res_ctx          1589 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		acquire_dsc(&dc_ctx->res_ctx, pool, &pipe_ctx->stream_res.dsc, i);
res_ctx          1612 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (new_ctx->res_ctx.pipe_ctx[i].stream == dc_stream && !new_ctx->res_ctx.pipe_ctx[i].top_pipe) {
res_ctx          1613 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i];
res_ctx          1616 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc);
res_ctx          1723 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct resource_context *res_ctx,
res_ctx          1790 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		acquire_dsc(res_ctx, pool, &next_odm_pipe->stream_res.dsc, next_odm_pipe->pipe_idx);
res_ctx          1801 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct resource_context *res_ctx,
res_ctx          1836 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes)
res_ctx          1841 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct dc_writeback_info *wb_info = &res_ctx->pipe_ctx[i].stream->writeback_info[0];
res_ctx          1843 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!res_ctx->pipe_ctx[i].stream)
res_ctx          1873 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes)
res_ctx          1879 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!res_ctx->pipe_ctx[i].stream)
res_ctx          1887 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				res_ctx->pipe_ctx[pipe_cnt].stream,
res_ctx          1888 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				res_ctx->pipe_ctx[i].stream)) {
res_ctx          1895 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct dc_crtc_timing *timing = &res_ctx->pipe_ctx[i].stream->timing;
res_ctx          1898 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!res_ctx->pipe_ctx[i].stream)
res_ctx          1906 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		pipes[pipe_cnt].dout.dsc_enable = res_ctx->pipe_ctx[i].stream->timing.flags.DSC;
res_ctx          1908 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		pipes[pipe_cnt].dout.dsc_slices = res_ctx->pipe_ctx[i].stream->timing.dsc_cfg.num_slices_h;
res_ctx          1910 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (res_ctx->pipe_ctx[i].stream->use_dynamic_meta) {
res_ctx          1918 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				dc_is_dp_signal(res_ctx->pipe_ctx[i].stream->signal) ? 36 : 32;
res_ctx          1941 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		pipes[pipe_cnt].pipe.dest.otg_inst = res_ctx->pipe_ctx[i].stream_res.tg->inst;
res_ctx          1943 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		pipes[pipe_cnt].pipe.dest.vtotal_min = res_ctx->pipe_ctx[i].stream->adjust.v_total_min;
res_ctx          1944 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		pipes[pipe_cnt].pipe.dest.vtotal_max = res_ctx->pipe_ctx[i].stream->adjust.v_total_max;
res_ctx          1945 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		pipes[pipe_cnt].pipe.dest.odm_combine = res_ctx->pipe_ctx[i].prev_odm_pipe
res_ctx          1946 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 							|| res_ctx->pipe_ctx[i].next_odm_pipe;
res_ctx          1947 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].pipe_idx;
res_ctx          1948 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state
res_ctx          1949 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				== res_ctx->pipe_ctx[i].plane_state)
res_ctx          1950 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].top_pipe->pipe_idx;
res_ctx          1951 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		else if (res_ctx->pipe_ctx[i].prev_odm_pipe) {
res_ctx          1952 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			struct pipe_ctx *first_pipe = res_ctx->pipe_ctx[i].prev_odm_pipe;
res_ctx          1959 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		switch (res_ctx->pipe_ctx[i].stream->signal) {
res_ctx          1978 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		switch (res_ctx->pipe_ctx[i].stream->timing.display_color_depth) {
res_ctx          2010 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		switch (res_ctx->pipe_ctx[i].stream->timing.pixel_encoding) {
res_ctx          2044 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!res_ctx->pipe_ctx[i].plane_state) {
res_ctx          2071 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			struct dc_plane_state *pln = res_ctx->pipe_ctx[i].plane_state;
res_ctx          2072 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			struct scaler_data *scl = &res_ctx->pipe_ctx[i].plane_res.scl_data;
res_ctx          2075 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			pipes[pipe_cnt].pipe.src.is_hsplit = (res_ctx->pipe_ctx[i].bottom_pipe
res_ctx          2076 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 					&& res_ctx->pipe_ctx[i].bottom_pipe->plane_state == pln)
res_ctx          2077 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 					|| (res_ctx->pipe_ctx[i].top_pipe
res_ctx          2078 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 					&& res_ctx->pipe_ctx[i].top_pipe->plane_state == pln);
res_ctx          2101 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			if (res_ctx->pipe_ctx[i].bottom_pipe && res_ctx->pipe_ctx[i].bottom_pipe->plane_state == pln) {
res_ctx          2103 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 						res_ctx->pipe_ctx[i].bottom_pipe->plane_res.scl_data.recout.width;
res_ctx          2105 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 						res_ctx->pipe_ctx[i].bottom_pipe->plane_res.scl_data.recout.height;
res_ctx          2106 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			} else if (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln) {
res_ctx          2108 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 						res_ctx->pipe_ctx[i].top_pipe->plane_res.scl_data.recout.width;
res_ctx          2110 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 						res_ctx->pipe_ctx[i].top_pipe->plane_res.scl_data.recout.height;
res_ctx          2165 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->res_pool->funcs->populate_dml_writeback_from_context(dc, res_ctx, pipes);
res_ctx          2213 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!context->res_ctx.pipe_ctx[i].stream)
res_ctx          2217 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			if (context->res_ctx.pipe_ctx[i].stream->writeback_info[j].wb_enabled == false)
res_ctx          2223 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			if (context->res_ctx.pipe_ctx[i].stream->writeback_info[j].dwb_params.out_format == dwb_scaler_mode_yuv420) {
res_ctx          2224 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				if (context->res_ctx.pipe_ctx[i].stream->writeback_info[j].dwb_params.output_depth == DWB_OUTPUT_PIXEL_DEPTH_8BPC)
res_ctx          2235 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			wb_arb_params->time_per_pixel = 16.0 / context->res_ctx.pipe_ctx[i].stream->phy_pix_clk; /* 4 bit fraction, ms */
res_ctx          2259 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct pipe_ctx *pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i];
res_ctx          2289 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct resource_context *res_ctx,
res_ctx          2306 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (dc->current_state->res_ctx.pipe_ctx[primary_pipe->pipe_idx].bottom_pipe) {
res_ctx          2307 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			preferred_pipe_idx = dc->current_state->res_ctx.pipe_ctx[primary_pipe->pipe_idx].bottom_pipe->pipe_idx;
res_ctx          2308 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
res_ctx          2309 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx];
res_ctx          2312 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		} else if (dc->current_state->res_ctx.pipe_ctx[primary_pipe->pipe_idx].next_odm_pipe) {
res_ctx          2313 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			preferred_pipe_idx = dc->current_state->res_ctx.pipe_ctx[primary_pipe->pipe_idx].next_odm_pipe->pipe_idx;
res_ctx          2314 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
res_ctx          2315 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx];
res_ctx          2328 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				if (dc->current_state->res_ctx.pipe_ctx[j].top_pipe == NULL) {
res_ctx          2331 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 					if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
res_ctx          2332 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 						secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx];
res_ctx          2352 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				if (res_ctx->pipe_ctx[preferred_pipe_idx].stream == NULL) {
res_ctx          2353 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 					secondary_pipe = &res_ctx->pipe_ctx[preferred_pipe_idx];
res_ctx          2390 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          2408 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				release_dsc(&context->res_ctx, dc->res_pool, &odm_pipe->stream_res.dsc);
res_ctx          2421 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          2444 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			&context->res_ctx, pipes);
res_ctx          2447 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			&context->res_ctx, pipes);
res_ctx          2487 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          2518 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!context->res_ctx.pipe_ctx[i].stream)
res_ctx          2527 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i];
res_ctx          2545 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			hsplit_pipe = dcn20_find_secondary_pipe(dc, &context->res_ctx, dc->res_pool, pipe);
res_ctx          2548 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 					&context->res_ctx, dc->res_pool,
res_ctx          2585 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				hsplit_pipe = dcn20_find_secondary_pipe(dc, &context->res_ctx, dc->res_pool, pipe);
res_ctx          2592 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 							&context->res_ctx, dc->res_pool,
res_ctx          2598 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 						&context->res_ctx, dc->res_pool,
res_ctx          2638 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!context->res_ctx.pipe_ctx[i].stream)
res_ctx          2678 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				&context->res_ctx, pipes);
res_ctx          2681 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				&context->res_ctx, pipes);
res_ctx          2763 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!context->res_ctx.pipe_ctx[i].stream)
res_ctx          2799 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!context->res_ctx.pipe_ctx[i].stream)
res_ctx          2803 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz =
res_ctx          2806 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		context->res_ctx.pipe_ctx[i].pipe_dlg_param = pipes[pipe_idx].pipe.dest;
res_ctx          2818 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (!context->res_ctx.pipe_ctx[i].stream)
res_ctx          2822 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				&context->res_ctx.pipe_ctx[i].dlg_regs,
res_ctx          2823 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				&context->res_ctx.pipe_ctx[i].ttu_regs,
res_ctx          2832 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				&context->res_ctx.pipe_ctx[i].rq_regs,
res_ctx          2939 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	struct resource_context *res_ctx = &state->res_ctx;
res_ctx          2940 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	struct pipe_ctx *head_pipe = resource_get_head_pipe_for_stream(res_ctx, stream);
res_ctx          2941 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	struct pipe_ctx *idle_pipe = find_idle_secondary_pipe(res_ctx, pool, head_pipe);
res_ctx            53 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h 		struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes);
res_ctx            59 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h 		struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes);
res_ctx           994 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 			if (!context->res_ctx.pipe_ctx[i].stream)
res_ctx          1024 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 				&context->res_ctx, pipes);
res_ctx          1027 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 				&context->res_ctx, pipes);
res_ctx           106 drivers/gpu/drm/amd/display/dc/inc/core_types.h 		struct resource_context *res_ctx,
res_ctx           133 drivers/gpu/drm/amd/display/dc/inc/core_types.h 			struct resource_context *res_ctx,
res_ctx           139 drivers/gpu/drm/amd/display/dc/inc/core_types.h 			struct resource_context *res_ctx,
res_ctx           386 drivers/gpu/drm/amd/display/dc/inc/core_types.h 	struct resource_context res_ctx;
res_ctx           103 drivers/gpu/drm/amd/display/dc/inc/resource.h 		struct resource_context *res_ctx,
res_ctx           108 drivers/gpu/drm/amd/display/dc/inc/resource.h 		struct resource_context *res_ctx,
res_ctx           113 drivers/gpu/drm/amd/display/dc/inc/resource.h 		struct resource_context *res_ctx,
res_ctx           122 drivers/gpu/drm/amd/display/dc/inc/resource.h 		struct resource_context *res_ctx,
res_ctx           126 drivers/gpu/drm/amd/display/dc/inc/resource.h 		struct resource_context *res_ctx,
res_ctx           130 drivers/gpu/drm/amd/display/dc/inc/resource.h 		struct resource_context *res_ctx,
res_ctx           141 drivers/gpu/drm/amd/display/dc/inc/resource.h 		struct resource_context *res_ctx,
res_ctx           177 drivers/gpu/drm/amd/display/dc/inc/resource.h 		struct resource_context *res_ctx,
res_ctx           215 drivers/gpu/drm/amd/display/dc/irq/dce110/irq_service_dce110.c 			core_dc->current_state->res_ctx.pipe_ctx[pipe_offset].stream_res.tg;
res_ctx            59 drivers/gpu/drm/amd/display/include/logger_interface.h 		struct resource_context *res_ctx);