| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H A D | hubp.h | 57 struct hubp { struct 92 struct hubp *hubp, 99 struct hubp *hubp, 103 void (*dcc_control)(struct hubp *hubp, bool enable, 107 struct hubp *hubp, 112 struct hubp *hubp, 117 struct hubp *hubp, 123 struct hubp *hubp, 127 struct hubp *hubp, 131 struct hubp *hubp, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/ |
| H A D | dcn20_hubp.h | 31 #define TO_DCN20_HUBP(hubp)\ argument 32 container_of(hubp, struct dcn20_hubp, base) 250 struct hubp base; 266 struct hubp *hubp, 270 void hubp2_vready_at_or_After_vsync(struct hubp *hubp, 274 struct hubp *hubp, 277 void hubp2_set_vm_system_aperture_settings(struct hubp *hubp, 285 struct hubp *hubp, 289 struct hubp *hubp, 293 bool hubp2_dmdata_status_done(struct hubp *hubp); [all …]
|
| H A D | dcn20_hubp.c | 45 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 …]
|
| H A D | dcn20_hwseq.c | 178 if (pipe_ctx && pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl) in dcn20_set_flip_control_gsl() 179 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl( in dcn20_set_flip_control_gsl() 180 pipe_ctx->plane_res.hubp, flip_immediate); in dcn20_set_flip_control_gsl() 265 if (pipe_ctx->plane_res.hubp && pipe_ctx->plane_res.hubp->funcs) { in dcn20_program_triple_buffer() 266 pipe_ctx->plane_res.hubp->funcs->hubp_enable_tripleBuffer( in dcn20_program_triple_buffer() 267 pipe_ctx->plane_res.hubp, in dcn20_program_triple_buffer() 569 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn20_plane_atomic_disable() local 582 hubp->funcs->hubp_clk_cntl(hubp, false); in dcn20_plane_atomic_disable() 586 hubp->power_gated = true; in dcn20_plane_atomic_disable() 590 pipe_ctx->plane_res.hubp); in dcn20_plane_atomic_disable() [all …]
|
| H A D | dcn20_resource.h | 103 struct hubp *dcn20_hubp_create(
|
| H A D | dcn20_resource.c | 1570 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() 1952 secondary_pipe->plane_res.hubp = pool->hubps[secondary_pipe->pipe_idx]; in dcn20_split_stream_for_mpc() 3281 idle_pipe->plane_res.hubp = pool->hubps[idle_pipe->pipe_idx];
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/ |
| H A D | dcn10_hubp.c | 41 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 …]
|
| H A D | dcn10_hw_sequencer.c | 165 struct hubp *hubp = pool->hubps[i]; in dcn10_log_hubp_states() local 166 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_log_hubp_states() 168 hubp->funcs->hubp_read_state(hubp); in dcn10_log_hubp_states() 172 hubp->inst, in dcn10_log_hubp_states() 467 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn10_did_underflow_occur() local 475 if (hubp->funcs->hubp_get_underflow_status(hubp)) { in dcn10_did_underflow_occur() 476 hubp->funcs->hubp_clear_underflow(hubp); in dcn10_did_underflow_occur() 666 struct hubp *hubp = dc->res_pool->hubps[0]; in undo_DEGVIDCN10_253_wa() local 671 hubp->funcs->set_blank(hubp, true); in undo_DEGVIDCN10_253_wa() 686 struct hubp *hubp = dc->res_pool->hubps[0]; in apply_DEGVIDCN10_253_wa() local [all …]
|
| H A D | dcn10_hubp.h | 30 #define TO_DCN10_HUBP(hubp)\ argument 31 container_of(hubp, struct dcn10_hubp, base) 682 struct hubp base; 690 struct hubp *hubp, 700 struct hubp *hubp, 705 struct hubp *hubp, 709 struct hubp *hubp, 713 struct hubp *hubp, 719 struct hubp *hubp, 724 struct hubp *hubp, [all …]
|
| H 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()
|
| H A D | dcn10_hw_sequencer.h | 189 struct hubp *hubp);
|
| H A D | dcn10_resource.c | 1050 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()
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| H A D | dcn30_hubp.h | 255 struct hubp *hubp, 260 struct hubp *hubp, 270 struct hubp *hubp, 276 void hubp3_dcc_control(struct hubp *hubp, bool enable, 279 void hubp3_dcc_control_sienna_cichlid(struct hubp *hubp, 283 struct hubp *hubp, 286 void hubp3_read_state(struct hubp *hubp); 288 void hubp3_init(struct hubp *hubp);
|
| H A D | dcn30_hwseq.c | 94 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn30_set_mpc_shaper_3dlut() 189 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn30_set_output_transfer_func() 679 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn30_program_dmdata_engine() local 692 if (!hubp) in dcn30_program_dmdata_engine() 699 hubp->inst, mode); in dcn30_program_dmdata_engine()
|
| H A D | dcn30_resource.c | 1326 static struct hubp *dcn30_hubp_create( in dcn30_hubp_create() 1864 sec_pipe->plane_res.hubp = pool->hubps[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn21/ |
| H A D | dcn21_hubp.c | 78 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 …]
|
| 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,
|
| H A D | dcn21_resource.c | 1275 static struct hubp *dcn21_hubp_create( in dcn21_hubp_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_stream.c | 373 (!pipe_ctx->plane_res.mi && !pipe_ctx->plane_res.hubp) || in dc_stream_set_cursor_position() 637 struct hubp *hubp; in dc_stream_set_dynamic_metadata() local 657 hubp = pipe_ctx->plane_res.hubp; in dc_stream_set_dynamic_metadata() 658 if (hubp == NULL) in dc_stream_set_dynamic_metadata() 665 if (hubp->funcs->dmdata_set_attributes != NULL && in dc_stream_set_dynamic_metadata() 667 hubp->funcs->dmdata_set_attributes(hubp, attr); in dc_stream_set_dynamic_metadata()
|
| H A D | dc_resource.c | 1403 split_pipe->plane_res.hubp = pool->hubps[i]; in acquire_first_split_pipe() 1777 pipe_ctx->plane_res.hubp = pool->hubps[i]; in acquire_first_free_pipe() 2033 pipe_ctx->plane_res.hubp = pool->hubps[tg_inst]; in acquire_resource_from_hw_enabled_state()
|
| H A D | dc.c | 1496 mpcc_id = res_ctx->pipe_ctx[pipe_idx].plane_res.hubp->inst; in dc_acquire_release_mpc_3dlut() 2548 cur_pipe.plane_res.hubp->funcs->validate_dml_output( in commit_planes_for_stream() 2549 cur_pipe.plane_res.hubp, dc->ctx, in commit_planes_for_stream()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | hw_sequencer_private.h | 63 struct hubp; 111 struct hubp *hubp);
|
| H A D | core_types.h | 183 struct hubp *hubps[MAX_PIPES]; 278 struct hubp *hubp; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/calcs/ |
| H A D | dcn_calcs.c | 535 secondary_pipe->plane_res.hubp = pool->hubps[secondary_pipe->pipe_idx]; in split_stream_across_pipes()
|