Lines Matching refs:hubp
183 if (pipe_ctx && pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl) in dcn20_set_flip_control_gsl()
184 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl( in dcn20_set_flip_control_gsl()
185 pipe_ctx->plane_res.hubp, flip_immediate); in dcn20_set_flip_control_gsl()
270 if (pipe_ctx->plane_res.hubp && pipe_ctx->plane_res.hubp->funcs) { in dcn20_program_triple_buffer()
271 pipe_ctx->plane_res.hubp->funcs->hubp_enable_tripleBuffer( in dcn20_program_triple_buffer()
272 pipe_ctx->plane_res.hubp, in dcn20_program_triple_buffer()
574 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_plane_atomic_disable() local
587 hubp->funcs->hubp_clk_cntl(hubp, false); in dcn20_plane_atomic_disable()
591 hubp->power_gated = true; in dcn20_plane_atomic_disable()
595 pipe_ctx->plane_res.hubp); in dcn20_plane_atomic_disable()
610 if (!pipe_ctx->plane_res.hubp || pipe_ctx->plane_res.hubp->power_gated) in dcn20_disable_plane()
805 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn20_program_output_csc()
828 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn20_set_output_transfer_func()
1103 hws->funcs.hubp_pg_control(hws, pipe_ctx->plane_res.hubp->inst, true); in dcn20_power_on_plane()
1108 "Un-gated front end for pipe %d\n", pipe_ctx->plane_res.hubp->inst); in dcn20_power_on_plane()
1121 pipe_ctx->plane_res.hubp->funcs->hubp_clk_cntl(pipe_ctx->plane_res.hubp, true); in dcn20_enable_plane()
1124 pipe_ctx->plane_res.hubp->funcs->hubp_init(pipe_ctx->plane_res.hubp); in dcn20_enable_plane()
1177 …pipe_ctx->plane_res.hubp->funcs->hubp_set_vm_system_aperture_settings(pipe_ctx->plane_res.hubp, &a… in dcn20_enable_plane()
1183 && pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_int) in dcn20_enable_plane()
1184 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_int(pipe_ctx->plane_res.hubp); in dcn20_enable_plane()
1225 if (!temp_pipe->plane_res.hubp->funcs->hubp_is_flip_pending(temp_pipe->plane_res.hubp)) in dcn20_pipe_control_lock()
1451 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_update_dchubp_dpp() local
1468 hubp->funcs->hubp_vtg_sel(hubp, pipe_ctx->stream_res.tg->inst); in dcn20_update_dchubp_dpp()
1470 hubp->funcs->hubp_setup( in dcn20_update_dchubp_dpp()
1471 hubp, in dcn20_update_dchubp_dpp()
1477 if (hubp->funcs->set_unbounded_requesting) in dcn20_update_dchubp_dpp()
1478 hubp->funcs->set_unbounded_requesting(hubp, pipe_ctx->unbounded_req); in dcn20_update_dchubp_dpp()
1481 hubp->funcs->hubp_setup_interdependent( in dcn20_update_dchubp_dpp()
1482 hubp, in dcn20_update_dchubp_dpp()
1514 int mpcc_inst = hubp->inst; in dcn20_update_dchubp_dpp()
1545 hubp->funcs->mem_program_viewport( in dcn20_update_dchubp_dpp()
1546 hubp, in dcn20_update_dchubp_dpp()
1577 hubp->opp_id); in dcn20_update_dchubp_dpp()
1594 hubp->funcs->hubp_program_surface_config( in dcn20_update_dchubp_dpp()
1595 hubp, in dcn20_update_dchubp_dpp()
1603 hubp->power_gated = false; in dcn20_update_dchubp_dpp()
1612 hubp->funcs->set_blank(hubp, false); in dcn20_update_dchubp_dpp()
1615 && hubp->funcs->phantom_hubp_post_enable) in dcn20_update_dchubp_dpp()
1616 hubp->funcs->phantom_hubp_post_enable(hubp); in dcn20_update_dchubp_dpp()
1690 dc->res_pool->hubbub, pipe_ctx->plane_res.hubp->inst, pipe_ctx->det_buffer_size_kb); in dcn20_program_pipe()
1790 …hubbub->funcs->program_det_size(hubbub, dc->current_state->res_ctx.pipe_ctx[i].plane_res.hubp->ins… in dcn20_program_front_end_for_ctx()
1834 pipe->plane_res.hubp->funcs->hubp_wait_pipe_read_start && in dcn20_program_front_end_for_ctx()
1837 pipe->plane_res.hubp->funcs->hubp_wait_pipe_read_start(pipe->plane_res.hubp); in dcn20_program_front_end_for_ctx()
1867 struct hubp *hubp = pipe->plane_res.hubp; in dcn20_post_unlock_program_front_end() local
1871 && hubp->funcs->hubp_is_flip_pending(hubp); j++) in dcn20_post_unlock_program_front_end()
2028 if (pipe_ctx->stream && pipe_ctx->plane_res.hubp->funcs->program_extended_blank in dcn20_optimize_bandwidth()
2031 pipe_ctx->plane_res.hubp->funcs->program_extended_blank(pipe_ctx->plane_res.hubp, in dcn20_optimize_bandwidth()
2078 pipe_ctx->plane_res.hubp->funcs->hubp_setup( in dcn20_update_bandwidth()
2079 pipe_ctx->plane_res.hubp, in dcn20_update_bandwidth()
2153 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_dmdata_status_done() local
2155 if (!hubp) in dcn20_dmdata_status_done()
2157 return hubp->funcs->dmdata_status_done(hubp); in dcn20_dmdata_status_done()
2193 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_set_dmdata_attributes() local
2207 hubp->funcs->dmdata_set_attributes(hubp, &attr); in dcn20_set_dmdata_attributes()
2290 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()
2292 pipe_ctx->plane_res.hubp->funcs->hubp_program_surface_flip_and_addr( in dcn20_update_plane_addr()
2293 pipe_ctx->plane_res.hubp, in dcn20_update_plane_addr()
2498 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_update_mpcc() local
2545 mpcc_id = hubp->inst; in dcn20_update_mpcc()
2571 hubp->inst, in dcn20_update_mpcc()
2576 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn20_update_mpcc()
2577 hubp->mpcc_id = mpcc_id; in dcn20_update_mpcc()
2640 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_program_dmdata_engine() local
2653 if (!hubp) in dcn20_program_dmdata_engine()
2660 hubp->inst, mode); in dcn20_program_dmdata_engine()
2728 struct hubp *hubp = dc->res_pool->hubps[i]; in dcn20_fpga_init_hw() local
2734 pipe_ctx->plane_res.hubp = hubp; in dcn20_fpga_init_hw()
2737 hubp->mpcc_id = dpp->inst; in dcn20_fpga_init_hw()
2738 hubp->opp_id = OPP_ID_INVALID; in dcn20_fpga_init_hw()
2739 hubp->power_gated = false; in dcn20_fpga_init_hw()
2742 hubp->funcs->hubp_init(hubp); in dcn20_fpga_init_hw()
2769 pipe_ctx->plane_res.hubp = NULL; in dcn20_fpga_init_hw()