Home
last modified time | relevance | path

Searched refs:mpcc_inst (Results 1 – 25 of 25) sorted by relevance

/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_mpc.c352 static void mpc1_init_mpcc(struct mpcc *mpcc, int mpcc_inst) in mpc1_init_mpcc() argument
354 mpcc->mpcc_id = mpcc_inst; in mpc1_init_mpcc()
460 int mpcc_inst, in mpc1_read_mpcc_state() argument
465 REG_GET(MPCC_OPP_ID[mpcc_inst], MPCC_OPP_ID, &s->opp_id); in mpc1_read_mpcc_state()
466 REG_GET(MPCC_TOP_SEL[mpcc_inst], MPCC_TOP_SEL, &s->dpp_id); in mpc1_read_mpcc_state()
467 REG_GET(MPCC_BOT_SEL[mpcc_inst], MPCC_BOT_SEL, &s->bot_mpcc_id); in mpc1_read_mpcc_state()
468 REG_GET_4(MPCC_CONTROL[mpcc_inst], MPCC_MODE, &s->mode, in mpc1_read_mpcc_state()
472 REG_GET_2(MPCC_STATUS[mpcc_inst], MPCC_IDLE, &s->idle, in mpc1_read_mpcc_state()
Ddcn10_hw_sequencer.c1202 opp->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn10_plane_atomic_disconnect()
1407 pipe_ctx->plane_res.mpcc_inst = dpp->inst; in dcn10_init_pipes()
1414 dc->res_pool->opps[i]->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn10_init_pipes()
3255 static struct hubp *get_hubp_by_inst(struct resource_pool *res_pool, int mpcc_inst) in get_hubp_by_inst() argument
3260 if (res_pool->hubps[i]->inst == mpcc_inst) in get_hubp_by_inst()
3273 int mpcc_inst; in dcn10_wait_for_mpcc_disconnect() local
3282 for (mpcc_inst = 0; mpcc_inst < MAX_PIPES; mpcc_inst++) { in dcn10_wait_for_mpcc_disconnect()
3283 if (pipe_ctx->stream_res.opp->mpcc_disconnect_pending[mpcc_inst]) { in dcn10_wait_for_mpcc_disconnect()
3284 struct hubp *hubp = get_hubp_by_inst(res_pool, mpcc_inst); in dcn10_wait_for_mpcc_disconnect()
3288 res_pool->mpc->funcs->wait_for_idle(res_pool->mpc, mpcc_inst); in dcn10_wait_for_mpcc_disconnect()
[all …]
Ddcn10_mpc.h198 int mpcc_inst,
Ddcn10_resource.c1112 idle_pipe->plane_res.mpcc_inst = pool->dpps[idle_pipe->pipe_idx]->inst; in dcn10_acquire_free_pipe_for_layer()
/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_mpc.c62 static void mpc201_init_mpcc(struct mpcc *mpcc, int mpcc_inst) in mpc201_init_mpcc() argument
64 mpcc->mpcc_id = mpcc_inst; in mpc201_init_mpcc()
Ddcn201_hwseq.c312 pipe_ctx->plane_res.mpcc_inst = dpp->inst; in dcn201_init_hw()
320 res_pool->opps[i]->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn201_init_hw()
407 opp->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn201_plane_atomic_disconnect()
Ddcn201_resource.c1018 idle_pipe->plane_res.mpcc_inst = pool->dpps[idle_pipe->pipe_idx]->inst; in dcn201_acquire_free_pipe_for_layer()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c231 ASSERT(wb_info->mpcc_inst >= 0); in dcn30_set_writeback()
232 ASSERT(wb_info->mpcc_inst < dc->res_pool->mpcc_count); in dcn30_set_writeback()
238 wb_info->dwb_pipe_inst, wb_info->mpcc_inst); in dcn30_set_writeback()
253 wb_info->mpcc_inst); in dcn30_update_writeback()
332 wb_info->mpcc_inst); in dcn30_enable_writeback()
392 wb_info.mpcc_inst = -1; in dcn30_program_all_writeback_pipes_in_tree()
400 wb_info.mpcc_inst = pipe_ctx->plane_res.mpcc_inst; in dcn30_program_all_writeback_pipes_in_tree()
405 if (wb_info.mpcc_inst == -1) { in dcn30_program_all_writeback_pipes_in_tree()
Ddcn30_mpc.c1038 void mpc3_init_mpcc(struct mpcc *mpcc, int mpcc_inst) in mpc3_init_mpcc() argument
1040 mpcc->mpcc_id = mpcc_inst; in mpc3_init_mpcc()
Ddcn30_mpc.h1089 void mpc3_init_mpcc(struct mpcc *mpcc, int mpcc_inst);
Ddcn30_resource.c1539 sec_pipe->plane_res.mpcc_inst = pool->dpps[pipe_idx]->inst; in dcn30_split_stream_for_mpc_or_odm()
/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_psr.c343 copy_settings_data->mpcc_inst = pipe_ctx->plane_res.mpcc_inst; in dmub_psr_copy_settings()
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h204 int mpcc_inst,
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c511 static void mpc2_init_mpcc(struct mpcc *mpcc, int mpcc_inst) in mpc2_init_mpcc() argument
513 mpcc->mpcc_id = mpcc_inst; in mpc2_init_mpcc()
Ddcn20_resource.c1479 next_odm_pipe->plane_res.mpcc_inst = pool->dpps[next_odm_pipe->pipe_idx]->inst; in dcn20_split_stream_for_odm()
1564 secondary_pipe->plane_res.mpcc_inst = pool->dpps[secondary_pipe->pipe_idx]->inst; in dcn20_split_stream_for_mpc()
2172 sec_dpp_pipe->plane_res.mpcc_inst = pool->dpps[sec_dpp_pipe->pipe_idx]->inst; in dcn20_acquire_free_pipe_for_layer()
Ddcn20_hwseq.c2882 pipe_ctx->plane_res.mpcc_inst = dpp->inst; in dcn20_fpga_init_hw()
2892 dc->res_pool->opps[i]->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn20_fpga_init_hw()
/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h324 uint8_t mpcc_inst; member
/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h94 int mpcc_inst; member
Ddc.h1425 int mpcc_inst);
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1821 split_pipe->plane_res.mpcc_inst = pool->dpps[i]->inst; in acquire_first_split_pipe()
2345 pipe_ctx->plane_res.mpcc_inst = pool->dpps[i]->inst; in acquire_first_free_pipe()
2658 pipe_ctx->plane_res.mpcc_inst = pool->dpps[id_src[i]]->inst; in acquire_resource_from_hw_enabled_state()
2663 pool->mpc->funcs->read_mpcc_state(pool->mpc, pipe_ctx->plane_res.mpcc_inst, &s); in acquire_resource_from_hw_enabled_state()
2666 pool->mpc->mpcc_array[pipe_ctx->plane_res.mpcc_inst].dpp_id = in acquire_resource_from_hw_enabled_state()
2670 pool->mpc->mpcc_array[pipe_ctx->plane_res.mpcc_inst].mpcc_bot = in acquire_resource_from_hw_enabled_state()
4282 sec_pipe->plane_res.mpcc_inst = pool->dpps[pipe_idx]->inst; in dc_resource_acquire_secondary_pipe_for_mpc_odm()
Ddc.c3487 int mpcc_inst; in wait_for_outstanding_hw_updates() local
3503 mpcc_inst = hubp->inst; in wait_for_outstanding_hw_updates()
3506 if (dc->res_pool->opps[opp_inst]->mpcc_disconnect_pending[mpcc_inst]) { in wait_for_outstanding_hw_updates()
3507 dc->res_pool->mpc->funcs->wait_for_idle(dc->res_pool->mpc, mpcc_inst); in wait_for_outstanding_hw_updates()
3508 dc->res_pool->opps[opp_inst]->mpcc_disconnect_pending[mpcc_inst] = false; in wait_for_outstanding_hw_updates()
/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource.c2667 idle_pipe->plane_res.mpcc_inst = pool->dpps[idle_pipe->pipe_idx]->inst; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
2699 free_pipe->plane_res.mpcc_inst = in dcn32_acquire_free_pipe_as_secondary_dpp_pipe()
/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h2174 uint8_t mpcc_inst; member
/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c541 secondary_pipe->plane_res.mpcc_inst = pool->dpps[secondary_pipe->pipe_idx]->inst; in split_stream_across_pipes()
/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1593 sec_pipe->plane_res.mpcc_inst = pool->dpps[pipe_idx]->inst; in dcn32_split_stream_for_mpc_or_odm()