Lines Matching refs:hubp

182 	if (pipe_ctx && pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl)  in dcn20_set_flip_control_gsl()
183 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl( in dcn20_set_flip_control_gsl()
184 pipe_ctx->plane_res.hubp, flip_immediate); in dcn20_set_flip_control_gsl()
278 if (pipe_ctx->plane_res.hubp && pipe_ctx->plane_res.hubp->funcs) { in dcn20_program_triple_buffer()
279 pipe_ctx->plane_res.hubp->funcs->hubp_enable_tripleBuffer( in dcn20_program_triple_buffer()
280 pipe_ctx->plane_res.hubp, in dcn20_program_triple_buffer()
586 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_plane_atomic_disable() local
597 if (hubp->funcs->hubp_update_mall_sel) in dcn20_plane_atomic_disable()
598 hubp->funcs->hubp_update_mall_sel(hubp, 0, false); in dcn20_plane_atomic_disable()
602 hubp->funcs->hubp_clk_cntl(hubp, false); in dcn20_plane_atomic_disable()
606 hubp->power_gated = true; in dcn20_plane_atomic_disable()
610 pipe_ctx->plane_res.hubp); in dcn20_plane_atomic_disable()
628 if (!pipe_ctx->plane_res.hubp || pipe_ctx->plane_res.hubp->power_gated) in dcn20_disable_plane()
829 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn20_program_output_csc()
852 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn20_set_output_transfer_func()
1134 hws->funcs.hubp_pg_control(hws, pipe_ctx->plane_res.hubp->inst, true); in dcn20_power_on_plane_resources()
1139 "Un-gated front end for pipe %d\n", pipe_ctx->plane_res.hubp->inst); in dcn20_power_on_plane_resources()
1152 pipe_ctx->plane_res.hubp->funcs->hubp_clk_cntl(pipe_ctx->plane_res.hubp, true); in dcn20_enable_plane()
1155 pipe_ctx->plane_res.hubp->funcs->hubp_init(pipe_ctx->plane_res.hubp); in dcn20_enable_plane()
1208 …pipe_ctx->plane_res.hubp->funcs->hubp_set_vm_system_aperture_settings(pipe_ctx->plane_res.hubp, &a… in dcn20_enable_plane()
1214 && pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_int) in dcn20_enable_plane()
1215 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_int(pipe_ctx->plane_res.hubp); in dcn20_enable_plane()
1257 if (!temp_pipe->plane_res.hubp->funcs->hubp_is_flip_pending(temp_pipe->plane_res.hubp)) in dcn20_pipe_control_lock()
1500 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_update_dchubp_dpp() local
1517 hubp->funcs->hubp_vtg_sel(hubp, pipe_ctx->stream_res.tg->inst); in dcn20_update_dchubp_dpp()
1519 hubp->funcs->hubp_setup( in dcn20_update_dchubp_dpp()
1520 hubp, in dcn20_update_dchubp_dpp()
1527 if (pipe_ctx->update_flags.bits.unbounded_req && hubp->funcs->set_unbounded_requesting) in dcn20_update_dchubp_dpp()
1528 hubp->funcs->set_unbounded_requesting(hubp, pipe_ctx->unbounded_req); in dcn20_update_dchubp_dpp()
1531 hubp->funcs->hubp_setup_interdependent( in dcn20_update_dchubp_dpp()
1532 hubp, in dcn20_update_dchubp_dpp()
1584 hubp->funcs->mem_program_viewport( in dcn20_update_dchubp_dpp()
1585 hubp, in dcn20_update_dchubp_dpp()
1617 hubp->opp_id); in dcn20_update_dchubp_dpp()
1634 hubp->funcs->hubp_program_surface_config( in dcn20_update_dchubp_dpp()
1635 hubp, in dcn20_update_dchubp_dpp()
1643 hubp->power_gated = false; in dcn20_update_dchubp_dpp()
1652 hubp->funcs->set_blank(hubp, false); in dcn20_update_dchubp_dpp()
1655 && hubp->funcs->phantom_hubp_post_enable) in dcn20_update_dchubp_dpp()
1656 hubp->funcs->phantom_hubp_post_enable(hubp); in dcn20_update_dchubp_dpp()
1733 dc->res_pool->hubbub, pipe_ctx->plane_res.hubp->inst, pipe_ctx->det_buffer_size_kb); in dcn20_program_pipe()
1884 …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()
1928 pipe->plane_res.hubp->funcs->hubp_wait_pipe_read_start && in dcn20_program_front_end_for_ctx()
1931 pipe->plane_res.hubp->funcs->hubp_wait_pipe_read_start(pipe->plane_res.hubp); in dcn20_program_front_end_for_ctx()
1973 struct hubp *hubp = pipe->plane_res.hubp; in dcn20_post_unlock_program_front_end() local
1976 && hubp->funcs->hubp_is_flip_pending(hubp); j++) in dcn20_post_unlock_program_front_end()
2147 if (pipe_ctx->stream && pipe_ctx->plane_res.hubp->funcs->program_extended_blank in dcn20_optimize_bandwidth()
2150 pipe_ctx->plane_res.hubp->funcs->program_extended_blank(pipe_ctx->plane_res.hubp, in dcn20_optimize_bandwidth()
2197 pipe_ctx->plane_res.hubp->funcs->hubp_setup( in dcn20_update_bandwidth()
2198 pipe_ctx->plane_res.hubp, in dcn20_update_bandwidth()
2272 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_dmdata_status_done() local
2274 if (!hubp) in dcn20_dmdata_status_done()
2276 return hubp->funcs->dmdata_status_done(hubp); in dcn20_dmdata_status_done()
2312 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_set_dmdata_attributes() local
2326 hubp->funcs->dmdata_set_attributes(hubp, &attr); in dcn20_set_dmdata_attributes()
2409 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()
2411 pipe_ctx->plane_res.hubp->funcs->hubp_program_surface_flip_and_addr( in dcn20_update_plane_addr()
2412 pipe_ctx->plane_res.hubp, in dcn20_update_plane_addr()
2591 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_update_mpcc() local
2638 mpcc_id = hubp->inst; in dcn20_update_mpcc()
2664 hubp->inst, in dcn20_update_mpcc()
2669 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn20_update_mpcc()
2670 hubp->mpcc_id = mpcc_id; in dcn20_update_mpcc()
2787 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_program_dmdata_engine() local
2800 if (!hubp) in dcn20_program_dmdata_engine()
2807 hubp->inst, mode); in dcn20_program_dmdata_engine()
2875 struct hubp *hubp = dc->res_pool->hubps[i]; in dcn20_fpga_init_hw() local
2881 pipe_ctx->plane_res.hubp = hubp; in dcn20_fpga_init_hw()
2884 hubp->mpcc_id = dpp->inst; in dcn20_fpga_init_hw()
2885 hubp->opp_id = OPP_ID_INVALID; in dcn20_fpga_init_hw()
2886 hubp->power_gated = false; in dcn20_fpga_init_hw()
2889 hubp->funcs->hubp_init(hubp); in dcn20_fpga_init_hw()
2916 pipe_ctx->plane_res.hubp = NULL; in dcn20_fpga_init_hw()