Home
last modified time | relevance | path

Searched refs:stream_enc (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/hwss/
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->funcs->enable_fifo(stream_enc); in setup_dio_stream_encoder()
59 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in reset_dio_stream_encoder() local
61 if (stream_enc && stream_enc->funcs->disable_fifo) in reset_dio_stream_encoder()
[all …]
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 = pipe_ctx->stream_res.hpo_dp_stream_enc; in setup_hpo_dp_stream_attribute() local
94 stream_enc->funcs->set_stream_attribute( in setup_hpo_dp_stream_attribute()
95 stream_enc, in setup_hpo_dp_stream_attribute()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/
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()
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 …_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()
851 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_pps_info_packet( in link_set_dsc_on_stream()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hwseq.c96 …if (dc->debug.enable_mem_low_power.bits.vpg && dc->res_pool->stream_enc[0]->vpg->funcs->vpg_powerd… 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->funcs->update_dp_info_packets( in dcn31_update_info_frame()
406 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
[all …]
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()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
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()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/
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->funcs->update_dp_info_packets( in dcn30_update_info_frame()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c145 struct stream_encoder *stream_enc = pipe->stream_res.stream_enc; in dcn314_disable_otg_wa() local
148 if (stream_enc && stream_enc->funcs->disable_fifo) in dcn314_disable_otg_wa()
149 pipe->stream_res.stream_enc->funcs->disable_fifo(stream_enc); in dcn314_disable_otg_wa()
156 if (stream_enc && stream_enc->funcs->enable_fifo) in dcn314_disable_otg_wa()
157 pipe->stream_res.stream_enc->funcs->enable_fifo(stream_enc); in dcn314_disable_otg_wa()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce110/
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
1160 pipe_ctx->stream_res.stream_enc->funcs->stop_hdmi_info_packets( in dce110_disable_stream()
[all …]
Ddce110_resource.c851 if (pool->base.stream_enc[i] != NULL) in dce110_resource_destruct()
852 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce110_resource_destruct()
1210 pool->stream_enc[i]) { in dce110_find_first_free_match_stream_enc_for_link()
1215 if (pool->stream_enc[i]->id == in dce110_find_first_free_match_stream_enc_for_link()
1217 return pool->stream_enc[i]; in dce110_find_first_free_match_stream_enc_for_link()
1226 return pool->stream_enc[j]; in dce110_find_first_free_match_stream_enc_for_link()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
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()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn302/
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()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn303/
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()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn314/
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()
Ddcn314_resource.c1419 if (pool->base.stream_enc[i] != NULL) { in dcn314_resource_destruct()
1420 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct()
1421 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn314_resource_destruct()
1422 pool->base.stream_enc[i]->vpg = NULL; in dcn314_resource_destruct()
1424 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn314_resource_destruct()
1425 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn314_resource_destruct()
1426 pool->base.stream_enc[i]->afmt = NULL; in dcn314_resource_destruct()
1428 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn314_resource_destruct()
1429 pool->base.stream_enc[i] = NULL; in dcn314_resource_destruct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce100/
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()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_resource.c1038 if (pool->base.stream_enc[i] != NULL) { in dcn301_destruct()
1039 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct()
1040 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct()
1041 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct()
1043 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn301_destruct()
1044 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn301_destruct()
1045 pool->base.stream_enc[i]->afmt = NULL; in dcn301_destruct()
1047 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn301_destruct()
1048 pool->base.stream_enc[i] = NULL; in dcn301_destruct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
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() argument
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[i]->id == inst) { in acquire_resource_from_hw_enabled_state()
2611 tg_inst = pool->stream_enc[i]->funcs->dig_source_otg( in acquire_resource_from_hw_enabled_state()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/
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()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn316/
Ddcn316_resource.c1344 if (pool->base.stream_enc[i] != NULL) { in dcn316_resource_destruct()
1345 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct()
1346 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn316_resource_destruct()
1347 pool->base.stream_enc[i]->vpg = NULL; in dcn316_resource_destruct()
1349 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn316_resource_destruct()
1350 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn316_resource_destruct()
1351 pool->base.stream_enc[i]->afmt = NULL; in dcn316_resource_destruct()
1353 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn316_resource_destruct()
1354 pool->base.stream_enc[i] = NULL; in dcn316_resource_destruct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn315/
Ddcn315_resource.c1346 if (pool->base.stream_enc[i] != NULL) { in dcn315_resource_destruct()
1347 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct()
1348 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn315_resource_destruct()
1349 pool->base.stream_enc[i]->vpg = NULL; in dcn315_resource_destruct()
1351 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn315_resource_destruct()
1352 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn315_resource_destruct()
1353 pool->base.stream_enc[i]->afmt = NULL; in dcn315_resource_destruct()
1355 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn315_resource_destruct()
1356 pool->base.stream_enc[i] = NULL; in dcn315_resource_destruct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn321/
Ddcn321_resource.c1332 if (pool->base.stream_enc[i] != NULL) { in dcn321_resource_destruct()
1333 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn321_resource_destruct()
1334 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn321_resource_destruct()
1335 pool->base.stream_enc[i]->vpg = NULL; in dcn321_resource_destruct()
1337 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn321_resource_destruct()
1338 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn321_resource_destruct()
1339 pool->base.stream_enc[i]->afmt = NULL; in dcn321_resource_destruct()
1341 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn321_resource_destruct()
1342 pool->base.stream_enc[i] = NULL; in dcn321_resource_destruct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h215 struct stream_encoder *stream_enc[MAX_PIPES * 2]; member
303 struct stream_encoder *stream_enc; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c1183 if (!pipe_ctx || !pipe_ctx->stream || !pipe_ctx->stream_res.stream_enc) in dcn32_set_pixels_per_cycle()
1191 if (pipe_ctx->stream_res.stream_enc->funcs->set_input_mode) in dcn32_set_pixels_per_cycle()
1192 pipe_ctx->stream_res.stream_enc->funcs->set_input_mode(pipe_ctx->stream_res.stream_enc, in dcn32_set_pixels_per_cycle()
1256 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn32_unblank_stream()
1257 pipe_ctx->stream_res.stream_enc, pix_per_cycle > 1); in dcn32_unblank_stream()
1258 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, &params); in dcn32_unblank_stream()

12