Lines Matching refs:pipe_idx

130 			ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_index[state->res_ctx.pipe_ctx[i].pipe_idx], &plane_id_assigned_to_pipe)) {
153 ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_index[pipe->pipe_idx],
161 pipes[num_found++] = mpc_pipe->pipe_idx;
303 static bool is_pipe_in_candidate_array(const unsigned int pipe_idx,
310 if (candidate_array[i] == pipe_idx)
345 // TODO: This doens't make sense really, pipe_idx should always be valid
346 pipe->pipe_idx = preferred_pipe_candidates[i];
347 assigned_pipes[(*assigned_pipe_count)++] = pipe->pipe_idx;
361 // TODO: This doens't make sense really, pipe_idx should always be valid
362 pipe->pipe_idx = i;
363 assigned_pipes[(*assigned_pipe_count)++] = pipe->pipe_idx;
372 // TODO: This doens't make sense really, pipe_idx should always be valid
373 pipe->pipe_idx = last_resort_pipe_candidates[i];
374 assigned_pipes[(*assigned_pipe_count)++] = pipe->pipe_idx;
411 // TODO: This doens't make sense really, pipe_idx should always be valid
412 pipe->pipe_idx = preferred_pipe_candidates[i];
413 assigned_pipes[(*assigned_pipe_count)++] = pipe->pipe_idx;
427 // TODO: This doens't make sense really, pipe_idx should always be valid
428 pipe->pipe_idx = i;
429 assigned_pipes[(*assigned_pipe_count)++] = pipe->pipe_idx;
438 // TODO: This doens't make sense really, pipe_idx should always be valid
439 pipe->pipe_idx = last_resort_pipe_candidates[i];
440 assigned_pipes[(*assigned_pipe_count)++] = pipe->pipe_idx;
592 pipes[num_found++] = pipe->pipe_idx;
680 static bool is_pipe_used(const struct dc_plane_pipe_pool *pool, unsigned int pipe_idx)
686 if (pool->pipes_assigned_to_plane[i][j] == pipe_idx && pool->pipe_used[i][j])
709 ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_index[state->res_ctx.pipe_ctx[i].pipe_idx] == plane_index)) &&
710 !is_pipe_used(pool, state->res_ctx.pipe_ctx[i].pipe_idx)) {