Home
last modified time | relevance | path

Searched refs:hubp (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/
Dhubp.h55 struct hubp { struct
70 struct hubp *hubp, argument
77 struct hubp *hubp,
81 void (*dcc_control)(struct hubp *hubp, bool enable,
85 struct hubp *hubp,
90 struct hubp *hubp,
95 struct hubp *hubp,
101 struct hubp *hubp,
105 struct hubp *hubp,
109 struct hubp *hubp,
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.h31 #define TO_DCN20_HUBP(hubp)\ argument
32 container_of(hubp, struct dcn20_hubp, base)
225 struct hubp base;
241 struct hubp *hubp,
245 void hubp2_vready_at_or_After_vsync(struct hubp *hubp,
249 struct hubp *hubp,
252 void hubp2_set_vm_system_aperture_settings(struct hubp *hubp,
260 struct hubp *hubp,
264 struct hubp *hubp,
268 bool hubp2_dmdata_status_done(struct hubp *hubp);
[all …]
Ddcn20_hubp.c43 void hubp2_set_vm_system_aperture_settings(struct hubp *hubp, in hubp2_set_vm_system_aperture_settings() argument
46 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_set_vm_system_aperture_settings()
78 struct hubp *hubp, in hubp2_program_deadline() argument
82 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_program_deadline()
168 void hubp2_vready_at_or_After_vsync(struct hubp *hubp, in hubp2_vready_at_or_After_vsync() argument
172 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_vready_at_or_After_vsync()
191 struct hubp *hubp, in hubp2_program_requestor() argument
194 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_program_requestor()
224 struct hubp *hubp, in hubp2_setup() argument
234 hubp2_vready_at_or_After_vsync(hubp, pipe_dest); in hubp2_setup()
[all …]
Ddcn20_hwseq.c186 if (pipe_ctx->plane_res.hubp && pipe_ctx->plane_res.hubp->funcs) { in dcn20_program_tripleBuffer()
187 pipe_ctx->plane_res.hubp->funcs->hubp_enable_tripleBuffer( in dcn20_program_tripleBuffer()
188 pipe_ctx->plane_res.hubp, in dcn20_program_tripleBuffer()
478 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_plane_atomic_disable() local
491 hubp->funcs->hubp_clk_cntl(hubp, false); in dcn20_plane_atomic_disable()
495 hubp->power_gated = true; in dcn20_plane_atomic_disable()
500 pipe_ctx->plane_res.hubp); in dcn20_plane_atomic_disable()
515 if (!pipe_ctx->plane_res.hubp || pipe_ctx->plane_res.hubp->power_gated) in dcn20_disable_plane()
632 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn20_program_output_csc()
655 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn20_set_output_transfer_func()
[all …]
Ddcn20_resource.h101 struct hubp *dcn20_hubp_create(
Ddcn20_resource.c1304 struct hubp *dcn20_hubp_create( in dcn20_hubp_create()
1616 next_odm_pipe->plane_res.hubp = pool->hubps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm()
1696 secondary_pipe->plane_res.hubp = pool->hubps[secondary_pipe->pipe_idx]; in dcn20_split_stream_for_mpc()
2834 idle_pipe->plane_res.hubp = pool->hubps[idle_pipe->pipe_idx]; in dcn20_acquire_idle_pipe_for_layer()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c41 void hubp1_set_blank(struct hubp *hubp, bool blank) in hubp1_set_blank() argument
43 struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp); in hubp1_set_blank()
65 hubp->mpcc_id = 0xf; in hubp1_set_blank()
66 hubp->opp_id = OPP_ID_INVALID; in hubp1_set_blank()
70 static void hubp1_disconnect(struct hubp *hubp) in hubp1_disconnect() argument
72 struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp); in hubp1_disconnect()
81 static void hubp1_disable_control(struct hubp *hubp, bool disable_hubp) in hubp1_disable_control() argument
83 struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp); in hubp1_disable_control()
90 static unsigned int hubp1_get_underflow_status(struct hubp *hubp) in hubp1_get_underflow_status() argument
93 struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp); in hubp1_get_underflow_status()
[all …]
Ddcn10_hw_sequencer.c136 struct hubp *hubp = pool->hubps[i]; in dcn10_log_hubp_states() local
137 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_log_hubp_states()
139 hubp->funcs->hubp_read_state(hubp); in dcn10_log_hubp_states()
144 hubp->inst, in dcn10_log_hubp_states()
426 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_did_underflow_occur() local
434 if (hubp->funcs->hubp_get_underflow_status(hubp)) { in dcn10_did_underflow_occur()
435 hubp->funcs->hubp_clear_underflow(hubp); in dcn10_did_underflow_occur()
620 struct hubp *hubp = dc->res_pool->hubps[0]; in undo_DEGVIDCN10_253_wa() local
625 hubp->funcs->set_blank(hubp, true); in undo_DEGVIDCN10_253_wa()
640 struct hubp *hubp = dc->res_pool->hubps[0]; in apply_DEGVIDCN10_253_wa() local
[all …]
Ddcn10_hubp.h30 #define TO_DCN10_HUBP(hubp)\ argument
31 container_of(hubp, struct dcn10_hubp, base)
653 struct hubp base;
661 struct hubp *hubp,
671 struct hubp *hubp,
676 struct hubp *hubp,
680 struct hubp *hubp,
684 struct hubp *hubp,
690 struct hubp *hubp,
695 struct hubp *hubp,
[all …]
Ddcn10_hw_sequencer_debug.c134 struct hubp *hubp = pool->hubps[i]; in dcn10_get_hubp_states() local
135 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_get_hubp_states()
137 hubp->funcs->hubp_read_state(hubp); in dcn10_get_hubp_states()
144 hubp->inst, in dcn10_get_hubp_states()
163 hubp->inst, in dcn10_get_hubp_states()
510 struct hubp *hubp = pool->hubps[i]; in dcn10_clear_hubp_underflow() local
511 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_clear_hubp_underflow()
513 hubp->funcs->hubp_read_state(hubp); in dcn10_clear_hubp_underflow()
516 hubp->funcs->hubp_clear_underflow(hubp); in dcn10_clear_hubp_underflow()
Ddcn10_hw_sequencer.h62 void dcn10_program_pte_vm(struct dce_hwseq *hws, struct hubp *hubp);
Ddcn10_resource.c970 static struct hubp *dcn10_hubp_create( in dcn10_hubp_create()
1110 idle_pipe->plane_res.hubp = pool->hubps[idle_pipe->pipe_idx]; in dcn10_acquire_idle_pipe_for_layer()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c72 struct hubp *hubp, in apply_DEDCN21_142_wa_for_hostvm_deadline() argument
75 struct dcn21_hubp *hubp21 = TO_DCN21_HUBP(hubp); in apply_DEDCN21_142_wa_for_hostvm_deadline()
107 struct hubp *hubp, in hubp21_program_deadline() argument
111 hubp2_program_deadline(hubp, dlg_attr, ttu_attr); in hubp21_program_deadline()
113 apply_DEDCN21_142_wa_for_hostvm_deadline(hubp, dlg_attr); in hubp21_program_deadline()
117 struct hubp *hubp, in hubp21_program_requestor() argument
120 struct dcn21_hubp *hubp21 = TO_DCN21_HUBP(hubp); in hubp21_program_requestor()
149 struct hubp *hubp, in hubp21_setup() argument
159 hubp2_vready_at_or_After_vsync(hubp, pipe_dest); in hubp21_setup()
160 hubp21_program_requestor(hubp, rq_regs); in hubp21_setup()
[all …]
Ddcn21_hubp.h32 #define TO_DCN21_HUBP(hubp)\ argument
33 container_of(hubp, struct dcn21_hubp, base)
106 struct hubp base;
122 struct hubp *hubp,
126 struct hubp *hubp,
131 struct hubp *hubp,
Ddcn21_resource.c1143 static struct hubp *dcn21_hubp_create( in dcn21_hubp_create()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c348 (!pipe_ctx->plane_res.mi && !pipe_ctx->plane_res.hubp) || in dc_stream_set_cursor_position()
598 struct hubp *hubp; in dc_stream_set_dynamic_metadata() local
618 hubp = pipe_ctx->plane_res.hubp; in dc_stream_set_dynamic_metadata()
619 if (hubp == NULL) in dc_stream_set_dynamic_metadata()
626 if (hubp->funcs->dmdata_set_attributes != NULL && in dc_stream_set_dynamic_metadata()
628 hubp->funcs->dmdata_set_attributes(hubp, attr); in dc_stream_set_dynamic_metadata()
Ddc_resource.c1215 split_pipe->plane_res.hubp = pool->hubps[i]; in acquire_first_split_pipe()
1618 pipe_ctx->plane_res.hubp = pool->hubps[i]; in acquire_first_free_pipe()
1888 pipe_ctx->plane_res.hubp = pool->hubps[tg_inst]; in acquire_resource_from_hw_enabled_state()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h166 struct hubp *hubps[MAX_PIPES];
259 struct hubp *hubp; member
Dhw_sequencer.h82 struct hubp;
291 struct hubp *hubp);
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c524 secondary_pipe->plane_res.hubp = pool->hubps[secondary_pipe->pipe_idx]; in split_stream_across_pipes()