Home
last modified time | relevance | path

Searched refs:stream_enc (Results 1 - 25 of 67) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dio.c32 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in set_dio_throttled_vcp_size()
42 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in setup_dio_stream_encoder() local
45 pipe_ctx->stream_res.stream_enc->id, true); in setup_dio_stream_encoder()
49 if (stream_enc->funcs->map_stream_to_link) in setup_dio_stream_encoder()
50 stream_enc->funcs->map_stream_to_link(stream_enc, in setup_dio_stream_encoder()
51 stream_enc->stream_enc_inst, link_enc->transmitter - TRANSMITTER_UNIPHY_A); in setup_dio_stream_encoder()
52 if (stream_enc->funcs->enable_fifo) in setup_dio_stream_encoder()
53 stream_enc in setup_dio_stream_encoder()
59 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; reset_dio_stream_encoder() local
[all...]
H A Dlink_hwss_hpo_dp.c74 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in setup_hpo_dp_stream_encoder() local
77 stream_enc->funcs->enable_stream(stream_enc); in setup_hpo_dp_stream_encoder()
78 stream_enc->funcs->map_stream_to_link(stream_enc, stream_enc->inst, link_enc->inst); in setup_hpo_dp_stream_encoder()
83 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in reset_hpo_dp_stream_encoder() local
85 stream_enc->funcs->disable(stream_enc); in reset_hpo_dp_stream_encoder()
90 struct hpo_dp_stream_encoder *stream_enc in setup_hpo_dp_stream_attribute() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_hwss.c338 pipes[i].stream_res.stream_enc != NULL && in dp_retrain_link_dp_test()
342 pipes[i].stream_res.stream_enc->funcs->dp_blank( in dp_retrain_link_dp_test()
343 pipes[i].stream_res.stream_enc); in dp_retrain_link_dp_test()
384 pipes[i].stream_res.stream_enc->funcs-> in dp_retrain_link_dp_test()
386 pipes[i].stream_res.stream_enc, false); in dp_retrain_link_dp_test()
472 DC_LOG_DSC("Setting stream encoder DSC config for engine %d:", (int)pipe_ctx->stream_res.stream_enc->id); in dp_set_dsc_on_stream()
474 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc, in dp_set_dsc_on_stream()
499 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config( in dp_set_dsc_on_stream()
500 pipe_ctx->stream_res.stream_enc, in dp_set_dsc_on_stream()
[all...]
H A Ddc_link.c2262 eng_id = pipe_ctx->stream_res.stream_enc->id; in enable_link_hdmi()
2851 struct stream_encoder *stream_enc, in update_mst_stream_alloc_table()
2886 work_table[i].stream_enc = stream_enc; in update_mst_stream_alloc_table()
2906 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in dc_link_allocate_mst_payload()
2917 * stream_enc is available. in dc_link_allocate_mst_payload()
2927 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in dc_link_allocate_mst_payload()
2941 DC_LOG_MST("stream_enc[%d]: %p " in dc_link_allocate_mst_payload()
2945 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in dc_link_allocate_mst_payload()
2989 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in deallocate_mst_payload()
2849 update_mst_stream_alloc_table( struct dc_link *link, struct stream_encoder *stream_enc, const struct dp_mst_stream_allocation_table *proposed_table) update_mst_stream_alloc_table() argument
[all...]
H A Ddc_resource.c321 pool->stream_enc[i] = create_funcs->create_stream_encoder(i, ctx); in resource_construct()
322 if (pool->stream_enc[i] == NULL) in resource_construct()
343 pool->stream_enc[pool->stream_enc_count] = in resource_construct()
346 if (pool->stream_enc[pool->stream_enc_count] == NULL) { in resource_construct()
1479 free_pipe->stream_res.stream_enc = tail_pipe->stream_res.stream_enc; in dc_add_plane_to_context()
1742 struct stream_encoder *stream_enc, in update_stream_engine_usage()
1748 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage()
1877 ASSERT(del_pipe->stream_res.stream_enc); in dc_remove_stream_from_ctx()
1739 update_stream_engine_usage( struct resource_context *res_ctx, const struct resource_pool *pool, struct stream_encoder *stream_enc, bool acquired) update_stream_engine_usage() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_hwss_hpo_frl.c31 struct hpo_frl_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_frl_stream_enc; in setup_hpo_frl_stream_attribute() local
40 stream_enc->funcs->hdmi_frl_set_stream_attribute( in setup_hpo_frl_stream_attribute()
41 stream_enc, in setup_hpo_frl_stream_attribute()
H A Dlink_dpms.c132 if (fe == dc->res_pool->stream_enc[j]->id) { in link_blank_dp_stream()
133 dc->res_pool->stream_enc[j]->funcs->dp_blank(link, in link_blank_dp_stream()
134 dc->res_pool->stream_enc[j]); in link_blank_dp_stream()
669 config.dig_fe = (uint8_t) pipe_ctx->stream_res.stream_enc->stream_enc_inst; in update_psp_stream_config()
672 config.stream_enc_idx = pipe_ctx->stream_res.stream_enc->id - ENGINE_ID_DIGA; in update_psp_stream_config()
816 DC_LOG_DSC("Setting stream encoder DSC config for engine %d:", (int)pipe_ctx->stream_res.stream_enc->id); in link_set_dsc_on_stream()
818 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc, in link_set_dsc_on_stream()
848 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config( in link_set_dsc_on_stream()
849 pipe_ctx->stream_res.stream_enc, in link_set_dsc_on_stream()
1175 update_mst_stream_alloc_table( struct dc_link *link, struct stream_encoder *stream_enc, struct hpo_dp_stream_encoder *hpo_dp_stream_enc, const struct dc_dp_mst_stream_allocation_table *proposed_table) update_mst_stream_alloc_table() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hwseq.c543 if (fe == dc->res_pool->stream_enc[j]->id) { in dcn30_init_hw()
544 dc->res_pool->stream_enc[j]->funcs->dp_blank( in dcn30_init_hw()
545 dc->res_pool->stream_enc[j]); in dcn30_init_hw()
644 if (dc_is_hdmi_tmds_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL) in dcn30_set_avmute()
645 pipe_ctx->stream_res.stream_enc->funcs->set_avmute( in dcn30_set_avmute()
646 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute()
657 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn30_update_info_frame()
667 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn30_update_info_frame()
668 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
671 pipe_ctx->stream_res.stream_enc in dcn30_update_info_frame()
681 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; dcn30_program_dmdata_engine() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_hwseq.c96 if (dc->debug.enable_mem_low_power.bits.vpg && dc->res_pool->stream_enc[0]->vpg->funcs->vpg_powerdown) { in enable_memory_low_power()
99 dc->res_pool->stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->stream_enc[i]->vpg); in enable_memory_low_power()
381 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn31_update_info_frame()
391 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn31_update_info_frame()
392 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
400 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dcn31_update_info_frame()
401 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dcn31_update_info_frame()
402 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
405 pipe_ctx->stream_res.stream_enc in dcn31_update_info_frame()
[all...]
H A Ddcn31_hpo_dp_link_encoder.c270 const struct hpo_dp_stream_encoder *stream_enc = stream_allocation->hpo_dp_stream_enc; in fill_stream_allocation_row_info() local
272 if (stream_enc && (stream_enc->id >= ENGINE_ID_HPO_DP_0)) { in fill_stream_allocation_row_info()
273 *src = stream_enc->id - ENGINE_ID_HPO_DP_0; in fill_stream_allocation_row_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c636 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame()
646 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame()
647 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
650 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame()
651 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
672 pipe_ctx->stream_res.stream_enc->id, true); in dce110_enable_stream()
693 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dce110_enable_stream()
1043 pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control( in dce110_enable_audio_stream()
1044 pipe_ctx->stream_res.stream_enc, fals in dce110_enable_audio_stream()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.c156 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_update_clocks_update_dentist() local
163 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn20_update_clocks_update_dentist()
165 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn20_update_clocks_update_dentist()
166 stream_enc); in dcn20_update_clocks_update_dentist()
186 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_update_clocks_update_dentist() local
194 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn20_update_clocks_update_dentist()
196 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn20_update_clocks_update_dentist()
197 stream_enc); in dcn20_update_clocks_update_dentist()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hwseq.c622 if (dc_is_hdmi_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL) in dcn30_set_avmute()
623 pipe_ctx->stream_res.stream_enc->funcs->set_avmute( in dcn30_set_avmute()
624 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute()
635 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn30_update_info_frame()
645 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn30_update_info_frame()
646 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
649 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dcn30_update_info_frame()
650 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dcn30_update_info_frame()
651 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
654 pipe_ctx->stream_res.stream_enc in dcn30_update_info_frame()
665 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; dcn30_program_dmdata_engine() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c638 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame()
648 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame()
649 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
652 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dce110_update_info_frame()
653 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dce110_update_info_frame()
654 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
657 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame()
658 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
1157 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dce110_disable_stream() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.c354 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn32_update_clocks_update_dentist() local
361 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn32_update_clocks_update_dentist()
363 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn32_update_clocks_update_dentist()
364 stream_enc); in dcn32_update_clocks_update_dentist()
399 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn32_update_clocks_update_dentist() local
407 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn32_update_clocks_update_dentist()
409 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn32_update_clocks_update_dentist()
410 stream_enc); in dcn32_update_clocks_update_dentist()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn302/
H A Ddcn302_resource.c990 if (pool->stream_enc[i] != NULL) { in dcn302_resource_destruct()
991 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
992 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
993 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
995 if (pool->stream_enc[i]->afmt != NULL) { in dcn302_resource_destruct()
996 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn302_resource_destruct()
997 pool->stream_enc[i]->afmt = NULL; in dcn302_resource_destruct()
999 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn302_resource_destruct()
1000 pool->stream_enc[i] = NULL; in dcn302_resource_destruct()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn303/
H A Ddcn303_resource.c916 if (pool->stream_enc[i] != NULL) { in dcn303_resource_destruct()
917 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct()
918 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct()
919 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()
921 if (pool->stream_enc[i]->afmt != NULL) { in dcn303_resource_destruct()
922 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn303_resource_destruct()
923 pool->stream_enc[i]->afmt = NULL; in dcn303_resource_destruct()
925 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn303_resource_destruct()
926 pool->stream_enc[i] = NULL; in dcn303_resource_destruct()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_hwseq.c381 if (!pipe_ctx || !pipe_ctx->stream || !pipe_ctx->stream_res.stream_enc) in dcn314_set_pixels_per_cycle()
388 if (pipe_ctx->stream_res.stream_enc->funcs->set_input_mode) in dcn314_set_pixels_per_cycle()
389 pipe_ctx->stream_res.stream_enc->funcs->set_input_mode(pipe_ctx->stream_res.stream_enc, in dcn314_set_pixels_per_cycle()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/
H A Ddce100_resource.c797 if (pool->base.stream_enc[i] != NULL) in dce100_resource_destruct()
798 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce100_resource_destruct()
943 pool->stream_enc[i]) { in dce100_find_first_free_match_stream_enc_for_link()
948 if (pool->stream_enc[i]->id == in dce100_find_first_free_match_stream_enc_for_link()
950 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link()
968 return pool->stream_enc[j]; in dce100_find_first_free_match_stream_enc_for_link()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce100/
H A Ddce100_resource.c795 if (pool->base.stream_enc[i] != NULL) in dce100_resource_destruct()
796 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce100_resource_destruct()
941 pool->stream_enc[i]) { in dce100_find_first_free_match_stream_enc_for_link()
946 if (pool->stream_enc[i]->id == in dce100_find_first_free_match_stream_enc_for_link()
948 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link()
966 return pool->stream_enc[j]; in dce100_find_first_free_match_stream_enc_for_link()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c400 pool->stream_enc[i] = create_funcs->create_stream_encoder(i, ctx); in resource_construct()
401 if (pool->stream_enc[i] == NULL) in resource_construct()
442 pool->stream_enc[pool->stream_enc_count] = in resource_construct()
445 if (pool->stream_enc[pool->stream_enc_count] == NULL) { in resource_construct()
2199 struct stream_encoder *stream_enc, in update_stream_engine_usage()
2205 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage()
2460 ASSERT(del_pipe->stream_res.stream_enc); in dc_remove_stream_from_ctx()
2464 del_pipe->stream_res.stream_enc, in dc_remove_stream_from_ctx()
2610 if (pool->stream_enc[ in acquire_resource_from_hw_enabled_state()
2196 update_stream_engine_usage( struct resource_context *res_ctx, const struct resource_pool *pool, struct stream_encoder *stream_enc, bool acquired) update_stream_engine_usage() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.c2098 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn20_unblank_stream()
2099 pipe_ctx->stream_res.stream_enc, params.opp_cnt > 1); in dcn20_unblank_stream()
2100 pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(pipe_ctx->stream_res.stream_enc, &params); in dcn20_unblank_stream()
2128 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn20_reset_back_end_for_pipe()
2362 pipe_ctx->stream_res.stream_enc->id, true); in dcn20_enable_stream()
2388 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dcn20_enable_stream()
2397 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_program_dmdata_engine() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_resource.c970 if (pool->base.stream_enc[i] != NULL) { in dcn10_resource_destruct()
971 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn10_resource_destruct()
972 pool->base.stream_enc[i] = NULL; in dcn10_resource_destruct()
1296 pool->stream_enc[i]) { in dcn10_find_first_free_match_stream_enc_for_link()
1301 if (pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link()
1303 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link()
1312 return pool->stream_enc[j]; in dcn10_find_first_free_match_stream_enc_for_link()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_resource.c912 if (pool->base.stream_enc[i] != NULL) { in dcn10_resource_destruct()
913 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn10_resource_destruct()
914 pool->base.stream_enc[i] = NULL; in dcn10_resource_destruct()
1245 pool->stream_enc[i]) { in dcn10_find_first_free_match_stream_enc_for_link()
1250 if (link->ep_type == DISPLAY_ENDPOINT_PHY && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link()
1252 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link()
1261 return pool->stream_enc[j]; in dcn10_find_first_free_match_stream_enc_for_link()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h189 struct stream_encoder *stream_enc[MAX_PIPES * 2]; member
263 struct stream_encoder *stream_enc; member

Completed in 38 milliseconds

123