Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dhubp.h57 struct hubp { struct
97 struct hubp *hubp,
104 struct hubp *hubp,
108 void (*dcc_control)(struct hubp *hubp, bool enable,
112 struct hubp *hubp,
117 struct hubp *hubp,
122 struct hubp *hubp,
128 struct hubp *hubp,
132 struct hubp *hubp,
136 struct hubp *hubp,
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.h31 #define TO_DCN20_HUBP(hubp)\ argument
32 container_of(hubp, struct dcn20_hubp, base)
257 struct hubp base;
273 struct hubp *hubp,
277 void hubp2_vready_at_or_After_vsync(struct hubp *hubp,
281 struct hubp *hubp,
284 void hubp2_set_vm_system_aperture_settings(struct hubp *hubp,
292 struct hubp *hubp,
296 struct hubp *hubp,
300 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()
195 static void hubp2_program_requestor(struct hubp *hubp, in hubp2_program_requestor() argument
198 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp2_program_requestor()
228 struct hubp *hubp, in hubp2_setup() argument
238 hubp2_vready_at_or_After_vsync(hubp, pipe_dest); in hubp2_setup()
[all …]
Ddcn20_hwseq.c182 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()
[all …]
/linux-6.6.21/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)
698 struct hubp base;
706 struct hubp *hubp,
716 struct hubp *hubp,
721 struct hubp *hubp,
725 struct hubp *hubp,
729 struct hubp *hubp,
735 struct hubp *hubp,
740 struct hubp *hubp,
[all …]
Ddcn10_hw_sequencer.c177 struct hubp *hubp = pool->hubps[i]; in dcn10_log_hubp_states() local
178 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_log_hubp_states()
180 hubp->funcs->hubp_read_state(hubp); in dcn10_log_hubp_states()
184 hubp->inst, in dcn10_log_hubp_states()
538 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_did_underflow_occur() local
546 if (hubp->funcs->hubp_get_underflow_status(hubp)) { in dcn10_did_underflow_occur()
547 hubp->funcs->hubp_clear_underflow(hubp); in dcn10_did_underflow_occur()
759 struct hubp *hubp = dc->res_pool->hubps[0]; in undo_DEGVIDCN10_253_wa() local
764 hubp->funcs->set_blank(hubp, true); in undo_DEGVIDCN10_253_wa()
779 struct hubp *hubp = dc->res_pool->hubps[0]; in apply_DEGVIDCN10_253_wa() local
[all …]
Ddcn10_hw_sequencer_debug.c135 struct hubp *hubp = pool->hubps[i]; in dcn10_get_hubp_states() local
136 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_get_hubp_states()
138 hubp->funcs->hubp_read_state(hubp); in dcn10_get_hubp_states()
145 hubp->inst, in dcn10_get_hubp_states()
164 hubp->inst, in dcn10_get_hubp_states()
511 struct hubp *hubp = pool->hubps[i]; in dcn10_clear_hubp_underflow() local
512 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_clear_hubp_underflow()
514 hubp->funcs->hubp_read_state(hubp); in dcn10_clear_hubp_underflow()
517 hubp->funcs->hubp_clear_underflow(hubp); in dcn10_clear_hubp_underflow()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hubp.h47 void hubp32_update_force_pstate_disallow(struct hubp *hubp, bool pstate_disallow);
49 void hubp32_update_force_cursor_pstate_disallow(struct hubp *hubp, bool pstate_disallow);
51 void hubp32_update_mall_sel(struct hubp *hubp, uint32_t mall_sel, bool c_cursor);
53 void hubp32_prepare_subvp_buffering(struct hubp *hubp, bool enable);
55 void hubp32_phantom_hubp_post_enable(struct hubp *hubp);
57 void hubp32_cursor_set_attributes(struct hubp *hubp,
60 void hubp32_init(struct hubp *hubp);
Ddcn32_hubp.c42 void hubp32_update_force_pstate_disallow(struct hubp *hubp, bool pstate_disallow) in hubp32_update_force_pstate_disallow() argument
44 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp32_update_force_pstate_disallow()
50 void hubp32_update_force_cursor_pstate_disallow(struct hubp *hubp, bool pstate_disallow) in hubp32_update_force_cursor_pstate_disallow() argument
52 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp32_update_force_cursor_pstate_disallow()
59 void hubp32_update_mall_sel(struct hubp *hubp, uint32_t mall_sel, bool c_cursor) in hubp32_update_mall_sel() argument
61 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp32_update_mall_sel()
68 void hubp32_prepare_subvp_buffering(struct hubp *hubp, bool enable) in hubp32_prepare_subvp_buffering() argument
70 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp32_prepare_subvp_buffering()
86 void hubp32_phantom_hubp_post_enable(struct hubp *hubp) in hubp32_phantom_hubp_post_enable() argument
89 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp32_phantom_hubp_post_enable()
[all …]
Ddcn32_hwseq.c443 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn32_set_mpc_shaper_3dlut()
479 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn32_set_mcm_luts()
566 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn32_set_output_transfer_func()
608 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_update_force_pstate() local
612 if (hubp && hubp->funcs->hubp_update_force_pstate_disallow) in dcn32_update_force_pstate()
613 hubp->funcs->hubp_update_force_pstate_disallow(hubp, false); in dcn32_update_force_pstate()
620 if (hubp && hubp->funcs->hubp_update_force_cursor_pstate_disallow) in dcn32_update_force_pstate()
621 hubp->funcs->hubp_update_force_cursor_pstate_disallow(hubp, false); in dcn32_update_force_pstate()
629 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_update_force_pstate() local
632 if (hubp && hubp->funcs->hubp_update_force_pstate_disallow) in dcn32_update_force_pstate()
[all …]
Ddcn32_resource_helpers.c61 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn32_helper_calculate_mall_bytes_for_cursor() local
62 uint32_t cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_helper_calculate_mall_bytes_for_cursor()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hubp.c43 struct hubp *hubp, in hubp201_program_surface_config() argument
52 hubp1_dcc_control(hubp, dcc->enable, dcc->independent_64b_blks); in hubp201_program_surface_config()
53 hubp1_program_tiling(hubp, tiling_info, format); in hubp201_program_surface_config()
54 hubp1_program_size(hubp, format, plane_size, dcc); in hubp201_program_surface_config()
55 hubp1_program_pixel_format(hubp, format); in hubp201_program_surface_config()
59 struct hubp *hubp, in hubp201_program_deadline() argument
63 hubp1_program_deadline(hubp, dlg_attr, ttu_attr); in hubp201_program_deadline()
66 static void hubp201_program_requestor(struct hubp *hubp, in hubp201_program_requestor() argument
69 struct dcn201_hubp *hubp201 = TO_DCN201_HUBP(hubp); in hubp201_program_requestor()
96 struct hubp *hubp, in hubp201_setup() argument
[all …]
Ddcn201_hwseq.c146 pipe_ctx->plane_res.hubp->funcs->hubp_program_surface_flip_and_addr( in dcn201_update_plane_addr()
147 pipe_ctx->plane_res.hubp, in dcn201_update_plane_addr()
304 struct hubp *hubp = res_pool->hubps[i]; in dcn201_init_hw() local
310 pipe_ctx->plane_res.hubp = hubp; in dcn201_init_hw()
313 hubp->mpcc_id = dpp->inst; in dcn201_init_hw()
314 hubp->opp_id = OPP_ID_INVALID; in dcn201_init_hw()
315 hubp->power_gated = false; in dcn201_init_hw()
318 hubp->funcs->hubp_init(hubp); in dcn201_init_hw()
343 pipe_ctx->plane_res.hubp = NULL; in dcn201_init_hw()
375 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn201_plane_atomic_disconnect() local
[all …]
Ddcn201_hubp.h32 #define TO_DCN201_HUBP(hubp)\ argument
33 container_of(hubp, struct dcn201_hubp, base)
117 struct hubp base;
/linux-6.6.21/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()
69 struct hubp *hubp, in hubp3_program_surface_flip_and_addr() argument
73 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp3_program_surface_flip_and_addr()
314 hubp->request_address = *address; in hubp3_program_surface_flip_and_addr()
337 void hubp3_dcc_control(struct hubp *hubp, bool enable, in hubp3_dcc_control() argument
341 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp3_dcc_control()
350 void hubp3_dcc_control_sienna_cichlid(struct hubp *hubp, in hubp3_dcc_control_sienna_cichlid() argument
353 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp3_dcc_control_sienna_cichlid()
365 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);
/linux-6.6.21/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()
57 static void hubp31_program_extended_blank(struct hubp *hubp, in hubp31_program_extended_blank() argument
60 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp31_program_extended_blank()
Ddcn31_hubp.h242 void hubp31_soft_reset(struct hubp *hubp, bool reset);
244 void hubp31_set_unbounded_requesting(struct hubp *hubp, bool enable);
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c307 fams_pipe_data->pipe_index[pipe_idx++] = head_pipe->plane_res.hubp->inst; in dc_dmub_srv_populate_fams_pipe_info()
312 fams_pipe_data->pipe_index[pipe_idx++] = split_pipe->plane_res.hubp->inst; in dc_dmub_srv_populate_fams_pipe_info()
691 …>pipe_config.subvp_data.phantom_split_pipe_index = phantom_pipe->bottom_pipe->plane_res.hubp->inst; in populate_subvp_cmd_pipe_info()
693 …ipe_config.subvp_data.phantom_split_pipe_index = phantom_pipe->next_odm_pipe->plane_res.hubp->inst; in populate_subvp_cmd_pipe_info()
912 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dc_build_cursor_update_payload0() local
915 if (!dc_get_edp_link_panel_inst(hubp->ctx->dc, in dc_build_cursor_update_payload0()
922 payload->cursor_rect.x = hubp->cur_rect.x; in dc_build_cursor_update_payload0()
923 payload->cursor_rect.y = hubp->cur_rect.y; in dc_build_cursor_update_payload0()
925 payload->cursor_rect.width = hubp->cur_rect.w; in dc_build_cursor_update_payload0()
926 payload->cursor_rect.height = hubp->cur_rect.h; in dc_build_cursor_update_payload0()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c413 (!pipe_ctx->plane_res.mi && !pipe_ctx->plane_res.hubp) || in program_cursor_position()
685 struct hubp *hubp; in dc_stream_set_dynamic_metadata() local
705 hubp = pipe_ctx->plane_res.hubp; in dc_stream_set_dynamic_metadata()
706 if (hubp == NULL) in dc_stream_set_dynamic_metadata()
713 if (hubp->funcs->dmdata_set_attributes != NULL && in dc_stream_set_dynamic_metadata()
715 hubp->funcs->dmdata_set_attributes(hubp, attr); in dc_stream_set_dynamic_metadata()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer_private.h65 struct hubp;
114 struct hubp *hubp);
Dcore_types.h209 struct hubp *hubps[MAX_PIPES];
319 struct hubp *hubp; member

12