/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | hubp.h | 108 struct hubp *hubp, 115 struct hubp *hubp, 123 struct hubp *hubp, 128 struct hubp *hubp, 133 struct hubp *hubp, 139 struct hubp *hubp, 143 struct hubp *hubp, 147 struct hubp *hubp, 192 struct hubp *hubp, 199 struct hubp *hubp, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H 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 …]
|
H A D | dcn20_hubp.c | 82 struct hubp *hubp, in hubp2_program_deadline() argument 230 struct hubp *hubp, in hubp2_setup() argument 247 struct hubp *hubp, in hubp2_setup_interdependent() argument 329 struct hubp *hubp, in hubp2_program_size() argument 377 struct hubp *hubp, in hubp2_program_rotation() argument 424 struct hubp *hubp, in hubp2_program_pixel_format() argument 537 struct hubp *hubp, in hubp2_program_surface_config() argument 592 struct hubp *hubp, in hubp2_cursor_set_attributes() argument 713 struct hubp *hubp, in hubp2_program_surface_flip_and_addr() argument 876 struct hubp *hubp, in hubp2_enable_triplebuffer() argument [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H 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 …]
|
H A D | dcn10_hubp.h | 707 struct hubp *hubp, 717 struct hubp *hubp, 722 struct hubp *hubp, 726 struct hubp *hubp, 730 struct hubp *hubp, 736 struct hubp *hubp, 741 struct hubp *hubp, 750 struct hubp *hubp, 757 struct hubp *hubp, 761 struct hubp *hubp, [all …]
|
H A D | dcn10_hw_sequencer_debug.c | 135 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/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hubp.h | 47 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);
|
H 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_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 86 void hubp32_phantom_hubp_post_enable(struct hubp *hubp) in hubp32_phantom_hubp_post_enable() argument 109 struct hubp *hubp, in hubp32_cursor_set_attributes() argument 122 hubp->curs_attr = *attr; in hubp32_cursor_set_attributes() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn201/ |
H 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() 97 struct hubp *hubp, in hubp201_setup() argument 107 hubp2_vready_at_or_After_vsync(hubp, pipe_dest); in hubp201_setup() [all …]
|
H 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/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubp.c | 45 void hubp3_set_vm_system_aperture_settings(struct hubp *hubp, in hubp3_set_vm_system_aperture_settings() argument 69 struct hubp *hubp, in hubp3_program_surface_flip_and_addr() argument 337 void hubp3_dcc_control(struct hubp *hubp, bool enable, in hubp3_dcc_control() argument 350 void hubp3_dcc_control_sienna_cichlid(struct hubp *hubp, in hubp3_dcc_control_sienna_cichlid() argument 365 struct hubp *hubp, in hubp3_dmdata_set_attributes() argument 396 struct hubp *hubp, in hubp3_program_surface_config() argument 415 struct hubp *hubp, in hubp3_program_deadline() argument 426 void hubp3_read_state(struct hubp *hubp) in hubp3_read_state() argument 432 hubp2_read_state_common(hubp); in hubp3_read_state() 464 struct hubp *hubp, in hubp3_setup() argument [all …]
|
H 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, 286 void hubp3_dcc_control(struct hubp *hubp, bool enable, 289 void hubp3_dcc_control_sienna_cichlid(struct hubp *hubp, 293 struct hubp *hubp, 296 void hubp3_read_state(struct hubp *hubp); 298 void hubp3_init(struct hubp *hubp);
|
/linux/drivers/gpu/drm/amd/display/dc/dcn35/ |
H A D | dcn35_hubp.c | 41 void hubp35_set_fgcg(struct hubp *hubp, bool enable) in hubp35_set_fgcg() argument 43 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp35_set_fgcg() 48 static void hubp35_init(struct hubp *hubp) in hubp35_init() argument 50 hubp3_init(hubp); in hubp35_init() 52 hubp35_set_fgcg(hubp, hubp->ctx->dc->debug.enable_fine_grain_clock_gating.bits.dchub); in hubp35_init() 58 struct hubp *hubp, in hubp35_program_pixel_format() argument 61 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp35_program_pixel_format() 173 struct hubp *hubp, in hubp35_program_surface_config() argument 182 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp); in hubp35_program_surface_config() 184 hubp3_dcc_control_sienna_cichlid(hubp, dcc); in hubp35_program_surface_config() [all …]
|
H A D | dcn35_hubp.h | 59 void hubp35_set_fgcg(struct hubp *hubp, bool enable); 62 struct hubp *hubp, 66 struct hubp *hubp,
|
/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H 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() 66 struct hubp *hubp, unsigned int min_dst_y_next_start_optimized) in hubp31_program_extended_blank_value() argument 68 hubp31_program_extended_blank(hubp, min_dst_y_next_start_optimized); in hubp31_program_extended_blank_value()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/ |
H A D | dcn201_hwseq.c | 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() 318 hubp->funcs->hubp_init(hubp); in dcn201_init_hw() 377 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn201_plane_atomic_disconnect() local 414 hubp->funcs->hubp_disconnect(hubp); in dcn201_plane_atomic_disconnect() 422 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn201_update_mpcc() local 479 dpp_id = hubp->inst; in dcn201_update_mpcc() 520 hubp->mpcc_id = mpcc_id; in dcn201_update_mpcc() 569 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn201_set_dmdata_attributes() local [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hubp.c | 80 struct hubp *hubp, in apply_DEDCN21_142_wa_for_hostvm_deadline() argument 130 struct hubp *hubp, in hubp21_program_deadline() argument 140 struct hubp *hubp, in hubp21_program_requestor() argument 172 struct hubp *hubp, in hubp21_setup() argument 189 struct hubp *hubp, in hubp21_set_viewport() argument 230 static void hubp21_set_vm_system_aperture_settings(struct hubp *hubp, in hubp21_set_vm_system_aperture_settings() argument 253 static void hubp21_validate_dml_output(struct hubp *hubp, in hubp21_validate_dml_output() argument 669 static void dmcub_PLAT_54186_wa(struct hubp *hubp, in dmcub_PLAT_54186_wa() argument 699 struct hubp *hubp, in hubp21_program_surface_flip_and_addr() argument 801 hubp->request_address = *address; in hubp21_program_surface_flip_and_addr() [all …]
|
H 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/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.c | 181 struct hubp *hubp = pool->hubps[i]; in dcn10_log_hubp_states() local 184 hubp->funcs->hubp_read_state(hubp); in dcn10_log_hubp_states() 592 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_did_underflow_occur() local 1129 struct hubp *hubp ; in dcn10_hw_wa_force_recovery() local 1240 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_plane_atomic_disconnect() local 1284 struct hubp *hubp) in dcn10_plane_atomic_power_down() argument 1317 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_plane_atomic_disable() local 1463 pipe_ctx->plane_res.hubp = hubp; in dcn10_init_pipes() 2684 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_update_mpcc() local 2778 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_update_dchubp_dpp() local [all …]
|
/linux/Documentation/gpu/amdgpu/display/ |
H A D | dcn-blocks.rst | 11 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 14 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 17 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 23 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 26 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 29 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 35 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 38 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 41 .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
H A D | dcn20_hwseq.c | 696 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_plane_atomic_disable() local 712 hubp->funcs->hubp_clk_cntl(hubp, false); in dcn20_plane_atomic_disable() 1659 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_update_dchubp_dpp() local 1824 hubp->funcs->set_blank(hubp, false); in dcn20_update_dchubp_dpp() 2162 struct hubp *hubp = pipe->plane_res.hubp; in dcn20_post_unlock_program_front_end() local 2462 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_dmdata_status_done() local 2502 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_set_dmdata_attributes() local 2781 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_update_mpcc() local 2945 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_program_dmdata_engine() local 3039 pipe_ctx->plane_res.hubp = hubp; in dcn20_fpga_init_hw() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
H A D | dcn35_hwseq.c | 752 struct hubp *hubp = dc->res_pool->hubps[i]; in dcn35_init_pipes() local 758 if (hubbub && hubp) { in dcn35_init_pipes() 778 struct hubp *hubp = dc->res_pool->hubps[i]; in dcn35_init_pipes() local 808 pipe_ctx->plane_res.hubp = hubp; in dcn35_init_pipes() 900 pipe_ctx->plane_res.hubp->funcs->hubp_clk_cntl(pipe_ctx->plane_res.hubp, true); in dcn35_enable_plane() 903 pipe_ctx->plane_res.hubp->funcs->hubp_init(pipe_ctx->plane_res.hubp); in dcn35_enable_plane() 926 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_int(pipe_ctx->plane_res.hubp); in dcn35_enable_plane() 934 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn35_plane_atomic_disable() local 950 hubp->funcs->hubp_clk_cntl(hubp, false); in dcn35_plane_atomic_disable() 974 if (!pipe_ctx->plane_res.hubp || pipe_ctx->plane_res.hubp->power_gated) in dcn35_disable_plane() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
H A D | dcn32_hwseq.c | 602 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_update_force_pstate() local 606 if (hubp && hubp->funcs->hubp_update_force_pstate_disallow) in dcn32_update_force_pstate() 607 hubp->funcs->hubp_update_force_pstate_disallow(hubp, false); in dcn32_update_force_pstate() 617 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_update_force_pstate() local 621 if (hubp && hubp->funcs->hubp_update_force_pstate_disallow) in dcn32_update_force_pstate() 622 hubp->funcs->hubp_update_force_pstate_disallow(hubp, true); in dcn32_update_force_pstate() 641 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_update_mall_sel() local 667 hubp->funcs->hubp_update_mall_sel(hubp, 1, false); in dcn32_update_mall_sel() 670 hubp->funcs->hubp_update_mall_sel(hubp, in dcn32_update_mall_sel() 701 struct hubp *hubp = pipe->plane_res.hubp; in dcn32_program_mall_pipe_config() local [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 1035 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dc_build_cursor_update_payload0() local 1038 if (!dc_get_edp_link_panel_inst(hubp->ctx->dc, in dc_build_cursor_update_payload0() 1045 payload->cursor_rect.x = hubp->cur_rect.x; in dc_build_cursor_update_payload0() 1046 payload->cursor_rect.y = hubp->cur_rect.y; in dc_build_cursor_update_payload0() 1048 payload->cursor_rect.width = hubp->cur_rect.w; in dc_build_cursor_update_payload0() 1049 payload->cursor_rect.height = hubp->cur_rect.h; in dc_build_cursor_update_payload0() 1059 const struct hubp *hubp, const struct dpp *dpp) in dc_build_cursor_position_update_payload0() argument 1074 const struct hubp *hubp, const struct dpp *dpp) in dc_build_cursor_attribute_update_payload1() argument 1079 pl_A->aHubp.cur_ctl.raw = hubp->att.cur_ctl.raw; in dc_build_cursor_attribute_update_payload1() 1080 pl_A->aHubp.size.raw = hubp->att.size.raw; in dc_build_cursor_attribute_update_payload1() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_stream.c | 334 (!pipe_ctx->plane_res.mi && !pipe_ctx->plane_res.hubp) || in program_cursor_position() 679 struct hubp *hubp; in dc_stream_set_dynamic_metadata() local 699 hubp = pipe_ctx->plane_res.hubp; in dc_stream_set_dynamic_metadata() 700 if (hubp == NULL) in dc_stream_set_dynamic_metadata() 709 if (hubp->funcs->dmdata_set_attributes != NULL && in dc_stream_set_dynamic_metadata() 711 hubp->funcs->dmdata_set_attributes(hubp, attr); in dc_stream_set_dynamic_metadata()
|