update_state
update_state->pg_pipe_res_update[PG_OPTC][0] = false;
if (!update_state->pg_pipe_res_update[PG_HUBP][i] &&
!update_state->pg_pipe_res_update[PG_DPP][i]) {
update_state->pg_pipe_res_update[PG_HUBP][j] = false;
update_state->pg_pipe_res_update[PG_DPP][j] = false;
struct pg_block_update *update_state)
memset(update_state, 0, sizeof(struct pg_block_update));
update_state->pg_pipe_res_update[j][new_pipe->plane_res.hubp->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->plane_res.dpp->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->plane_res.mpcc_inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->stream_res.dsc->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->stream_res.opp->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->stream_res.tg->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->stream_res.hpo_dp_stream_enc->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->plane_res.hubp->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->plane_res.dpp->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->stream_res.opp->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->stream_res.dsc->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->stream_res.tg->inst] = true;
update_state->pg_pipe_res_update[j][new_pipe->stream_res.hpo_dp_stream_enc->inst] = true;
update_state->pg_pipe_res_update[PG_PHYSYMCLK][dc->links[i]->link_enc_hw_inst] = true;
update_state->pg_res_update[PG_HPO] = true;
update_state->pg_pipe_res_update[PG_HDMISTREAM][0] = true;
update_state->pg_pipe_res_update[PG_DSC][new_pipe->stream_res.dsc->inst]) {
update_state->pg_pipe_res_update[PG_HUBP][new_pipe->stream_res.dsc->inst] = true;
update_state->pg_pipe_res_update[PG_DPP][new_pipe->stream_res.dsc->inst] = true;
update_state->pg_pipe_res_update[PG_HUBP][j] = true;
update_state->pg_pipe_res_update[PG_DPP][j] = true;
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
update_state->pg_pipe_res_update[PG_HUBP][j] = true;
update_state->pg_pipe_res_update[PG_DPP][j] = true;
struct pg_block_update *update_state)
if (update_state->pg_res_update[PG_HPO]) {
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
if (update_state->pg_pipe_res_update[PG_DSC][i]) {
if (update_state->pg_pipe_res_update[PG_DSC][i]) {
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
struct pg_block_update *update_state)
if (update_state->pg_pipe_res_update[PG_DSC][i]) {
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
if (update_state->pg_pipe_res_update[PG_DSC][i]) {
if (update_state->pg_res_update[PG_HPO]) {
struct pg_block_update *update_state, bool power_on)
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
if (update_state->pg_pipe_res_update[PG_DPSTREAM][i])
if (update_state->pg_pipe_res_update[PG_PHYSYMCLK][i])
if (update_state->pg_pipe_res_update[PG_DSC][i]) {
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
if (update_state->pg_pipe_res_update[PG_DPSTREAM][i])
if (update_state->pg_pipe_res_update[PG_PHYSYMCLK][i])
static void dcn35_calc_blocks_to_ungate_for_hw_release(struct dc *dc, struct pg_block_update *update_state)
memset(update_state, 0, sizeof(struct pg_block_update));
update_state->pg_pipe_res_update[j][i] = true;
update_state->pg_res_update[PG_HPO] = true;
update_state->pg_res_update[PG_DWB] = true;
struct pg_block_update *update_state)
memset(update_state, 0, sizeof(struct pg_block_update));
update_state->pg_res_update[PG_HPO] = true;
update_state->pg_res_update[PG_DWB] = true;
update_state->pg_pipe_res_update[j][i] = true;
update_state->pg_pipe_res_update[PG_HUBP][pipe_ctx->plane_res.hubp->inst] = false;
update_state->pg_pipe_res_update[PG_DPP][pipe_ctx->plane_res.hubp->inst] = false;
update_state->pg_pipe_res_update[PG_MPCC][pipe_ctx->plane_res.mpcc_inst] = false;
update_state->pg_pipe_res_update[PG_DSC][pipe_ctx->stream_res.dsc->inst] = false;
update_state->pg_pipe_res_update[PG_HUBP][pipe_ctx->stream_res.dsc->inst] = false;
update_state->pg_pipe_res_update[PG_DPP][pipe_ctx->stream_res.dsc->inst] = false;
update_state->pg_pipe_res_update[PG_HUBP][j] = false;
update_state->pg_pipe_res_update[PG_DPP][j] = false;
update_state->pg_pipe_res_update[PG_OPP][pipe_ctx->stream_res.opp->inst] = false;
update_state->pg_pipe_res_update[PG_DPSTREAM][pipe_ctx->stream_res.hpo_dp_stream_enc->inst] = false;
update_state->pg_pipe_res_update[PG_PHYSYMCLK][dc->links[i]->link_enc_hw_inst] = true;
update_state->pg_pipe_res_update[PG_PHYSYMCLK][dc->links[i]->link_enc_hw_inst] = false;
update_state->pg_pipe_res_update[PG_OPTC][i] = false;
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state, bool power_on);
struct pg_block_update *update_state)
if (update_state->pg_pipe_res_update[PG_DSC][i]) {
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
struct pg_block_update *update_state)
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
if (update_state->pg_pipe_res_update[PG_DSC][i]) {
struct pg_block_update *update_state)
dcn35_calc_blocks_to_gate(dc, context, update_state);
if (!update_state->pg_pipe_res_update[PG_HUBP][i] &&
!update_state->pg_pipe_res_update[PG_DPP][i]) {
update_state->pg_pipe_res_update[PG_HUBP][j] = false;
update_state->pg_pipe_res_update[PG_DPP][j] = false;
struct pg_block_update *update_state)
dcn35_calc_blocks_to_ungate(dc, context, update_state);
if (update_state->pg_pipe_res_update[PG_HUBP][i] &&
update_state->pg_pipe_res_update[PG_DPP][i]) {
update_state->pg_pipe_res_update[PG_HUBP][j] = true;
update_state->pg_pipe_res_update[PG_DPP][j] = true;
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state);
struct pg_block_update *update_state, bool power_on);
update_state(old, st, r);
void update_state(struct sc_ent *, struct pfsync_state *, double);