Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/
Dhubp.h56 struct hubp { struct
91 struct hubp *hubp,
98 struct hubp *hubp,
102 void (*dcc_control)(struct hubp *hubp, bool enable,
106 struct hubp *hubp,
111 struct hubp *hubp,
116 struct hubp *hubp,
122 struct hubp *hubp,
126 struct hubp *hubp,
130 struct hubp *hubp,
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.h31 #define TO_DCN20_HUBP(hubp)\ argument
32 container_of(hubp, struct dcn20_hubp, base)
238 struct hubp base;
254 struct hubp *hubp,
258 void hubp2_vready_at_or_After_vsync(struct hubp *hubp,
262 struct hubp *hubp,
265 void hubp2_set_vm_system_aperture_settings(struct hubp *hubp,
273 struct hubp *hubp,
277 struct hubp *hubp,
281 bool hubp2_dmdata_status_done(struct hubp *hubp);
[all …]
Ddcn20_hubp.c45 void hubp2_set_vm_system_aperture_settings(struct hubp *hubp, in hubp2_set_vm_system_aperture_settings() argument
48 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_set_vm_system_aperture_settings()
80 struct hubp *hubp, in hubp2_program_deadline() argument
84 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_program_deadline()
170 void hubp2_vready_at_or_After_vsync(struct hubp *hubp, in hubp2_vready_at_or_After_vsync() argument
174 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_vready_at_or_After_vsync()
196 struct hubp *hubp, in hubp2_program_requestor() argument
199 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_program_requestor()
229 struct hubp *hubp, in hubp2_setup() argument
239 hubp2_vready_at_or_After_vsync(hubp, pipe_dest); in hubp2_setup()
[all …]
Ddcn20_hwseq.c179 if (pipe_ctx && pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl) in dcn20_set_flip_control_gsl()
180 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl( in dcn20_set_flip_control_gsl()
181 pipe_ctx->plane_res.hubp, flip_immediate); in dcn20_set_flip_control_gsl()
266 if (pipe_ctx->plane_res.hubp && pipe_ctx->plane_res.hubp->funcs) { in dcn20_program_triple_buffer()
267 pipe_ctx->plane_res.hubp->funcs->hubp_enable_tripleBuffer( in dcn20_program_triple_buffer()
268 pipe_ctx->plane_res.hubp, in dcn20_program_triple_buffer()
570 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_plane_atomic_disable() local
583 hubp->funcs->hubp_clk_cntl(hubp, false); in dcn20_plane_atomic_disable()
587 hubp->power_gated = true; in dcn20_plane_atomic_disable()
591 pipe_ctx->plane_res.hubp); in dcn20_plane_atomic_disable()
[all …]
Ddcn20_resource.h104 struct hubp *dcn20_hubp_create(
Ddcn20_resource.c1572 struct hubp *dcn20_hubp_create( in dcn20_hubp_create()
1877 next_odm_pipe->plane_res.hubp = pool->hubps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm()
1962 secondary_pipe->plane_res.hubp = pool->hubps[secondary_pipe->pipe_idx]; in dcn20_split_stream_for_mpc()
3303 idle_pipe->plane_res.hubp = pool->hubps[idle_pipe->pipe_idx]; in dcn20_acquire_idle_pipe_for_layer()
/Linux-v5.15/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_hubp.h30 #define TO_DCN10_HUBP(hubp)\ argument
31 container_of(hubp, struct dcn10_hubp, base)
692 struct hubp base;
700 struct hubp *hubp,
710 struct hubp *hubp,
715 struct hubp *hubp,
719 struct hubp *hubp,
723 struct hubp *hubp,
729 struct hubp *hubp,
734 struct hubp *hubp,
[all …]
Ddcn10_hw_sequencer.c172 struct hubp *hubp = pool->hubps[i]; in dcn10_log_hubp_states() local
173 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_log_hubp_states()
175 hubp->funcs->hubp_read_state(hubp); in dcn10_log_hubp_states()
179 hubp->inst, in dcn10_log_hubp_states()
474 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_did_underflow_occur() local
482 if (hubp->funcs->hubp_get_underflow_status(hubp)) { in dcn10_did_underflow_occur()
483 hubp->funcs->hubp_clear_underflow(hubp); in dcn10_did_underflow_occur()
691 struct hubp *hubp = dc->res_pool->hubps[0]; in undo_DEGVIDCN10_253_wa() local
696 hubp->funcs->set_blank(hubp, true); in undo_DEGVIDCN10_253_wa()
711 struct hubp *hubp = dc->res_pool->hubps[0]; in apply_DEGVIDCN10_253_wa() local
[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.h191 struct hubp *hubp);
Ddcn10_resource.c1050 static struct hubp *dcn10_hubp_create( in dcn10_hubp_create()
1172 idle_pipe->plane_res.hubp = pool->hubps[idle_pipe->pipe_idx]; in dcn10_acquire_idle_pipe_for_layer()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubp.c45 void hubp3_set_vm_system_aperture_settings(struct hubp *hubp, in hubp3_set_vm_system_aperture_settings() argument
48 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp3_set_vm_system_aperture_settings()
73 struct hubp *hubp, in hubp3_program_surface_flip_and_addr() argument
77 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp3_program_surface_flip_and_addr()
318 hubp->request_address = *address; in hubp3_program_surface_flip_and_addr()
341 void hubp3_dcc_control(struct hubp *hubp, bool enable, in hubp3_dcc_control() argument
345 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp3_dcc_control()
354 void hubp3_dcc_control_sienna_cichlid(struct hubp *hubp, in hubp3_dcc_control_sienna_cichlid() argument
357 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp3_dcc_control_sienna_cichlid()
375 struct hubp *hubp, in hubp3_dmdata_set_attributes() argument
[all …]
Ddcn30_hubp.h256 void hubp3_set_vm_system_aperture_settings(struct hubp *hubp,
260 struct hubp *hubp,
265 struct hubp *hubp,
275 struct hubp *hubp,
281 void hubp3_dcc_control(struct hubp *hubp, bool enable,
284 void hubp3_dcc_control_sienna_cichlid(struct hubp *hubp,
288 struct hubp *hubp,
291 void hubp3_read_state(struct hubp *hubp);
293 void hubp3_init(struct hubp *hubp);
Ddcn30_hwseq.c96 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn30_set_mpc_shaper_3dlut()
191 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn30_set_output_transfer_func()
710 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn30_program_dmdata_engine() local
723 if (!hubp) in dcn30_program_dmdata_engine()
730 hubp->inst, mode); in dcn30_program_dmdata_engine()
995 pipe_ctx->plane_res.hubp->funcs->set_blank(pipe_ctx->plane_res.hubp, true); in dcn30_set_disp_pattern_generator()
998 mpcc_pipe->plane_res.hubp->funcs->set_blank(mpcc_pipe->plane_res.hubp, true); in dcn30_set_disp_pattern_generator()
1003 pipe_ctx->plane_res.hubp->funcs->set_blank(pipe_ctx->plane_res.hubp, false); in dcn30_set_disp_pattern_generator()
1005 mpcc_pipe->plane_res.hubp->funcs->set_blank(mpcc_pipe->plane_res.hubp, false); in dcn30_set_disp_pattern_generator()
Ddcn30_resource.c1333 static struct hubp *dcn30_hubp_create( in dcn30_hubp_create()
1769 sec_pipe->plane_res.hubp = pool->hubps[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c78 struct hubp *hubp, in apply_DEDCN21_142_wa_for_hostvm_deadline() argument
81 struct dcn21_hubp *hubp21 = TO_DCN21_HUBP(hubp); in apply_DEDCN21_142_wa_for_hostvm_deadline()
128 struct hubp *hubp, in hubp21_program_deadline() argument
132 hubp2_program_deadline(hubp, dlg_attr, ttu_attr); in hubp21_program_deadline()
134 apply_DEDCN21_142_wa_for_hostvm_deadline(hubp, dlg_attr); in hubp21_program_deadline()
138 struct hubp *hubp, in hubp21_program_requestor() argument
141 struct dcn21_hubp *hubp21 = TO_DCN21_HUBP(hubp); in hubp21_program_requestor()
170 struct hubp *hubp, in hubp21_setup() argument
180 hubp2_vready_at_or_After_vsync(hubp, pipe_dest); in hubp21_setup()
181 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;
123 struct hubp *hubp,
127 struct hubp *hubp,
132 struct hubp *hubp,
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubp.c42 void hubp31_set_unbounded_requesting(struct hubp *hubp, bool enable) in hubp31_set_unbounded_requesting() argument
44 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp31_set_unbounded_requesting()
50 void hubp31_soft_reset(struct hubp *hubp, bool reset) in hubp31_soft_reset() argument
52 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp31_soft_reset()
Ddcn31_hubp.h242 void hubp31_soft_reset(struct hubp *hubp, bool reset);
244 void hubp31_set_unbounded_requesting(struct hubp *hubp, bool enable);
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c367 (!pipe_ctx->plane_res.mi && !pipe_ctx->plane_res.hubp) || in program_cursor_position()
665 struct hubp *hubp; in dc_stream_set_dynamic_metadata() local
685 hubp = pipe_ctx->plane_res.hubp; in dc_stream_set_dynamic_metadata()
686 if (hubp == NULL) in dc_stream_set_dynamic_metadata()
693 if (hubp->funcs->dmdata_set_attributes != NULL && in dc_stream_set_dynamic_metadata()
695 hubp->funcs->dmdata_set_attributes(hubp, attr); in dc_stream_set_dynamic_metadata()
Ddc_resource.c1326 split_pipe->plane_res.hubp = pool->hubps[i]; in acquire_first_split_pipe()
1695 pipe_ctx->plane_res.hubp = pool->hubps[i]; in acquire_first_free_pipe()
1954 pipe_ctx->plane_res.hubp = pool->hubps[tg_inst]; in acquire_resource_from_hw_enabled_state()
Ddc.c1739 mpcc_id = res_ctx->pipe_ctx[pipe_idx].plane_res.hubp->inst; in dc_acquire_release_mpc_3dlut()
2819 cur_pipe.plane_res.hubp->funcs->validate_dml_output( in commit_planes_for_stream()
2820 cur_pipe.plane_res.hubp, dc->ctx, in commit_planes_for_stream()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer_private.h63 struct hubp;
111 struct hubp *hubp);
Dcore_types.h211 struct hubp *hubps[MAX_PIPES];
315 struct hubp *hubp; member

12