/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 1230 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in get_pixel_clock_parameters() 1466 struct pipe_ctx *next_odm_pipe) in dcn20_split_stream_for_odm() argument 1468 int pipe_idx = next_odm_pipe->pipe_idx; in dcn20_split_stream_for_odm() 1471 *next_odm_pipe = *prev_odm_pipe; in dcn20_split_stream_for_odm() 1473 next_odm_pipe->pipe_idx = pipe_idx; in dcn20_split_stream_for_odm() 1474 next_odm_pipe->plane_res.mi = pool->mis[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1475 next_odm_pipe->plane_res.hubp = pool->hubps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1476 next_odm_pipe->plane_res.ipp = pool->ipps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1477 next_odm_pipe->plane_res.xfm = pool->transforms[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1478 next_odm_pipe->plane_res.dpp = pool->dpps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() [all …]
|
D | dcn20_hwseq.c | 708 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn20_enable_stream_timing() 768 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in dcn20_enable_stream_timing() 1029 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn20_update_odm() 1067 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in dcn20_blank_pixel_data() 1085 while (odm_pipe->next_odm_pipe) { in dcn20_blank_pixel_data() 1096 odm_pipe = odm_pipe->next_odm_pipe; in dcn20_blank_pixel_data() 1385 if ((old_pipe->next_odm_pipe && new_pipe->next_odm_pipe in dcn20_detect_pipe_changes() 1386 && old_pipe->next_odm_pipe->pipe_idx != new_pipe->next_odm_pipe->pipe_idx) in dcn20_detect_pipe_changes() 1387 || (!old_pipe->next_odm_pipe && new_pipe->next_odm_pipe) in dcn20_detect_pipe_changes() 1388 || (old_pipe->next_odm_pipe && !new_pipe->next_odm_pipe) in dcn20_detect_pipe_changes() [all …]
|
D | dcn20_resource.h | 143 struct pipe_ctx *next_odm_pipe);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_hwseq.c | 103 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in update_dsc_on_stream() 116 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false; in update_dsc_on_stream() 123 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in update_dsc_on_stream() 149 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in update_dsc_on_stream() 172 for (odm_pipe = odm_pipe->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in get_odm_config() 216 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn314_update_odm() 228 if (!pipe_ctx->next_odm_pipe && current_pipe_ctx->next_odm_pipe && in dcn314_update_odm() 229 current_pipe_ctx->next_odm_pipe->stream_res.dsc) { in dcn314_update_odm() 230 struct display_stream_compressor *dsc = current_pipe_ctx->next_odm_pipe->stream_res.dsc; in dcn314_update_odm()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1542 if (pri_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm() 1543 ASSERT(pri_pipe->next_odm_pipe != sec_pipe); in dcn30_split_stream_for_mpc_or_odm() 1544 sec_pipe->next_odm_pipe = pri_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm() 1545 sec_pipe->next_odm_pipe->prev_odm_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm() 1547 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm() 1548 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm() 1549 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm() 1551 if (pri_pipe->bottom_pipe && pri_pipe->bottom_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm() 1552 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm() 1553 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/ |
D | link_hwss_hpo_frl.c | 37 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in setup_hpo_frl_stream_attribute()
|
D | link_dpms.c | 783 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in link_set_dsc_on_stream() 796 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false; in link_set_dsc_on_stream() 803 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in link_set_dsc_on_stream() 858 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in link_set_dsc_on_stream() 897 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false; in link_set_dsc_pps_packet() 2473 !pipe_ctx->next_odm_pipe) { in link_set_dpms_on()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hwseq.c | 1008 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in update_dsc_on_stream() 1021 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false; in update_dsc_on_stream() 1028 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in update_dsc_on_stream() 1054 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in update_dsc_on_stream() 1079 for (odm_pipe = odm_pipe->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in get_odm_config() 1123 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn32_update_odm() 1135 if (!pipe_ctx->next_odm_pipe && current_pipe_ctx->next_odm_pipe && in dcn32_update_odm() 1136 current_pipe_ctx->next_odm_pipe->stream_res.dsc) { in dcn32_update_odm() 1137 struct display_stream_compressor *dsc = current_pipe_ctx->next_odm_pipe->stream_res.dsc; in dcn32_update_odm() 1239 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in dcn32_unblank_stream()
|
D | dcn32_resource_helpers.c | 136 pipe->prev_odm_pipe->next_odm_pipe = pipe->next_odm_pipe; in dcn32_merge_pipes_for_subvp() 137 if (pipe->next_odm_pipe) in dcn32_merge_pipes_for_subvp() 138 pipe->next_odm_pipe->prev_odm_pipe = pipe->prev_odm_pipe; in dcn32_merge_pipes_for_subvp() 141 pipe->next_odm_pipe = NULL; in dcn32_merge_pipes_for_subvp()
|
D | dcn32_resource.c | 2600 if ((old_primary_pipe->next_odm_pipe) && (old_primary_pipe->next_odm_pipe->bottom_pipe) in find_idle_secondary_pipe_check_mpo() 2602 next_odm_mpo_pipe = old_primary_pipe->next_odm_pipe->bottom_pipe; in find_idle_secondary_pipe_check_mpo()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 1596 if (pri_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm() 1597 ASSERT(pri_pipe->next_odm_pipe != sec_pipe); in dcn32_split_stream_for_mpc_or_odm() 1598 sec_pipe->next_odm_pipe = pri_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm() 1599 sec_pipe->next_odm_pipe->prev_odm_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm() 1601 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm() 1602 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm() 1603 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm() 1605 if (pri_pipe->bottom_pipe && pri_pipe->bottom_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm() 1606 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm() 1607 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/accessories/ |
D | link_dp_cts.c | 443 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in set_crtc_test_pattern() 512 while (odm_pipe->next_odm_pipe) { in set_crtc_test_pattern() 525 odm_pipe = odm_pipe->next_odm_pipe; in set_crtc_test_pattern() 555 while (odm_pipe->next_odm_pipe) { in set_crtc_test_pattern() 568 odm_pipe = odm_pipe->next_odm_pipe; in set_crtc_test_pattern()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_stream.c | 273 if (pipe_to_program->next_odm_pipe) in program_cursor_attributes() 274 dc->hwss.cursor_lock(dc, pipe_to_program->next_odm_pipe, true); in program_cursor_attributes() 286 if (pipe_to_program->next_odm_pipe) in program_cursor_attributes() 287 dc->hwss.cursor_lock(dc, pipe_to_program->next_odm_pipe, false); in program_cursor_attributes()
|
D | dc_resource.c | 759 while (pipe->next_odm_pipe) { in resource_get_num_odm_splits() 761 pipe = pipe->next_odm_pipe; in resource_get_num_odm_splits() 1717 ASSERT(!pipe_ctx->next_odm_pipe); in resource_is_pipe_type() 1843 opp_head_pipe = opp_head_pipe->next_odm_pipe; in add_plane_to_opp_head_pipes() 1859 tail_pipe->prev_odm_pipe->bottom_pipe->next_odm_pipe = sec_pipe; in insert_secondary_dpp_pipe_with_plane() 1902 opp_head_pipe = opp_head_pipe->next_odm_pipe; in acquire_secondary_dpp_pipes_and_add_plane() 2457 odm_pipe = del_pipe->next_odm_pipe; in dc_remove_stream_from_ctx() 2490 struct pipe_ctx *next_odm_pipe = odm_pipe->next_odm_pipe; in dc_remove_stream_from_ctx() local 2493 odm_pipe = next_odm_pipe; in dc_remove_stream_from_ctx() 2688 res_ctx->pipe_ctx[id_src[0]].next_odm_pipe = &res_ctx->pipe_ctx[id_src[1]]; in acquire_resource_from_hw_enabled_state() [all …]
|
D | dc_hw_sequencer.c | 591 current_pipe = current_pipe->next_odm_pipe; in hwss_build_fast_sequence() 614 if (!current_mpc_pipe->bottom_pipe && !current_mpc_pipe->next_odm_pipe && in hwss_build_fast_sequence() 624 current_pipe = current_pipe->next_odm_pipe; in hwss_build_fast_sequence()
|
D | dc.c | 622 param.odm_mode = pipe->next_odm_pipe ? 1:0; in dc_stream_configure_crc() 2046 if (pipe->next_odm_pipe) in dc_commit_streams() 2257 if (cur_pipe->next_odm_pipe) in dc_copy_state() 2258 cur_pipe->next_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx]; in dc_copy_state() 3167 struct pipe_ctx *odm_pipe = pipe_ctx->next_odm_pipe; in commit_planes_do_stream_update() 3177 odm_pipe = odm_pipe->next_odm_pipe; in commit_planes_do_stream_update() 3581 for (odm_pipe = mpcc_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in commit_planes_for_stream() 3865 if (pipe_ctx->bottom_pipe || pipe_ctx->next_odm_pipe || in commit_planes_for_stream() 4031 if (pipe->stream && pipe->next_odm_pipe) { in commit_minimal_transition_state()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/ |
D | dc_dmub_srv.c | 678 } else if (subvp_pipe->next_odm_pipe) { in populate_subvp_cmd_pipe_info() 679 pipe_data->pipe_config.subvp_data.main_split_pipe_index = subvp_pipe->next_odm_pipe->pipe_idx; in populate_subvp_cmd_pipe_info() 692 } else if (phantom_pipe->next_odm_pipe) { in populate_subvp_cmd_pipe_info() 693 …pipe_data->pipe_config.subvp_data.phantom_split_pipe_index = phantom_pipe->next_odm_pipe->plane_re… in populate_subvp_cmd_pipe_info()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hwseq.c | 290 (pipe_ctx->prev_odm_pipe == NULL && pipe_ctx->next_odm_pipe == NULL)) in dcn21_is_abm_supported()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 393 struct pipe_ctx *next_odm_pipe; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 889 …for (other_pipe = pipe->next_odm_pipe; other_pipe != NULL; other_pipe = other_pipe->next_odm_pipe)… in calculate_vready_offset_for_group() 2096 while (pipe->next_odm_pipe) { in get_clock_divider() 2097 pipe = pipe->next_odm_pipe; in get_clock_divider() 3415 bool odm_combine_on = (pipe_ctx->next_odm_pipe != NULL) || in dcn10_set_cursor_position() 3571 if (pipe_ctx->next_odm_pipe) { in dcn10_set_cursor_position() 3573 pipe_ctx->next_odm_pipe->plane_res.scl_data.viewport.y; in dcn10_set_cursor_position()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 1484 struct pipe_ctx *odm_pipe = pipe_ctx->next_odm_pipe; in apply_single_controller_ctx_to_hw() 1535 odm_pipe = odm_pipe->next_odm_pipe; in apply_single_controller_ctx_to_hw()
|