/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_hwseq.c | 105 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in update_dsc_on_stream() 118 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false; in update_dsc_on_stream() 125 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in update_dsc_on_stream() 151 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in update_dsc_on_stream() 174 for (odm_pipe = odm_pipe->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in get_odm_config() 218 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn314_update_odm() 230 if (!pipe_ctx->next_odm_pipe && current_pipe_ctx->next_odm_pipe && in dcn314_update_odm() 231 current_pipe_ctx->next_odm_pipe->stream_res.dsc) { in dcn314_update_odm() 232 struct display_stream_compressor *dsc = current_pipe_ctx->next_odm_pipe->stream_res.dsc; in dcn314_update_odm()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 1244 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in get_pixel_clock_parameters() 1461 struct pipe_ctx *next_odm_pipe) in dcn20_split_stream_for_odm() argument 1463 int pipe_idx = next_odm_pipe->pipe_idx; in dcn20_split_stream_for_odm() 1466 *next_odm_pipe = *prev_odm_pipe; in dcn20_split_stream_for_odm() 1468 next_odm_pipe->pipe_idx = pipe_idx; in dcn20_split_stream_for_odm() 1469 next_odm_pipe->plane_res.mi = pool->mis[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1470 next_odm_pipe->plane_res.hubp = pool->hubps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1471 next_odm_pipe->plane_res.ipp = pool->ipps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1472 next_odm_pipe->plane_res.xfm = pool->transforms[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1473 next_odm_pipe->plane_res.dpp = pool->dpps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() [all …]
|
D | dcn20_hwseq.c | 684 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn20_enable_stream_timing() 744 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in dcn20_enable_stream_timing() 1005 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn20_update_odm() 1043 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in dcn20_blank_pixel_data() 1069 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn20_blank_pixel_data() 1339 if ((old_pipe->next_odm_pipe && new_pipe->next_odm_pipe in dcn20_detect_pipe_changes() 1340 && old_pipe->next_odm_pipe->pipe_idx != new_pipe->next_odm_pipe->pipe_idx) in dcn20_detect_pipe_changes() 1341 || (!old_pipe->next_odm_pipe && new_pipe->next_odm_pipe) in dcn20_detect_pipe_changes() 1342 || (old_pipe->next_odm_pipe && !new_pipe->next_odm_pipe) in dcn20_detect_pipe_changes() 1633 …for (other_pipe = pipe->next_odm_pipe; other_pipe != NULL; other_pipe = other_pipe->next_odm_pipe)… in calculate_vready_offset_for_group() [all …]
|
D | dcn20_resource.h | 142 struct pipe_ctx *next_odm_pipe);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 742 struct pipe_ctx *next_pipe = pipe->next_odm_pipe; in get_num_odm_splits() 745 next_pipe = next_pipe->next_odm_pipe; in get_num_odm_splits() 852 if (!pipe_ctx->next_odm_pipe && !pipe_ctx->prev_odm_pipe) { in calculate_recout() 1127 if (pipe_ctx->next_odm_pipe || pipe_ctx->prev_odm_pipe) { in resource_build_scaling_params() 1133 pipe_ctx->next_odm_pipe ? pipe_ctx->next_odm_pipe->pipe_idx : -1, in resource_build_scaling_params() 1136 …else if (pipe_ctx->top_pipe && (pipe_ctx->top_pipe->next_odm_pipe || pipe_ctx->top_pipe->prev_odm_… in resource_build_scaling_params() 1144 pipe_ctx->top_pipe->next_odm_pipe ? pipe_ctx->top_pipe->next_odm_pipe->pipe_idx : -1, in resource_build_scaling_params() 1519 tail_pipe->next_odm_pipe) { in dc_add_plane_to_context() 1524 if (head_pipe->next_odm_pipe && tail_pipe->next_odm_pipe->bottom_pipe) { in dc_add_plane_to_context() 1532 tail_pipe->next_odm_pipe ? tail_pipe->next_odm_pipe->pipe_idx : -1); in dc_add_plane_to_context() [all …]
|
D | dc_stream.c | 274 if (pipe_to_program->next_odm_pipe) in program_cursor_attributes() 275 dc->hwss.cursor_lock(dc, pipe_to_program->next_odm_pipe, true); in program_cursor_attributes() 287 if (pipe_to_program->next_odm_pipe) in program_cursor_attributes() 288 dc->hwss.cursor_lock(dc, pipe_to_program->next_odm_pipe, false); in program_cursor_attributes()
|
D | dc_link_dp.c | 5993 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in set_crtc_test_pattern() 6008 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in set_crtc_test_pattern() 6041 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in set_crtc_test_pattern() 6045 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in set_crtc_test_pattern() 7407 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in dp_set_dsc_on_stream() 7420 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false; in dp_set_dsc_on_stream() 7427 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dp_set_dsc_on_stream() 7483 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in dp_set_dsc_on_stream() 7541 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false; in dp_set_dsc_pps_sdp()
|
D | dc.c | 626 param.odm_mode = pipe->next_odm_pipe ? 1:0; in dc_stream_configure_crc() 2097 if (cur_pipe->next_odm_pipe) in dc_copy_state() 2098 cur_pipe->next_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx]; in dc_copy_state() 3064 struct pipe_ctx *odm_pipe = pipe_ctx->next_odm_pipe; in commit_planes_do_stream_update() 3074 odm_pipe = odm_pipe->next_odm_pipe; in commit_planes_do_stream_update() 3276 for (odm_pipe = mpcc_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in commit_planes_for_stream() 3569 if (pipe_ctx->bottom_pipe || pipe_ctx->next_odm_pipe || in commit_planes_for_stream()
|
D | dc_link.c | 4337 !pipe_ctx->next_odm_pipe) { in core_link_enable_stream()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1555 if (pri_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm() 1556 ASSERT(pri_pipe->next_odm_pipe != sec_pipe); in dcn30_split_stream_for_mpc_or_odm() 1557 sec_pipe->next_odm_pipe = pri_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm() 1558 sec_pipe->next_odm_pipe->prev_odm_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm() 1560 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm() 1561 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm() 1562 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm() 1564 if (pri_pipe->bottom_pipe && pri_pipe->bottom_pipe->next_odm_pipe) { in dcn30_split_stream_for_mpc_or_odm() 1565 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn30_split_stream_for_mpc_or_odm() 1566 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm() [all …]
|
/linux-6.1.9/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_hwss_hpo_dp.c | 92 struct pipe_ctx *odm_pipe = pipe_ctx->next_odm_pipe; in get_odm_segment_count() 97 odm_pipe = odm_pipe->next_odm_pipe; in get_odm_segment_count()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hwseq.c | 1025 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in update_dsc_on_stream() 1038 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false; in update_dsc_on_stream() 1045 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in update_dsc_on_stream() 1071 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in update_dsc_on_stream() 1096 for (odm_pipe = odm_pipe->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in get_odm_config() 1140 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) { in dcn32_update_odm() 1152 if (!pipe_ctx->next_odm_pipe && current_pipe_ctx->next_odm_pipe && in dcn32_update_odm() 1153 current_pipe_ctx->next_odm_pipe->stream_res.dsc) { in dcn32_update_odm() 1154 struct display_stream_compressor *dsc = current_pipe_ctx->next_odm_pipe->stream_res.dsc; in dcn32_update_odm() 1230 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 | 162 pipe->prev_odm_pipe->next_odm_pipe = pipe->next_odm_pipe; in dcn32_merge_pipes_for_subvp() 163 if (pipe->next_odm_pipe) in dcn32_merge_pipes_for_subvp() 164 pipe->next_odm_pipe->prev_odm_pipe = pipe->prev_odm_pipe; in dcn32_merge_pipes_for_subvp() 167 pipe->next_odm_pipe = NULL; in dcn32_merge_pipes_for_subvp()
|
D | dcn32_resource.c | 2477 if ((old_primary_pipe->next_odm_pipe) && (old_primary_pipe->next_odm_pipe->bottom_pipe) in find_idle_secondary_pipe_check_mpo() 2479 next_odm_mpo_pipe = old_primary_pipe->next_odm_pipe->bottom_pipe; in find_idle_secondary_pipe_check_mpo()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 1426 if (pri_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm() 1427 ASSERT(pri_pipe->next_odm_pipe != sec_pipe); in dcn32_split_stream_for_mpc_or_odm() 1428 sec_pipe->next_odm_pipe = pri_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm() 1429 sec_pipe->next_odm_pipe->prev_odm_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm() 1431 if (pri_pipe->top_pipe && pri_pipe->top_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm() 1432 pri_pipe->top_pipe->next_odm_pipe->bottom_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm() 1433 sec_pipe->top_pipe = pri_pipe->top_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm() 1435 if (pri_pipe->bottom_pipe && pri_pipe->bottom_pipe->next_odm_pipe) { in dcn32_split_stream_for_mpc_or_odm() 1436 pri_pipe->bottom_pipe->next_odm_pipe->top_pipe = sec_pipe; in dcn32_split_stream_for_mpc_or_odm() 1437 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn32_split_stream_for_mpc_or_odm() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_dmub_srv.c | 681 } else if (subvp_pipe->next_odm_pipe) { in populate_subvp_cmd_pipe_info() 682 pipe_data->pipe_config.subvp_data.main_split_pipe_index = subvp_pipe->next_odm_pipe->pipe_idx; in populate_subvp_cmd_pipe_info() 695 } else if (phantom_pipe->next_odm_pipe) { in populate_subvp_cmd_pipe_info() 696 …pipe_data->pipe_config.subvp_data.phantom_split_pipe_index = phantom_pipe->next_odm_pipe->pipe_idx; in populate_subvp_cmd_pipe_info()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hwseq.c | 241 (pipe_ctx->prev_odm_pipe == NULL && pipe_ctx->next_odm_pipe == NULL)) in dcn21_is_abm_supported()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 428 struct pipe_ctx *next_odm_pipe; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 884 …for (other_pipe = pipe->next_odm_pipe; other_pipe != NULL; other_pipe = other_pipe->next_odm_pipe)… in calculate_vready_offset_for_group() 2105 while (pipe->next_odm_pipe) { in get_clock_divider() 2106 pipe = pipe->next_odm_pipe; in get_clock_divider() 3416 bool odm_combine_on = (pipe_ctx->next_odm_pipe != NULL) || in dcn10_set_cursor_position() 3572 if (pipe_ctx->next_odm_pipe) { in dcn10_set_cursor_position() 3574 pipe_ctx->next_odm_pipe->plane_res.scl_data.viewport.y; in dcn10_set_cursor_position()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 1488 struct pipe_ctx *odm_pipe = pipe_ctx->next_odm_pipe; in apply_single_controller_ctx_to_hw() 1551 odm_pipe = odm_pipe->next_odm_pipe; in apply_single_controller_ctx_to_hw()
|