/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | dc_common.c | 56 if (pipe_ctx->bottom_pipe && is_lower_pipe_tree_visible(pipe_ctx->bottom_pipe)) in is_lower_pipe_tree_visible() 76 if (pipe_ctx->bottom_pipe && is_lower_pipe_tree_visible(pipe_ctx->bottom_pipe)) in is_pipe_tree_visible()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 1553 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe->next_odm_pipe; in dcn30_split_stream_for_mpc_or_odm() 1571 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe; in dcn30_split_stream_for_mpc_or_odm() 1747 struct pipe_ctx *bottom_pipe = pipe->bottom_pipe; in dcn30_internal_validate_bw() local 1749 top_pipe->bottom_pipe = bottom_pipe; in dcn30_internal_validate_bw() 1750 if (bottom_pipe) in dcn30_internal_validate_bw() 1788 if (split[i] == 4 && old_pipe->bottom_pipe && old_pipe->bottom_pipe->bottom_pipe && in dcn30_internal_validate_bw() 1790 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn30_internal_validate_bw() 1831 else if (!odm && old_pipe->bottom_pipe && old_pipe->bottom_pipe->bottom_pipe && in dcn30_internal_validate_bw() 1832 old_pipe->bottom_pipe->bottom_pipe->bottom_pipe && in dcn30_internal_validate_bw() 1833 old_pipe->bottom_pipe->bottom_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.c | 1626 sec_pipe->bottom_pipe = pri_pipe->bottom_pipe; in dcn32_split_stream_for_mpc_or_odm() 1760 pipe->prev_odm_pipe->bottom_pipe->bottom_pipe = pipe->bottom_pipe; in dcn32_internal_validate_bw() 1764 pipe->prev_odm_pipe->bottom_pipe = pipe->bottom_pipe; in dcn32_internal_validate_bw() 1789 struct pipe_ctx *bottom_pipe = pipe->bottom_pipe; in dcn32_internal_validate_bw() local 1791 top_pipe->bottom_pipe = bottom_pipe; in dcn32_internal_validate_bw() 1831 if (split[i] == 4 && old_pipe->bottom_pipe && old_pipe->bottom_pipe->bottom_pipe && in dcn32_internal_validate_bw() 1833 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn32_internal_validate_bw() 1874 else if (!odm && old_pipe->bottom_pipe && old_pipe->bottom_pipe->bottom_pipe && in dcn32_internal_validate_bw() 1875 old_pipe->bottom_pipe->bottom_pipe->bottom_pipe && in dcn32_internal_validate_bw() 1876 old_pipe->bottom_pipe->bottom_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn32_internal_validate_bw() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 140 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp() 152 struct pipe_ctx *bottom_pipe = pipe->bottom_pipe; in dcn32_merge_pipes_for_subvp() local 154 top_pipe->bottom_pipe = bottom_pipe; in dcn32_merge_pipes_for_subvp() 155 if (bottom_pipe) in dcn32_merge_pipes_for_subvp() 156 bottom_pipe->top_pipe = top_pipe; in dcn32_merge_pipes_for_subvp() 159 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp()
|
H A D | dcn32_resource.c | 1669 curr_pipe = curr_pipe->bottom_pipe; in dcn32_enable_phantom_plane() 2600 if ((old_primary_pipe->next_odm_pipe) && (old_primary_pipe->next_odm_pipe->bottom_pipe) in find_idle_secondary_pipe_check_mpo() 2601 && (!primary_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() 2651 if (pipe->bottom_pipe && res_ctx->pipe_ctx[pipe->bottom_pipe->pipe_idx].stream == NULL) { in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2652 idle_pipe = &res_ctx->pipe_ctx[pipe->bottom_pipe->pipe_idx]; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 2653 idle_pipe->pipe_idx = pipe->bottom_pipe->pipe_idx; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.c | 1489 if (prev_odm_pipe->bottom_pipe && prev_odm_pipe->bottom_pipe->next_odm_pipe) { in dcn20_split_stream_for_odm() 1491 next_odm_pipe->bottom_pipe = prev_odm_pipe->bottom_pipe->next_odm_pipe; in dcn20_split_stream_for_odm() 1556 secondary_pipe->bottom_pipe = sec_bot_pipe; in dcn20_split_stream_for_mpc() 1566 if (primary_pipe->bottom_pipe && primary_pipe->bottom_pipe != secondary_pipe) { in dcn20_split_stream_for_mpc() 1567 ASSERT(!secondary_pipe->bottom_pipe); in dcn20_split_stream_for_mpc() 1568 secondary_pipe->bottom_pipe = primary_pipe->bottom_pipe; in dcn20_split_stream_for_mpc() 1792 odm_pipe->bottom_pipe = NULL; in dcn20_merge_pipes_for_validate() 1814 pipe->bottom_pipe = hsplit_pipe->bottom_pipe; in dcn20_merge_pipes_for_validate() 1815 if (hsplit_pipe->bottom_pipe) in dcn20_merge_pipes_for_validate() 1820 hsplit_pipe->bottom_pipe = NULL; in dcn20_merge_pipes_for_validate() [all …]
|
H A D | dcn20_hwseq.c | 616 pipe_ctx->bottom_pipe = NULL; in dcn20_plane_atomic_disable() 1240 temp_pipe = pipe->bottom_pipe; in dcn20_pipe_control_lock() 1244 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock() 1265 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock() 1272 if (lock && (pipe->bottom_pipe != NULL || !flip_immediate)) in dcn20_pipe_control_lock() 1280 temp_pipe = pipe->bottom_pipe; in dcn20_pipe_control_lock() 1284 temp_pipe = temp_pipe->bottom_pipe; in dcn20_pipe_control_lock() 1665 for (other_pipe = pipe->bottom_pipe; other_pipe != NULL; other_pipe = other_pipe->bottom_pipe) { in calculate_vready_offset_for_group() 1912 pipe = pipe->bottom_pipe; in dcn20_program_front_end_for_ctx() 2005 pipe = pipe->bottom_pipe; in dcn20_post_unlock_program_front_end()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 314 } else if (pipe->bottom_pipe != NULL && pipe->bottom_pipe->plane_state == pipe->plane_state) { in pipe_ctx_to_e2e_pipe_params() 542 if (primary_pipe->bottom_pipe) { in split_stream_across_pipes() 543 ASSERT(primary_pipe->bottom_pipe != secondary_pipe); in split_stream_across_pipes() 544 secondary_pipe->bottom_pipe = primary_pipe->bottom_pipe; in split_stream_across_pipes() 547 primary_pipe->bottom_pipe = secondary_pipe; in split_stream_across_pipes() 946 if (pipe->bottom_pipe && pipe->bottom_pipe->plane_state == pipe->plane_state) { in dcn_validate_bandwidth() 1235 struct pipe_ctx *hsplit_pipe = pipe->bottom_pipe; in dcn_validate_bandwidth() 1269 pipe->bottom_pipe = hsplit_pipe->bottom_pipe; in dcn_validate_bandwidth() 1270 if (hsplit_pipe->bottom_pipe) in dcn_validate_bandwidth() 1271 hsplit_pipe->bottom_pipe->top_pipe = pipe; in dcn_validate_bandwidth() [all …]
|
H A D | dce_calcs.c | 2805 if (!pipe[i].stream || !pipe[i].bottom_pipe) in populate_initial_data() 2882 …data->src_height[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.v… in populate_initial_data() 2883 …data->src_width[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.vi… in populate_initial_data() 2885 pipe[i].bottom_pipe->plane_state->plane_size.surface_pitch); in populate_initial_data() 2886 …data->h_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data() 2887 …data->v_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data() 2889 pipe[i].bottom_pipe->plane_res.scl_data.ratios.horz.value); in populate_initial_data() 2891 pipe[i].bottom_pipe->plane_res.scl_data.ratios.vert.value); in populate_initial_data() 2892 switch (pipe[i].bottom_pipe->plane_state->rotation) { in populate_initial_data() 2917 if (!pipe[i].stream || pipe[i].bottom_pipe) in populate_initial_data()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 742 other_pipe = other_pipe->bottom_pipe; in resource_get_num_mpc_splits() 1719 ASSERT(!pipe_ctx->bottom_pipe); in resource_is_pipe_type() 1790 tail_pipe = tail_pipe->bottom_pipe; in get_tail_pipe() 1808 split_pipe->top_pipe->bottom_pipe = split_pipe->bottom_pipe; in acquire_first_split_pipe() 1809 if (split_pipe->bottom_pipe) in acquire_first_split_pipe() 1854 tail_pipe->bottom_pipe = sec_pipe; in insert_secondary_dpp_pipe_with_plane() 1978 pipe_ctx->top_pipe->bottom_pipe = pipe_ctx->bottom_pipe; in dc_remove_plane_from_context() 3623 if (cur_pipe->bottom_pipe) in dc_resource_state_copy_construct() 3624 cur_pipe->bottom_pipe = &dst_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_resource_state_copy_construct() 4272 sec_bottom = sec_pipe->bottom_pipe; in dc_resource_acquire_secondary_pipe_for_mpc_odm() [all …]
|
H A D | dc_hw_sequencer.c | 589 current_mpc_pipe = current_mpc_pipe->bottom_pipe; in hwss_build_fast_sequence() 614 if (!current_mpc_pipe->bottom_pipe && !current_mpc_pipe->next_odm_pipe && in hwss_build_fast_sequence() 622 current_mpc_pipe = current_mpc_pipe->bottom_pipe; in hwss_build_fast_sequence() 836 while (bottom_pipe_ctx->bottom_pipe != NULL) in get_surface_tile_visual_confirm_color() 837 bottom_pipe_ctx = bottom_pipe_ctx->bottom_pipe; in get_surface_tile_visual_confirm_color()
|
H A D | dc.c | 2255 if (cur_pipe->bottom_pipe) in dc_copy_state() 2256 cur_pipe->bottom_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_copy_state() 3584 for (mpcc_pipe = top_pipe_to_program; mpcc_pipe; mpcc_pipe = mpcc_pipe->bottom_pipe) in commit_planes_for_stream() 3870 if (pipe_ctx->bottom_pipe || pipe_ctx->next_odm_pipe || in commit_planes_for_stream()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 676 if (subvp_pipe->bottom_pipe) { in populate_subvp_cmd_pipe_info() 677 pipe_data->pipe_config.subvp_data.main_split_pipe_index = subvp_pipe->bottom_pipe->pipe_idx; in populate_subvp_cmd_pipe_info() 690 if (phantom_pipe->bottom_pipe) { in populate_subvp_cmd_pipe_info() 691 …pipe_data->pipe_config.subvp_data.phantom_split_pipe_index = phantom_pipe->bottom_pipe->plane_res.… in populate_subvp_cmd_pipe_info()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | core_types.h | 392 struct pipe_ctx *bottom_pipe; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/ |
H A D | dce60_hw_sequencer.c | 312 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != 0; in dce60_program_front_end_for_pipe()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_hw_sequencer.c | 1591 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != NULL; in apply_single_controller_ctx_to_hw() 2377 if (pipe_ctx->bottom_pipe) { in program_surface_visibility() 2380 ASSERT(pipe_ctx->bottom_pipe->bottom_pipe == NULL); in program_surface_visibility() 2382 if (pipe_ctx->bottom_pipe->plane_state->visible) { in program_surface_visibility() 2730 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != NULL; in dce110_program_front_end_for_pipe()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer.c | 881 for (other_pipe = pipe->bottom_pipe; other_pipe != NULL; other_pipe = other_pipe->bottom_pipe) { in calculate_vready_offset_for_group() 1287 pipe_ctx->bottom_pipe = NULL; in dcn10_plane_atomic_disable() 2605 bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in dcn10_update_mpcc() 2682 pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in update_scaler() 3426 if ((pipe_ctx->top_pipe != NULL) || (pipe_ctx->bottom_pipe != NULL)) { in dcn10_set_cursor_position() 3566 if (pipe_ctx->bottom_pipe) { in dcn10_set_cursor_position() 3568 pipe_ctx->bottom_pipe->plane_res.scl_data.viewport.y; in dcn10_set_cursor_position()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_hwseq.c | 422 bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe; in dcn201_update_mpcc()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_resource.c | 849 struct pipe_ctx *mpo_pipe = pipe->bottom_pipe; in dcn21_fast_validate_bw() 873 struct pipe_ctx *hsplit_pipe = pipe->bottom_pipe; in dcn21_fast_validate_bw()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1584 …pipe_cnt].pipe.src.is_hsplit = (res_ctx->pipe_ctx[i].bottom_pipe && res_ctx->pipe_ctx[i].bottom_pi… in dcn20_populate_dml_pipes_from_context() 1648 struct pipe_ctx *split_pipe = res_ctx->pipe_ctx[i].bottom_pipe; in dcn20_populate_dml_pipes_from_context() 1652 split_pipe = split_pipe->bottom_pipe; in dcn20_populate_dml_pipes_from_context()
|