H A D | dc_resource.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 86 #define UNABLE_TO_SPLIT -1 196 struct resource_pool *dc_create_resource_pool(struct dc *dc, in dc_create_resource_pool() argument 206 init_data->num_virtual_links, dc); in dc_create_resource_pool() 210 init_data->num_virtual_links, dc); in dc_create_resource_pool() 214 init_data->num_virtual_links, dc); in dc_create_resource_pool() 319 dc_destroy_resource_pool(struct dc * dc) dc_destroy_resource_pool() argument 358 resource_construct(unsigned int num_virtual_links,struct dc * dc,struct resource_pool * pool,const struct resource_create_funcs * create_funcs) resource_construct() argument 846 const struct dc_stream_state *stream = pipe_ctx->stream; calculate_odm_slice_in_timing_active() local 935 const struct dc_stream_state *stream = pipe_ctx->stream; calculate_plane_rec_in_timing_active() local 964 const struct dc_stream_state *stream = pipe_ctx->stream; calculate_mpc_slice_in_timing_active() local 996 struct dc *dc = pipe_ctx->stream->ctx->dc; adjust_recout_for_visual_confirm() local 1179 const struct dc_stream_state *stream = pipe_ctx->stream; calculate_scaling_ratios() local 1543 resource_build_scaling_params_for_context(const struct dc * dc,struct dc_state * context) resource_build_scaling_params_for_context() argument 1752 resource_get_otg_master_for_stream(struct resource_context * res_ctx,struct dc_stream_state * stream) resource_get_otg_master_for_stream() argument 1799 acquire_first_split_pipe(struct resource_context * res_ctx,const struct resource_pool * pool,struct dc_stream_state * stream) acquire_first_split_pipe() argument 1908 dc_add_plane_to_context(const struct dc * dc,struct dc_stream_state * stream,struct dc_plane_state * plane_state,struct dc_state * context) dc_add_plane_to_context() argument 1909 dc_add_plane_to_context(const struct dc * dc,struct dc_stream_state * stream,struct dc_plane_state * plane_state,struct dc_state * context) dc_add_plane_to_context() argument 1949 dc_remove_plane_from_context(const struct dc * dc,struct dc_stream_state * stream,struct dc_plane_state * plane_state,struct dc_state * context) dc_remove_plane_from_context() argument 1950 dc_remove_plane_from_context(const struct dc * dc,struct dc_stream_state * stream,struct dc_plane_state * plane_state,struct dc_state * context) dc_remove_plane_from_context() argument 2034 dc_rem_all_planes_for_stream(const struct dc * dc,struct dc_stream_state * stream,struct dc_state * context) dc_rem_all_planes_for_stream() argument 2035 dc_rem_all_planes_for_stream(const struct dc * dc,struct dc_stream_state * stream,struct dc_state * context) dc_rem_all_planes_for_stream() argument 2066 add_all_planes_for_stream(const struct dc * dc,struct dc_stream_state * stream,const struct dc_validation_set set[],int set_count,struct dc_state * context) add_all_planes_for_stream() argument 2067 add_all_planes_for_stream(const struct dc * dc,struct dc_stream_state * stream,const struct dc_validation_set set[],int set_count,struct dc_state * context) add_all_planes_for_stream() argument 2091 dc_add_all_planes_for_stream(const struct dc * dc,struct dc_stream_state * stream,struct dc_plane_state * const * plane_states,int plane_count,struct dc_state * context) dc_add_all_planes_for_stream() argument 2092 dc_add_all_planes_for_stream(const struct dc * dc,struct dc_stream_state * stream,struct dc_plane_state * const * plane_states,int plane_count,struct dc_state * context) dc_add_all_planes_for_stream() argument 2155 dc_is_stream_unchanged(struct dc_stream_state * old_stream,struct dc_stream_state * stream) dc_is_stream_unchanged() argument 2177 dc_is_stream_scaling_unchanged(struct dc_stream_state * old_stream,struct dc_stream_state * stream) dc_is_stream_scaling_unchanged() argument 2280 add_hpo_dp_link_enc_to_ctx(struct resource_context * res_ctx,const struct resource_pool * pool,struct pipe_ctx * pipe_ctx,struct dc_stream_state * stream) add_hpo_dp_link_enc_to_ctx() argument 2302 remove_hpo_dp_link_enc_from_ctx(struct resource_context * res_ctx,struct pipe_ctx * pipe_ctx,struct dc_stream_state * stream) remove_hpo_dp_link_enc_from_ctx() argument 2331 acquire_first_free_pipe(struct resource_context * res_ctx,const struct resource_pool * pool,struct dc_stream_state * stream) acquire_first_free_pipe() argument 2367 find_first_free_match_hpo_dp_stream_enc_for_link(struct resource_context * res_ctx,const struct resource_pool * pool,struct dc_stream_state * stream) find_first_free_match_hpo_dp_stream_enc_for_link() argument 2385 find_first_free_audio(struct resource_context * res_ctx,const struct resource_pool * pool,enum engine_id id,enum dce_version dc_version) find_first_free_audio() argument 2421 dc_add_stream_to_ctx(struct dc * dc,struct dc_state * new_ctx,struct dc_stream_state * stream) dc_add_stream_to_ctx() argument 2423 dc_add_stream_to_ctx(struct dc * dc,struct dc_state * new_ctx,struct dc_stream_state * stream) dc_add_stream_to_ctx() argument 2448 dc_remove_stream_from_ctx(struct dc * dc,struct dc_state * new_ctx,struct dc_stream_state * stream) dc_remove_stream_from_ctx() argument 2450 dc_remove_stream_from_ctx(struct dc * dc,struct dc_state * new_ctx,struct dc_stream_state * stream) dc_remove_stream_from_ctx() argument 2581 calculate_phy_pix_clks(struct dc_stream_state * stream) calculate_phy_pix_clks() argument 2598 acquire_resource_from_hw_enabled_state(struct resource_context * res_ctx,const struct resource_pool * pool,struct dc_stream_state * stream) acquire_resource_from_hw_enabled_state() argument 2707 mark_seamless_boot_stream(const struct dc * dc,struct dc_stream_state * stream) mark_seamless_boot_stream() argument 2708 mark_seamless_boot_stream(const struct dc * dc,struct dc_stream_state * stream) mark_seamless_boot_stream() argument 2720 resource_map_pool_resources(const struct dc * dc,struct dc_state * context,struct dc_stream_state * stream) resource_map_pool_resources() argument 2722 resource_map_pool_resources(const struct dc * dc,struct dc_state * context,struct dc_stream_state * stream) resource_map_pool_resources() argument 2841 dc_resource_state_copy_construct_current(const struct dc * dc,struct dc_state * dst_ctx) dc_resource_state_copy_construct_current() argument 2849 dc_resource_state_construct(const struct dc * dc,struct dc_state * dst_ctx) dc_resource_state_construct() argument 2859 dc_resource_is_dsc_encoding_supported(const struct dc * dc) dc_resource_is_dsc_encoding_supported() argument 2868 planes_changed_for_existing_stream(struct dc_state * context,struct dc_stream_state * stream,const struct dc_validation_set set[],int set_count) planes_changed_for_existing_stream() argument 2922 dc_validate_with_context(struct dc * dc,const struct dc_validation_set set[],int set_count,struct dc_state * context,bool fast_validate) dc_validate_with_context() argument 2943 struct dc_stream_state *stream = context->streams[i]; dc_validate_with_context() local 2960 struct dc_stream_state *stream = set[i].stream; dc_validate_with_context() local 3106 dc_validate_global_state(struct dc * dc,struct dc_state * new_ctx,bool fast_validate) dc_validate_global_state() argument 3123 struct dc_stream_state *stream = new_ctx->streams[i]; dc_validate_global_state() local 3200 struct dc_stream_state *stream = pipe_ctx->stream; set_avi_info_frame() local 3477 set_vendor_info_packet(struct dc_info_packet * info_packet,struct dc_stream_state * stream) set_vendor_info_packet() argument 3492 set_spd_info_packet(struct dc_info_packet * info_packet,struct dc_stream_state * stream) set_spd_info_packet() argument 3507 set_hdr_static_info_packet(struct dc_info_packet * info_packet,struct dc_stream_state * stream) set_hdr_static_info_packet() argument 3520 set_vsc_info_packet(struct dc_info_packet * info_packet,struct dc_stream_state * stream) set_vsc_info_packet() argument 3529 set_hfvs_info_packet(struct dc_info_packet * info_packet,struct dc_stream_state * stream) set_hfvs_info_packet() argument 3567 set_adaptive_sync_info_packet(struct dc_info_packet * info_packet,const struct dc_stream_state * stream,struct encoder_info_frame * info_frame,struct _vcs_dpi_display_pipe_dest_params_st * pipe_dlg_param) set_adaptive_sync_info_packet() argument 3584 set_vtem_info_packet(struct dc_info_packet * info_packet,struct dc_stream_state * stream) set_vtem_info_packet() argument 3704 resource_map_clock_resources(const struct dc * dc,struct dc_state * context,struct dc_stream_state * stream) resource_map_clock_resources() argument 3706 resource_map_clock_resources(const struct dc * dc,struct dc_state * context,struct dc_stream_state * stream) resource_map_clock_resources() argument 3793 struct dc *dc = pipe_ctx_old->stream->ctx->dc; pipe_need_reprogram() local 3806 resource_build_bit_depth_reduction_params(struct dc_stream_state * stream,struct bit_depth_reduction_params * fmt_bit_depth) resource_build_bit_depth_reduction_params() argument 3932 dc_validate_stream(struct dc * dc,struct dc_stream_state * stream) dc_validate_stream() argument 3963 dc_validate_plane(struct dc * dc,const struct dc_plane_state * plane_state) dc_validate_plane() argument 4078 const struct dc *dc = link->dc; get_temp_dp_link_res() local 4092 reset_syncd_pipes_from_disabled_pipes(struct dc * dc,struct dc_state * context) reset_syncd_pipes_from_disabled_pipes() argument 4120 check_syncd_pipes_for_disabled_master_pipe(struct dc * dc,struct dc_state * context,uint8_t disabled_master_pipe_idx) check_syncd_pipes_for_disabled_master_pipe() argument 4154 reset_sync_context_for_pipe(const struct dc * dc,struct dc_state * context,uint8_t pipe_idx) reset_sync_context_for_pipe() argument 4171 resource_transmitter_to_phy_idx(const struct dc * dc,enum transmitter transmitter) resource_transmitter_to_phy_idx() argument 4238 is_h_timing_divisible_by_2(struct dc_stream_state * stream) is_h_timing_divisible_by_2() argument 4261 dc_resource_acquire_secondary_pipe_for_mpc_odm(const struct dc * dc,struct dc_state * state,struct pipe_ctx * pri_pipe,struct pipe_ctx * sec_pipe,bool odm) dc_resource_acquire_secondary_pipe_for_mpc_odm() argument 4312 update_dp_encoder_resources_for_test_harness(const struct dc * dc,struct dc_state * context,struct pipe_ctx * pipe_ctx) update_dp_encoder_resources_for_test_harness() argument [all...] |