| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_dpms.c | 157 struct pipe_ctx *pipes[MAX_PIPES]; in link_set_all_streams_dpms_off_for_link() 173 * current state results in the stream pointers in the pipe_ctx structs in link_set_all_streams_dpms_off_for_link() 187 * in pipe_ctx. Disable link phy here to make sure it is completely off in link_set_all_streams_dpms_off_for_link() 203 const struct pipe_ctx *pipe) in is_master_pipe_for_link() 216 struct pipe_ctx *pipes[MAX_PIPES]) in link_get_master_pipes_with_dpms_on() 219 struct pipe_ctx *pipe = NULL; in link_get_master_pipes_with_dpms_on() 223 pipe = &state->res_ctx.pipe_ctx[i]; in link_get_master_pipes_with_dpms_on() 531 static struct link_encoder *get_link_encoder(struct pipe_ctx *pipe_ctx) in get_link_encoder() argument 534 = pipe_ctx in get_link_encoder() 542 update_psp_stream_config(struct pipe_ctx * pipe_ctx,bool dpms_off) update_psp_stream_config() argument 646 set_avmute(struct pipe_ctx * pipe_ctx,bool enable) set_avmute() argument 694 dp_set_dsc_on_rx(struct pipe_ctx * pipe_ctx,bool enable) dp_set_dsc_on_rx() argument 707 dp_set_hblank_reduction_on_rx(struct pipe_ctx * pipe_ctx) dp_set_hblank_reduction_on_rx() argument 724 link_set_dsc_on_stream(struct pipe_ctx * pipe_ctx,bool enable) link_set_dsc_on_stream() argument 889 link_set_dsc_pps_packet(struct pipe_ctx * pipe_ctx,bool enable,bool immediate_update) link_set_dsc_pps_packet() argument 964 link_set_dsc_enable(struct pipe_ctx * pipe_ctx,bool enable) link_set_dsc_enable() argument 988 link_update_dsc_config(struct pipe_ctx * pipe_ctx) link_update_dsc_config() argument 1002 enable_stream_features(struct pipe_ctx * pipe_ctx) enable_stream_features() argument 1111 get_pbn_from_timing(struct pipe_ctx * pipe_ctx) get_pbn_from_timing() argument 1306 deallocate_mst_payload(struct pipe_ctx * pipe_ctx) deallocate_mst_payload() argument 1384 allocate_mst_payload(struct pipe_ctx * pipe_ctx) allocate_mst_payload() argument 1590 update_sst_payload(struct pipe_ctx * pipe_ctx,bool allocate) update_sst_payload() argument 1673 link_reduce_mst_payload(struct pipe_ctx * pipe_ctx,uint32_t bw_in_kbps) link_reduce_mst_payload() argument 1740 link_increase_mst_payload(struct pipe_ctx * pipe_ctx,uint32_t bw_in_kbps) link_increase_mst_payload() argument 1857 enable_link_hdmi(struct pipe_ctx * pipe_ctx) enable_link_hdmi() argument 1935 enable_link_hdmi_frl(struct pipe_ctx * pipe_ctx) enable_link_hdmi_frl() argument 2039 enable_link_dp(struct dc_state * state,struct pipe_ctx * pipe_ctx) enable_link_dp() argument 2163 enable_link_edp(struct dc_state * state,struct pipe_ctx * pipe_ctx) enable_link_edp() argument 2168 enable_link_lvds(struct pipe_ctx * pipe_ctx) enable_link_lvds() argument 2189 enable_link_dp_mst(struct dc_state * state,struct pipe_ctx * pipe_ctx) enable_link_dp_mst() argument 2216 enable_link_analog(struct pipe_ctx * pipe_ctx) enable_link_analog() argument 2226 enable_link_virtual(struct pipe_ctx * pipe_ctx) enable_link_virtual() argument 2240 enable_link(struct dc_state * state,struct pipe_ctx * pipe_ctx) enable_link() argument 2385 get_vpg(struct pipe_ctx * pipe_ctx) get_vpg() argument 2395 link_set_dpms_off(struct pipe_ctx * pipe_ctx) link_set_dpms_off() argument 2509 link_set_dpms_on_pre_enable_link(struct dc_state * state,struct pipe_ctx * pipe_ctx) link_set_dpms_on_pre_enable_link() argument 2660 link_set_dpms_on_enable_link(struct dc_state * state,struct pipe_ctx * pipe_ctx) link_set_dpms_on_enable_link() argument 2701 link_set_dpms_on_post_enable_link(struct dc_state * state,struct pipe_ctx * pipe_ctx) link_set_dpms_on_post_enable_link() argument 2788 link_set_dpms_on(struct dc_state * state,struct pipe_ctx * pipe_ctx) link_set_dpms_on() argument [all...] |
| H A D | link_hwss_hpo_frl.c | 29 static void setup_hpo_frl_stream_attribute(struct pipe_ctx *pipe_ctx) in setup_hpo_frl_stream_attribute() argument 31 struct hpo_frl_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_frl_stream_enc; in setup_hpo_frl_stream_attribute() 32 struct dc_stream_state *stream = pipe_ctx->stream; in setup_hpo_frl_stream_attribute() 33 struct pipe_ctx *odm_pipe; in setup_hpo_frl_stream_attribute() 37 for (odm_pipe = pipe_ctx->next_odm_pipe; odm_pipe; odm_pipe = odm_pipe->next_odm_pipe) in setup_hpo_frl_stream_attribute()
|
| H A D | link_resource.c | 36 struct pipe_ctx *pipe = NULL; in link_get_cur_link_res() 41 pipe = &link->dc->current_state->res_ctx.pipe_ctx[i]; in link_get_cur_link_res()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn50/ |
| H A D | dcn50_hwseq.c | 85 struct pipe_ctx *pipe_ctx, in dcn50_update_dchubp_dpp() argument 89 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn50_update_dchubp_dpp() 90 struct dpp *dpp = pipe_ctx->plane_res.dpp; in dcn50_update_dchubp_dpp() 91 struct dc_plane_state *plane_state = pipe_ctx->plane_state; in dcn50_update_dchubp_dpp() 94 enum mall_stream_type pipe_mall_type = dc_state_get_pipe_subvp_type(context, pipe_ctx); in dcn50_update_dchubp_dpp() 96 if (pipe_ctx->update_flags.bits.dppclk) in dcn50_update_dchubp_dpp() 99 if (pipe_ctx->update_flags.bits.enable) in dcn50_update_dchubp_dpp() 100 dccg->funcs->update_dpp_dto(dccg, dpp->inst, pipe_ctx->plane_res.bw.dppclk_khz); in dcn50_update_dchubp_dpp() 107 if (pipe_ctx in dcn50_update_dchubp_dpp() 256 dcn50_update_dchubp_dpp_sequence(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context,struct block_sequence_state * seq_state) dcn50_update_dchubp_dpp_sequence() argument 414 dcn50_update_mpcc_sequence(struct dc * dc,struct pipe_ctx * pipe_ctx,struct block_sequence_state * seq_state) dcn50_update_mpcc_sequence() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 746 const struct pipe_ctx *pipe_with_clk_src, in is_sharable_clk_src() 747 const struct pipe_ctx *pipe) in is_sharable_clk_src() 778 struct pipe_ctx *pipe_ctx) in resource_find_used_clk_src_for_sharing() 783 if (is_sharable_clk_src(&res_ctx->pipe_ctx[i], pipe_ctx)) in resource_find_used_clk_src_for_sharing() 784 return res_ctx->pipe_ctx[i].clock_source; in resource_find_used_clk_src_for_sharing() 930 struct pipe_ctx *pipe_ctx, in calculate_plane_rec_in_timing_active() 994 const struct dc_stream_state *stream = pipe_ctx in calculate_plane_rec_in_timing_active() 774 resource_find_used_clk_src_for_sharing(struct resource_context * res_ctx,struct pipe_ctx * pipe_ctx) resource_find_used_clk_src_for_sharing() argument 923 calculate_plane_rec_in_timing_active(struct pipe_ctx * pipe_ctx,const struct rect * rec_in) calculate_plane_rec_in_timing_active() argument 1013 calculate_mpc_slice_in_timing_active(struct pipe_ctx * pipe_ctx,struct rect * plane_clip_rec) calculate_mpc_slice_in_timing_active() argument 1048 calculate_adjust_recout_for_visual_confirm(struct pipe_ctx * pipe_ctx,unsigned int * base_offset,unsigned int * dpp_offset) calculate_adjust_recout_for_visual_confirm() argument 1069 reverse_adjust_recout_for_visual_confirm(struct rect * recout,struct pipe_ctx * pipe_ctx) reverse_adjust_recout_for_visual_confirm() argument 1080 adjust_recout_for_visual_confirm(struct rect * recout,struct pipe_ctx * pipe_ctx) adjust_recout_for_visual_confirm() argument 1095 calculate_recout(struct pipe_ctx * pipe_ctx) calculate_recout() argument 1251 calculate_scaling_ratios(struct pipe_ctx * pipe_ctx) calculate_scaling_ratios() argument 1367 calculate_inits_and_viewports(struct pipe_ctx * pipe_ctx) calculate_inits_and_viewports() argument 1565 resource_build_scaling_params(struct pipe_ctx * pipe_ctx) resource_build_scaling_params() argument 1764 resource_can_pipe_disable_cursor(struct pipe_ctx * pipe_ctx) resource_can_pipe_disable_cursor() argument 2065 resource_is_pipe_type(const struct pipe_ctx * pipe_ctx,enum pipe_type type) resource_is_pipe_type() argument 2172 resource_get_otg_master(const struct pipe_ctx * pipe_ctx) resource_get_otg_master() argument 2181 resource_get_opp_head(const struct pipe_ctx * pipe_ctx) resource_get_opp_head() argument 2205 resource_get_mpc_slice_index(const struct pipe_ctx * pipe_ctx) resource_get_mpc_slice_index() argument 2249 resource_get_odm_slice_index(const struct pipe_ctx * pipe_ctx) resource_get_odm_slice_index() argument 2303 resource_get_odm_slice_dst_rect(struct pipe_ctx * pipe_ctx) resource_get_odm_slice_dst_rect() argument 2322 resource_get_odm_slice_src_rect(struct pipe_ctx * pipe_ctx) resource_get_odm_slice_src_rect() argument 2816 add_hpo_frl_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_frl_link_enc_to_ctx() argument 2838 remove_hpo_frl_link_enc_from_ctx(struct resource_context * res_ctx,struct pipe_ctx * pipe_ctx,struct dc_stream_state * stream) remove_hpo_frl_link_enc_from_ctx() argument 2955 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 2977 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 3104 struct pipe_ctx *pipe_ctx = resource_get_otg_master_for_stream(&context->res_ctx, stream); swap_dio_link_enc_to_muxable_ctx() local 3114 add_dio_link_enc_to_ctx(const struct dc * dc,struct dc_state * context,const struct resource_pool * pool,struct pipe_ctx * pipe_ctx,struct dc_stream_state * stream) add_dio_link_enc_to_ctx() argument 3156 remove_dio_link_enc_from_ctx(struct resource_context * res_ctx,struct pipe_ctx * pipe_ctx,struct dc_stream_state * stream) remove_dio_link_enc_from_ctx() argument 3407 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; resource_remove_dpp_pipes_for_plane_composition() local 4024 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[tg_inst]; acquire_resource_from_hw_enabled_state() local 4148 struct pipe_ctx *pipe_ctx = NULL; acquire_otg_master_pipe_for_stream() local 4223 struct pipe_ctx *pipe_ctx = NULL; resource_map_pool_resources() local 4726 calculate_timing_params_for_dsc_with_padding(struct pipe_ctx * pipe_ctx) calculate_timing_params_for_dsc_with_padding() argument 4800 struct pipe_ctx *pipe_ctx = &new_ctx->res_ctx.pipe_ctx[j]; dc_validate_global_state() local 4871 set_avi_info_frame(struct dc_info_packet * info_packet,struct pipe_ctx * pipe_ctx) set_avi_info_frame() argument 5258 resource_build_info_frame(struct pipe_ctx * pipe_ctx) resource_build_info_frame() argument 5316 struct pipe_ctx *pipe_ctx = resource_get_otg_master_for_stream( resource_map_clock_resources() local 5357 pipe_need_reprogram(struct pipe_ctx * pipe_ctx_old,struct pipe_ctx * pipe_ctx) pipe_need_reprogram() argument 5746 struct pipe_ctx *pipe_ctx_old, *pipe_ctx, *pipe_ctx_syncd; reset_syncd_pipes_from_disabled_pipes() local 5775 struct pipe_ctx *pipe_ctx, *pipe_ctx_check; check_syncd_pipes_for_disabled_master_pipe() local 5979 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 6019 resource_get_dscl_prog_data(struct pipe_ctx * pipe_ctx) resource_get_dscl_prog_data() argument [all...] |
| H A D | dc_surface.c | 74 struct pipe_ctx *pipe_ctx = &dc_state->res_ctx.pipe_ctx[i]; in dc_plane_get_pipe_mask() local 76 if (pipe_ctx->plane_state == plane_state && pipe_ctx->plane_res.hubp) in dc_plane_get_pipe_mask() 77 pipe_mask |= (uint8_t)(1 << pipe_ctx->plane_res.hubp->inst); in dc_plane_get_pipe_mask() 134 struct pipe_ctx *pipe_ctx = in dc_plane_get_status() local 135 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_plane_get_status() 137 if (pipe_ctx->plane_state != plane_state) in dc_plane_get_status() 140 if (pipe_ctx->plane_state && flags.bits.address) in dc_plane_get_status() 141 pipe_ctx->plane_state->status.is_flip_pending = false; in dc_plane_get_status() 142 if (pipe_ctx->plane_state && flags.bits.histogram) in dc_plane_get_status() 143 memset(&pipe_ctx->plane_state->status.cm_hist, 0, in dc_plane_get_status() [all …]
|
| H A D | dc.c | 148 * struct pipe_ctx - A member of struct resource_context. Represents the 436 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in set_long_vtotal() 473 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_last_used_drr_vtotal() 534 struct pipe_ctx *pipe; in dc_stream_forward_crc_window() 539 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_forward_crc_window() 600 struct pipe_ctx *pipe; in dc_stream_forward_multiple_crc_window() 605 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_forward_multiple_crc_window() 650 struct pipe_ctx *pip in dc_stream_configure_crc() 749 struct pipe_ctx *pipe_ctx; dc_stream_set_dyn_expansion() local 1216 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; apply_ctx_interdependent_lock() local 1229 dc_update_visual_confirm_color(struct dc * dc,struct dc_state * context,struct pipe_ctx * pipe_ctx) dc_update_visual_confirm_color() argument 1278 struct pipe_ctx *pipe_ctx; dc_get_visual_confirm_for_stream() local 2144 should_update_pipe_for_stream(struct dc_state * context,struct pipe_ctx * pipe_ctx,struct dc_stream_state * stream) should_update_pipe_for_stream() argument 2152 should_update_pipe_for_plane(struct dc_state * context,struct pipe_ctx * pipe_ctx,struct dc_plane_state * plane_state) should_update_pipe_for_plane() argument 2818 const struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; is_surface_in_context() local 3871 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; update_planes_and_stream_state() local 4018 add_update_info_frame_sequence(struct block_sequence_state * seq_state,struct pipe_ctx * pipe_ctx) add_update_info_frame_sequence() argument 4061 add_link_update_dsc_config_sequence(struct block_sequence_state * seq_state,struct pipe_ctx * pipe_ctx,struct dsc_config * dsc_cfg,struct dsc_optc_config * dsc_optc_cfg) add_link_update_dsc_config_sequence() argument 4184 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_do_stream_update_sequence() local 4367 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_do_stream_update() local 4576 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; dc_dmub_update_dirty_rect() local 4638 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; build_dmub_update_dirty_rect() local 4721 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_plane_for_stream_offload_fams2_flip() local 4808 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream_fast() local 5042 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream() local 5062 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream() local 5084 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream() local 5108 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream() local 5131 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream() local 5159 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream() local 5178 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream() local 5282 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; commit_planes_for_stream() local 5469 struct pipe_ctx *pipe_ctx; swap_and_release_current_context() local 6469 struct pipe_ctx *pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; dc_get_flip_pending_on_otg() local 7017 struct pipe_ctx *pipe_ctx = NULL; dc_smart_power_oled_enable() local 7589 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; dc_capture_register_software_state() local 7735 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; dc_capture_register_software_state() local 7776 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; dc_capture_register_software_state() local 7803 struct pipe_ctx *pipe_ctx = (i < dc->res_pool->pipe_count) ? &res_ctx->pipe_ctx[i] : NULL; dc_capture_register_software_state() local 7818 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[pipe_idx]; dc_capture_register_software_state() local 7834 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; dc_capture_register_software_state() local 7862 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; dc_capture_register_software_state() local 7930 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; dc_capture_register_software_state() local 8048 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; dc_capture_register_software_state() local [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/ |
| H A D | dcn60_hwseq.c | 179 const struct pipe_ctx *pipe_ctx, in dcn60_apply_single_controller_ctx_to_hw() 182 const struct dc_stream_state *stream = pipe_ctx->stream; in dcn60_apply_single_controller_ctx_to_hw() 183 audio_output->engine_id = pipe_ctx->stream_res.stream_enc->id; in dcn60_apply_single_controller_ctx_to_hw() 185 audio_output->signal = pipe_ctx->stream->signal; in dcn60_apply_single_controller_ctx_to_hw() 219 pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz; in dcn60_apply_single_controller_ctx_to_hw() 222 pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz; in dcn60_apply_single_controller_ctx_to_hw() 234 if (dc_is_hdmi_tmds_signal(pipe_ctx->stream->signal) && in dcn60_apply_single_controller_ctx_to_hw() 237 if (pipe_ctx->stream_res.pix_clk_params.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dcn60_apply_single_controller_ctx_to_hw() 241 pipe_ctx in dcn60_apply_single_controller_ctx_to_hw() 57 dcn60_build_audio_output(struct dc_state * state,const struct pipe_ctx * pipe_ctx,struct audio_output * audio_output) dcn60_build_audio_output() argument 177 dcn60_apply_single_controller_ctx_to_hw(struct pipe_ctx * pipe_ctx,struct dc_state * context,struct dc * dc) dcn60_apply_single_controller_ctx_to_hw() argument 346 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; dcn60_setup_audio_dto() local 397 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; dcn60_setup_audio_dto() local 480 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; dcn60_apply_ctx_to_hw() local 506 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; dcn60_apply_ctx_to_hw() local 773 dcn60_set_cursor_attribute(struct pipe_ctx * pipe_ctx) dcn60_set_cursor_attribute() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | link_hwss.h | 38 struct pipe_ctx; 49 void (*set_hblank_min_symbol_width)(struct pipe_ctx *pipe_ctx, 52 void (*set_throttled_vcp_size)(struct pipe_ctx *pipe_ctx, 77 void (*setup_stream_encoder)(struct pipe_ctx *pipe_ctx); 78 void (*reset_stream_encoder)(struct pipe_ctx *pipe_ctx); 79 void (*setup_stream_attribute)(struct pipe_ctx *pipe_ctx); 83 void (*setup_audio_output)(struct pipe_ctx *pipe_ctx, 85 void (*enable_audio_packet)(struct pipe_ctx *pipe_ctx); 86 void (*disable_audio_packet)(struct pipe_ctx *pipe_ctx);
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/ |
| H A D | dcn201_hwseq.h | 31 void dcn201_set_dmdata_attributes(struct pipe_ctx *pipe_ctx); 33 void dcn201_unblank_stream(struct pipe_ctx *pipe_ctx, 35 void dcn201_update_plane_addr(const struct dc *dc, struct pipe_ctx *pipe_ctx); 36 void dcn201_prepare_plane_addr_update(const struct dc *dc, struct pipe_ctx *pipe_ctx, 38 void dcn201_plane_atomic_disconnect(struct dc *dc, struct dc_state *state, struct pipe_ctx *pipe_ctx); [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | |
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 610 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i_pipe]; in dcn30_program_all_writeback_pipes_in_tree() 612 if (!pipe_ctx->plane_state) in dcn30_program_all_writeback_pipes_in_tree() 615 if (pipe_ctx->plane_state == wb_info.writeback_source_plane) { in dcn30_program_all_writeback_pipes_in_tree() local 616 wb_info.mpcc_inst = pipe_ctx->plane_res.mpcc_inst; in dcn30_program_all_writeback_pipes_in_tree() 837 void dcn30_set_avmute(struct pipe_ctx *pipe_ctx, bool enable) in dcn30_init_hw() 839 if (pipe_ctx == NULL) in dcn30_init_hw() 842 if (dc_is_hdmi_frl_signal(pipe_ctx argument 237 dcn30_set_blend_lut(struct pipe_ctx * pipe_ctx,const struct dc_plane_state * plane_state) dcn30_set_blend_lut() argument 318 dcn30_set_input_transfer_func(struct dc * dc,struct pipe_ctx * pipe_ctx,const struct dc_plane_state * plane_state) dcn30_set_input_transfer_func() argument 873 dcn30_update_info_frame(struct pipe_ctx * pipe_ctx) dcn30_update_info_frame() argument 912 dcn30_program_dmdata_engine(struct pipe_ctx * pipe_ctx) dcn30_program_dmdata_engine() argument 1240 dcn30_set_disp_pattern_generator(const struct dc * dc,struct pipe_ctx * pipe_ctx,enum controller_dp_test_pattern test_pattern,enum controller_dp_color_space color_space,enum dc_color_depth color_depth,const struct tg_color * solid_color,int width,int height,int offset) dcn30_set_disp_pattern_generator() argument 1274 dcn30_wait_for_all_pending_updates(const struct pipe_ctx * pipe_ctx) dcn30_wait_for_all_pending_updates() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
| H A D | link_hwss_virtual.h | 30 void virtual_setup_stream_encoder(struct pipe_ctx *pipe_ctx); 31 void virtual_setup_stream_attribute(struct pipe_ctx *pipe_ctx); 32 void virtual_reset_stream_encoder(struct pipe_ctx *pipe_ctx);
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | dc_common.h | 33 bool is_lower_pipe_tree_visible(struct pipe_ctx *pipe_ctx); 35 bool is_upper_pipe_tree_visible(struct pipe_ctx *pipe_ctx); 37 bool is_pipe_tree_visible(struct pipe_ctx *pipe_ctx);
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_debugfs.c | 1312 struct pipe_ctx *pipe_ctx = NULL; in odm_combine_segments_show() 1316 pipe_ctx = &link->dc->current_state->res_ctx.pipe_ctx[i]; 1317 if (pipe_ctx->stream && 1318 pipe_ctx->stream->link == link) 1325 if (pipe_ctx && pipe_ctx->stream_res.tg && 1326 pipe_ctx->stream_res.tg->funcs->get_odm_combine_segments) 1327 pipe_ctx 1294 struct pipe_ctx *pipe_ctx = NULL; odm_combine_segments_show() local 1569 struct pipe_ctx *pipe_ctx; dp_dsc_clock_en_read() local 1648 struct pipe_ctx *pipe_ctx; dp_dsc_clock_en_write() local 1755 struct pipe_ctx *pipe_ctx; dp_dsc_slice_width_read() local 1828 struct pipe_ctx *pipe_ctx; dp_dsc_slice_width_write() local 1939 struct pipe_ctx *pipe_ctx; dp_dsc_slice_height_read() local 2016 struct pipe_ctx *pipe_ctx; dp_dsc_slice_height_write() local 2119 struct pipe_ctx *pipe_ctx; dp_dsc_bits_per_pixel_read() local 2193 struct pipe_ctx *pipe_ctx; dp_dsc_bits_per_pixel_write() local 2294 struct pipe_ctx *pipe_ctx; dp_dsc_pic_width_read() local 2348 struct pipe_ctx *pipe_ctx; dp_dsc_pic_height_read() local 2417 struct pipe_ctx *pipe_ctx; dp_dsc_chunk_size_read() local 2486 struct pipe_ctx *pipe_ctx; dp_dsc_slice_bpg_offset_read() local [all...] |
| H A D | amdgpu_dm_helpers.c | 1552 struct pipe_ctx *pipes = link->dc->current_state->res_ctx.pipe_ctx; in dm_helpers_dp_handle_test_pattern_request() 1553 struct pipe_ctx *pipe_ctx = NULL; in dm_helpers_dp_handle_test_pattern_request() 1566 pipe_ctx = &pipes[i]; in dm_helpers_dp_handle_test_pattern_request() 1571 if (pipe_ctx == NULL) in dm_helpers_dp_handle_test_pattern_request() 1632 && pipe_ctx->stream->timing.display_color_depth != requestColorDepth) in dm_helpers_enable_periodic_detection() 1634 && pipe_ctx->stream->timing.pixel_encoding != requestPixelEncoding)) { in dm_helpers_enable_periodic_detection() 1637 pipe_ctx->stream->timing.display_color_depth, 1638 pipe_ctx 1494 struct pipe_ctx *pipe_ctx = NULL; dm_helpers_dp_handle_test_pattern_request() local [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_spl_translate.h | 15 void translate_SPL_in_params_from_pipe_ctx(struct pipe_ctx *pipe_ctx, struct spl_in *spl_in); 21 void translate_SPL_out_params_to_pipe_ctx(struct pipe_ctx *pipe_ctx, struct spl_out *spl_out);
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
| H A D | dcn314_hwseq.h | 34 void dcn314_update_odm(struct dc *dc, struct dc_state *context, struct pipe_ctx *pipe_ctx); 40 unsigned int dcn314_calculate_dccg_k1_k2_values(struct pipe_ctx *pipe_ctx, unsigned int *k1_div, un…
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/ |
| H A D | dcn60_resource.c | 887 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[pipe_idx]; in build_mcache_pipe_regs_config() 888 if (get_plane_index(context, pipe_ctx->plane_state, &plane_idx) && pipe_ctx->plane_res.hubp) { in build_mcache_pipe_regs_config() 889 reset_mcache_allocations(&pipe_ctx->mcache_regs); in build_mcache_pipe_regs_config() 890 if (pipe_ctx->plane_state->dcc.enable) { in build_mcache_pipe_regs_config() 895 pipe_ctx->plane_res.scl_data.viewport.x, in build_mcache_pipe_regs_config() 896 pipe_ctx->plane_res.scl_data.viewport.x + in build_mcache_pipe_regs_config() 897 pipe_ctx in build_mcache_pipe_regs_config() 883 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[pipe_idx]; build_mcache_pipe_regs_config() local 981 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[pipe_idx]; dcn50_program_mcache_pipe_config() local 1839 dcn60_build_pipe_pix_clk_params(struct pipe_ctx * pipe_ctx) dcn60_build_pipe_pix_clk_params() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| H A D | link_edp_panel_control.c | 528 static struct pipe_ctx *get_pipe_from_link(const struct dc_link *link) in get_pipe_from_link() 532 struct pipe_ctx *pipe_ctx = NULL; in get_pipe_from_link() local 535 if (dc->current_state->res_ctx.pipe_ctx[i].stream) { in get_pipe_from_link() 536 if (dc->current_state->res_ctx.pipe_ctx[i].stream->link == link) { in get_pipe_from_link() 537 pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in get_pipe_from_link() 543 return pipe_ctx; in get_pipe_from_link() 557 struct pipe_ctx *pipe_ctx in edp_set_backlight_level() local 1193 struct pipe_ctx *pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; get_abm_from_stream_res() local 1280 edp_set_panel_assr(struct dc_link * link,struct pipe_ctx * pipe_ctx,enum dp_panel_mode * panel_mode,bool enable) edp_set_panel_assr() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 1816 struct pipe_ctx *curr_pipe = &context->res_ctx.pipe_ctx[dc_pipe_idx]; in dcn32_enable_phantom_plane() 1861 struct pipe_ctx *ref_pipe = &context->res_ctx.pipe_ctx[dc_pipe_idx]; in dcn32_enable_phantom_stream() 1900 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn32_add_phantom_pipes() 2057 struct pipe_ctx *pipe = NULL; in dcn32_populate_dml_pipes_from_context() 2089 pipe = &res_ctx->pipe_ctx[i]; in dcn32_populate_dml_pipes_from_context() 2090 if (!res_ctx->pipe_ctx[i].stream) in dcn32_populate_dml_pipes_from_context() 2104 if (!res_ctx->pipe_ctx[ in dcn32_populate_dml_pipes_from_context() [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/ |
| H A D | dcn35_clk_mgr.c | 199 struct pipe_ctx *old_pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn35_disable_otg_wa() 200 struct pipe_ctx *new_pipe = &context->res_ctx.pipe_ctx[i]; in dcn35_disable_otg_wa() 203 struct pipe_ctx *pipe = safe_to_lower in dcn35_disable_otg_wa() 204 ? &context->res_ctx.pipe_ctx[i] in dcn35_disable_otg_wa() 205 : &dc->current_state->res_ctx.pipe_ctx[i]; in dcn35_disable_otg_wa() 265 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[ in dcn35_update_clocks_update_dtb_dto() local [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
| H A D | dce110_resource.h | 41 void dce110_resource_build_pipe_hw_param(struct pipe_ctx *pipe_ctx);
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
| H A D | dcn30_resource.c | 1492 if (!res_ctx->pipe_ctx[i].stream) in dcn30_populate_dml_pipes_from_context() 1549 if (!context->res_ctx.pipe_ctx[i].stream) in dcn30_set_mcif_arb_params() 1553 …struct dc_writeback_info *writeback_info = &context->res_ctx.pipe_ctx[i].stream->writeback_info[j]; in dcn30_set_mcif_arb_params() 1570 …wb_arb_params->time_per_pixel = (1000000 << 6) / context->res_ctx.pipe_ctx[i].stream->phy_pix_clk;… in dcn30_set_mcif_arb_params() 1684 struct pipe_ctx *pri_pipe, in dcn30_split_stream_for_mpc_or_odm() 1685 struct pipe_ctx *sec_pipe, in dcn30_split_stream_for_mpc_or_odm() 1743 static struct pipe_ctx *dcn30_find_split_pipe( in dcn30_find_split_pipe() 1748 struct pipe_ctx *pipe = NULL; in dcn30_find_split_pipe() 1751 if (old_index >= 0 && context->res_ctx.pipe_ctx[old_index].stream == NULL) { in dcn30_find_split_pipe() 1752 pipe = &context->res_ctx.pipe_ctx[old_index]; in dcn30_find_split_pipe() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/ |
| H A D | dcn60_clk_mgr.c | 171 static bool dcn60_check_native_scaling(struct pipe_ctx *pipe) in dcn60_check_native_scaling() 195 dppclk_khz = context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz; in dcn60_update_clocks_update_dpp_dto() 197 if (context->res_ctx.pipe_ctx[i].plane_res.dpp) in dcn60_update_clocks_update_dpp_dto() 198 dpp_inst = context->res_ctx.pipe_ctx[i].plane_res.dpp->inst; in dcn60_update_clocks_update_dpp_dto() 199 else if (!context->res_ctx.pipe_ctx[i].plane_res.dpp && dppclk_khz == 0) { in dcn60_update_clocks_update_dpp_dto() 204 } else if (!context->res_ctx.pipe_ctx[i].plane_res.dpp && dppclk_khz > 0) { in dcn60_update_clocks_update_dpp_dto() 252 struct pipe_ctx *otg_master; in dcn60_update_clocks_update_dtb_dto() 298 struct pipe_ctx *otg_master; in dcn60_build_update_display_clocks_sequence() 1061 struct pipe_ctx *pipe_ctx_list[MAX_PIPES]; in dcn60_make_bandwidth_clocks_update_action() 1065 struct pipe_ctx *pipe_ct in dcn60_make_bandwidth_clocks_update_action() 840 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; dcn60_auto_dpm_test_log() local [all...] |