/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_mpc.c | 351 static void mpc1_init_mpcc(struct mpcc *mpcc, int mpcc_inst) in mpc1_init_mpcc() argument 353 mpcc->mpcc_id = mpcc_inst; in mpc1_init_mpcc() 459 int mpcc_inst, in mpc1_read_mpcc_state() argument 464 REG_GET(MPCC_OPP_ID[mpcc_inst], MPCC_OPP_ID, &s->opp_id); in mpc1_read_mpcc_state() 465 REG_GET(MPCC_TOP_SEL[mpcc_inst], MPCC_TOP_SEL, &s->dpp_id); in mpc1_read_mpcc_state() 466 REG_GET(MPCC_BOT_SEL[mpcc_inst], MPCC_BOT_SEL, &s->bot_mpcc_id); in mpc1_read_mpcc_state() 467 REG_GET_4(MPCC_CONTROL[mpcc_inst], MPCC_MODE, &s->mode, in mpc1_read_mpcc_state() 471 REG_GET_2(MPCC_STATUS[mpcc_inst], MPCC_IDLE, &s->idle, in mpc1_read_mpcc_state()
|
D | dcn10_mpc.h | 198 int mpcc_inst,
|
D | dcn10_hw_sequencer.c | 1198 opp->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn10_plane_atomic_disconnect() 1399 pipe_ctx->plane_res.mpcc_inst = dpp->inst; in dcn10_init_pipes() 1406 dc->res_pool->opps[i]->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn10_init_pipes() 3257 static struct hubp *get_hubp_by_inst(struct resource_pool *res_pool, int mpcc_inst) in get_hubp_by_inst() argument 3262 if (res_pool->hubps[i]->inst == mpcc_inst) in get_hubp_by_inst() 3275 int mpcc_inst; in dcn10_wait_for_mpcc_disconnect() local 3284 for (mpcc_inst = 0; mpcc_inst < MAX_PIPES; mpcc_inst++) { in dcn10_wait_for_mpcc_disconnect() 3285 if (pipe_ctx->stream_res.opp->mpcc_disconnect_pending[mpcc_inst]) { in dcn10_wait_for_mpcc_disconnect() 3286 struct hubp *hubp = get_hubp_by_inst(res_pool, mpcc_inst); in dcn10_wait_for_mpcc_disconnect() 3289 res_pool->mpc->funcs->wait_for_idle(res_pool->mpc, mpcc_inst); in dcn10_wait_for_mpcc_disconnect() [all …]
|
D | dcn10_resource.c | 1119 idle_pipe->plane_res.mpcc_inst = pool->dpps[idle_pipe->pipe_idx]->inst; in dcn10_acquire_idle_pipe_for_layer()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_mpc.c | 62 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()
|
D | dcn201_hwseq.c | 325 pipe_ctx->plane_res.mpcc_inst = dpp->inst; in dcn201_init_hw() 333 res_pool->opps[i]->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn201_init_hw() 424 opp->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn201_plane_atomic_disconnect()
|
D | dcn201_resource.c | 1025 idle_pipe->plane_res.mpcc_inst = pool->dpps[idle_pipe->pipe_idx]->inst; in dcn201_acquire_idle_pipe_for_layer()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hwseq.c | 231 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() 335 wb_info->mpcc_inst); in dcn30_enable_writeback() 399 wb_info.mpcc_inst = -1; in dcn30_program_all_writeback_pipes_in_tree() 407 wb_info.mpcc_inst = pipe_ctx->plane_res.mpcc_inst; in dcn30_program_all_writeback_pipes_in_tree() 412 if (wb_info.mpcc_inst == -1) { in dcn30_program_all_writeback_pipes_in_tree()
|
D | dcn30_mpc.c | 1038 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()
|
D | dcn30_mpc.h | 1089 void mpc3_init_mpcc(struct mpcc *mpcc, int mpcc_inst);
|
D | dcn30_resource.c | 1552 sec_pipe->plane_res.mpcc_inst = pool->dpps[pipe_idx]->inst; in dcn30_split_stream_for_mpc_or_odm()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mpc.h | 204 int mpcc_inst,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_psr.c | 347 copy_settings_data->mpcc_inst = pipe_ctx->plane_res.mpcc_inst; in dmub_psr_copy_settings()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_mpc.c | 511 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()
|
D | dcn20_hwseq.c | 1514 int mpcc_inst = hubp->inst; in dcn20_update_dchubp_dpp() local 1519 if (dc->res_pool->opps[opp_inst]->mpcc_disconnect_pending[mpcc_inst]) { in dcn20_update_dchubp_dpp() 1520 dc->res_pool->mpc->funcs->wait_for_idle(dc->res_pool->mpc, mpcc_inst); in dcn20_update_dchubp_dpp() 1521 dc->res_pool->opps[opp_inst]->mpcc_disconnect_pending[mpcc_inst] = false; in dcn20_update_dchubp_dpp() 2736 pipe_ctx->plane_res.mpcc_inst = dpp->inst; in dcn20_fpga_init_hw() 2746 dc->res_pool->opps[i]->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn20_fpga_init_hw()
|
D | dcn20_resource.c | 1474 next_odm_pipe->plane_res.mpcc_inst = pool->dpps[next_odm_pipe->pipe_idx]->inst; in dcn20_split_stream_for_odm() 1559 secondary_pipe->plane_res.mpcc_inst = pool->dpps[secondary_pipe->pipe_idx]->inst; in dcn20_split_stream_for_mpc() 2167 idle_pipe->plane_res.mpcc_inst = pool->dpps[idle_pipe->pipe_idx]->inst; in dcn20_acquire_idle_pipe_for_layer()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_stream.h | 90 int mpcc_inst; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 363 uint8_t mpcc_inst; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 1444 split_pipe->plane_res.mpcc_inst = pool->dpps[i]->inst; in acquire_first_split_pipe() 2083 pipe_ctx->plane_res.mpcc_inst = pool->dpps[i]->inst; in acquire_first_free_pipe() 2393 pipe_ctx->plane_res.mpcc_inst = pool->dpps[id_src[i]]->inst; in acquire_resource_from_hw_enabled_state() 2398 pool->mpc->funcs->read_mpcc_state(pool->mpc, pipe_ctx->plane_res.mpcc_inst, &s); in acquire_resource_from_hw_enabled_state() 2401 pool->mpc->mpcc_array[pipe_ctx->plane_res.mpcc_inst].dpp_id = in acquire_resource_from_hw_enabled_state() 2405 pool->mpc->mpcc_array[pipe_ctx->plane_res.mpcc_inst].mpcc_bot = in acquire_resource_from_hw_enabled_state() 3716 sec_pipe->plane_res.mpcc_inst = pool->dpps[pipe_idx]->inst; in dc_resource_acquire_secondary_pipe_for_mpc_odm()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_cmd.h | 1766 uint8_t mpcc_inst; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_resource.c | 2544 idle_pipe->plane_res.mpcc_inst = pool->dpps[idle_pipe->pipe_idx]->inst; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 541 secondary_pipe->plane_res.mpcc_inst = pool->dpps[secondary_pipe->pipe_idx]->inst; in split_stream_across_pipes()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 1423 sec_pipe->plane_res.mpcc_inst = pool->dpps[pipe_idx]->inst; in dcn32_split_stream_for_mpc_or_odm()
|