/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | hubp.h | 97 struct hubp *hubp, 104 struct hubp *hubp, 112 struct hubp *hubp, 117 struct hubp *hubp, 122 struct hubp *hubp, 128 struct hubp *hubp, 132 struct hubp *hubp, 136 struct hubp *hubp, 183 struct hubp *hubp, 190 struct hubp *hubp, [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_hubp.h | 273 struct hubp *hubp, 281 struct hubp *hubp, 292 struct hubp *hubp, 296 struct hubp *hubp, 303 struct hubp *hubp, 312 struct hubp *hubp, 317 struct hubp *hubp, 325 struct hubp *hubp, 331 struct hubp *hubp, 336 struct hubp *hubp, [all …]
|
A D | dcn20_hubp.c | 80 struct hubp *hubp, in hubp2_program_deadline() argument 228 struct hubp *hubp, in hubp2_setup() argument 245 struct hubp *hubp, in hubp2_setup_interdependent() argument 327 struct hubp *hubp, in hubp2_program_size() argument 375 struct hubp *hubp, in hubp2_program_rotation() argument 422 struct hubp *hubp, in hubp2_program_pixel_format() argument 535 struct hubp *hubp, in hubp2_program_surface_config() argument 590 struct hubp *hubp, in hubp2_cursor_set_attributes() argument 711 struct hubp *hubp, in hubp2_program_surface_flip_and_addr() argument 874 struct hubp *hubp, in hubp2_enable_triplebuffer() argument [all …]
|
A D | dcn20_hwseq.c | 573 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_plane_atomic_disable() local 589 hubp->funcs->hubp_clk_cntl(hubp, false); in dcn20_plane_atomic_disable() 1498 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_update_dchubp_dpp() local 1659 hubp->funcs->set_blank(hubp, false); in dcn20_update_dchubp_dpp() 1951 struct hubp *hubp = pipe->plane_res.hubp; in dcn20_post_unlock_program_front_end() local 2228 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_dmdata_status_done() local 2268 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_set_dmdata_attributes() local 2573 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_update_mpcc() local 2769 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_program_dmdata_engine() local 2863 pipe_ctx->plane_res.hubp = hubp; in dcn20_fpga_init_hw() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_hubp.c | 142 struct hubp *hubp, in hubp1_program_tiling() argument 164 struct hubp *hubp, in hubp1_program_size() argument 204 struct hubp *hubp, in hubp1_program_rotation() argument 237 struct hubp *hubp, in hubp1_program_pixel_format() argument 350 struct hubp *hubp, in hubp1_program_surface_flip_and_addr() argument 536 struct hubp *hubp, in hubp1_program_surface_config() argument 553 struct hubp *hubp, in hubp1_program_requestor() argument 587 struct hubp *hubp, in hubp1_program_deadline() argument 675 struct hubp *hubp, in hubp1_setup() argument 690 struct hubp *hubp, in hubp1_setup_interdependent() argument [all …]
|
A D | dcn10_hubp.h | 704 struct hubp *hubp, 714 struct hubp *hubp, 719 struct hubp *hubp, 723 struct hubp *hubp, 727 struct hubp *hubp, 733 struct hubp *hubp, 738 struct hubp *hubp, 747 struct hubp *hubp, 754 struct hubp *hubp, 758 struct hubp *hubp, [all …]
|
A D | dcn10_hw_sequencer.c | 176 struct hubp *hubp = pool->hubps[i]; in dcn10_log_hubp_states() local 179 hubp->funcs->hubp_read_state(hubp); in dcn10_log_hubp_states() 537 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_did_underflow_occur() local 1071 struct hubp *hubp ; in dcn10_hw_wa_force_recovery() local 1180 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_plane_atomic_disconnect() local 1224 struct hubp *hubp) in dcn10_plane_atomic_power_down() argument 1253 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_plane_atomic_disable() local 1397 pipe_ctx->plane_res.hubp = hubp; in dcn10_init_pipes() 2617 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_update_mpcc() local 2711 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_update_dchubp_dpp() local [all …]
|
A D | dcn10_hw_sequencer_debug.c | 134 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()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_hubp.c | 42 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_mall_sel(struct hubp *hubp, uint32_t mall_sel, bool c_cursor) in hubp32_update_mall_sel() argument 52 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp32_update_mall_sel() 59 void hubp32_prepare_subvp_buffering(struct hubp *hubp, bool enable) in hubp32_prepare_subvp_buffering() argument 61 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp32_prepare_subvp_buffering() 77 void hubp32_phantom_hubp_post_enable(struct hubp *hubp) in hubp32_phantom_hubp_post_enable() argument 80 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp32_phantom_hubp_post_enable() 100 struct hubp *hubp, in hubp32_cursor_set_attributes() argument 113 hubp->curs_attr = *attr; in hubp32_cursor_set_attributes() [all …]
|
A D | dcn32_hubp.h | 53 void hubp32_update_force_pstate_disallow(struct hubp *hubp, bool pstate_disallow); 55 void hubp32_update_mall_sel(struct hubp *hubp, uint32_t mall_sel, bool c_cursor); 57 void hubp32_prepare_subvp_buffering(struct hubp *hubp, bool enable); 59 void hubp32_phantom_hubp_post_enable(struct hubp *hubp); 61 void hubp32_cursor_set_attributes(struct hubp *hubp, 64 void hubp32_init(struct hubp *hubp);
|
A D | dcn32_hwseq.c | 578 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_subvp_update_force_pstate() local 580 if (hubp && hubp->funcs->hubp_update_force_pstate_disallow) in dcn32_subvp_update_force_pstate() 581 hubp->funcs->hubp_update_force_pstate_disallow(hubp, false); in dcn32_subvp_update_force_pstate() 595 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_subvp_update_force_pstate() local 597 if (hubp && hubp->funcs->hubp_update_force_pstate_disallow) in dcn32_subvp_update_force_pstate() 598 hubp->funcs->hubp_update_force_pstate_disallow(hubp, true); in dcn32_subvp_update_force_pstate() 615 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_update_mall_sel() local 641 hubp->funcs->hubp_update_mall_sel(hubp, 1, false); in dcn32_update_mall_sel() 644 hubp->funcs->hubp_update_mall_sel(hubp, in dcn32_update_mall_sel() 679 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_program_mall_pipe_config() local [all …]
|
A D | dcn32_resource_helpers.c | 60 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn32_helper_calculate_mall_bytes_for_cursor() local 61 uint32_t cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_helper_calculate_mall_bytes_for_cursor()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/ |
A D | dcn201_hubp.c | 43 struct hubp *hubp, in hubp201_program_surface_config() argument 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 102 hubp2_vready_at_or_After_vsync(hubp, pipe_dest); in hubp201_setup() [all …]
|
A D | dcn201_hwseq.c | 317 struct hubp *hubp = res_pool->hubps[i]; in dcn201_init_hw() local 323 pipe_ctx->plane_res.hubp = hubp; in dcn201_init_hw() 331 hubp->funcs->hubp_init(hubp); in dcn201_init_hw() 392 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn201_plane_atomic_disconnect() local 429 hubp->funcs->hubp_disconnect(hubp); in dcn201_plane_atomic_disconnect() 437 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn201_update_mpcc() local 494 dpp_id = hubp->inst; in dcn201_update_mpcc() 535 hubp->mpcc_id = mpcc_id; in dcn201_update_mpcc() 544 struct hubp *hubp = NULL; in dcn201_pipe_control_lock() local 586 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn201_set_dmdata_attributes() local [all …]
|
A D | dcn201_hubp.h | 32 #define TO_DCN201_HUBP(hubp)\ argument 33 container_of(hubp, struct dcn201_hubp, base) 117 struct hubp base;
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_hubp.c | 45 void hubp3_set_vm_system_aperture_settings(struct hubp *hubp, in hubp3_set_vm_system_aperture_settings() argument 73 struct hubp *hubp, in hubp3_program_surface_flip_and_addr() argument 341 void hubp3_dcc_control(struct hubp *hubp, bool enable, in hubp3_dcc_control() argument 354 void hubp3_dcc_control_sienna_cichlid(struct hubp *hubp, in hubp3_dcc_control_sienna_cichlid() argument 369 struct hubp *hubp, in hubp3_dmdata_set_attributes() argument 400 struct hubp *hubp, in hubp3_program_surface_config() argument 419 struct hubp *hubp, in hubp3_program_deadline() argument 430 void hubp3_read_state(struct hubp *hubp) in hubp3_read_state() argument 436 hubp2_read_state_common(hubp); in hubp3_read_state() 459 struct hubp *hubp, in hubp3_setup() argument [all …]
|
A D | dcn30_hubp.h | 256 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_hubp.c | 42 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()
|
A D | dcn31_hubp.h | 242 void hubp31_soft_reset(struct hubp *hubp, bool reset); 244 void hubp31_set_unbounded_requesting(struct hubp *hubp, bool enable);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/ |
A D | dcn21_hubp.c | 78 struct hubp *hubp, in apply_DEDCN21_142_wa_for_hostvm_deadline() argument 128 struct hubp *hubp, in hubp21_program_deadline() argument 138 struct hubp *hubp, in hubp21_program_requestor() argument 170 struct hubp *hubp, in hubp21_setup() argument 187 struct hubp *hubp, in hubp21_set_viewport() argument 228 static void hubp21_set_vm_system_aperture_settings(struct hubp *hubp, in hubp21_set_vm_system_aperture_settings() argument 251 static void hubp21_validate_dml_output(struct hubp *hubp, in hubp21_validate_dml_output() argument 667 static void dmcub_PLAT_54186_wa(struct hubp *hubp, in dmcub_PLAT_54186_wa() argument 702 struct hubp *hubp, in hubp21_program_surface_flip_and_addr() argument 804 hubp->request_address = *address; in hubp21_program_surface_flip_and_addr() [all …]
|
A D | dcn21_hubp.h | 32 #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.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_dmub_srv.c | 938 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dc_build_cursor_update_payload0() local 941 if (!dc_get_edp_link_panel_inst(hubp->ctx->dc, in dc_build_cursor_update_payload0() 948 payload->cursor_rect.x = hubp->cur_rect.x; in dc_build_cursor_update_payload0() 949 payload->cursor_rect.y = hubp->cur_rect.y; in dc_build_cursor_update_payload0() 951 payload->cursor_rect.width = hubp->cur_rect.w; in dc_build_cursor_update_payload0() 952 payload->cursor_rect.height = hubp->cur_rect.h; in dc_build_cursor_update_payload0() 970 const struct hubp *hubp, const struct dpp *dpp) in dc_build_cursor_position_update_payload0() argument 985 const struct hubp *hubp, const struct dpp *dpp) in dc_build_cursor_attribute_update_payload1() argument 990 pl_A->aHubp.cur_ctl.raw = hubp->att.cur_ctl.raw; in dc_build_cursor_attribute_update_payload1() 991 pl_A->aHubp.size.raw = hubp->att.size.raw; in dc_build_cursor_attribute_update_payload1() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_stream.c | 387 (!pipe_ctx->plane_res.mi && !pipe_ctx->plane_res.hubp) || in program_cursor_position() 689 struct hubp *hubp; in dc_stream_set_dynamic_metadata() local 709 hubp = pipe_ctx->plane_res.hubp; in dc_stream_set_dynamic_metadata() 710 if (hubp == NULL) in dc_stream_set_dynamic_metadata() 717 if (hubp->funcs->dmdata_set_attributes != NULL && in dc_stream_set_dynamic_metadata() 719 hubp->funcs->dmdata_set_attributes(hubp, attr); in dc_stream_set_dynamic_metadata()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/ |
A D | hw_sequencer_private.h | 65 struct hubp; 114 struct hubp *hubp);
|
A D | core_types.h | 233 struct hubp *hubps[MAX_PIPES]; 341 struct hubp *hubp; member
|