Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c337 pipes[i].stream_res.stream_enc != NULL && in dp_retrain_link_dp_test()
341 pipes[i].stream_res.stream_enc->funcs->dp_blank( in dp_retrain_link_dp_test()
342 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 …_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()
502 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_pps_info_packet( in dp_set_dsc_on_stream()
[all …]
Ddc_link.c2332 eng_id = pipe_ctx->stream_res.stream_enc->id; in enable_link_hdmi()
2980 struct stream_encoder *stream_enc, in update_mst_stream_alloc_table() argument
3016 work_table[i].stream_enc = stream_enc; in update_mst_stream_alloc_table()
3036 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in dc_link_allocate_mst_payload()
3057 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in dc_link_allocate_mst_payload()
3075 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in dc_link_allocate_mst_payload()
3123 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in deallocate_mst_payload()
3151 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in deallocate_mst_payload()
3171 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in deallocate_mst_payload()
3208 config.dig_fe = (uint8_t) pipe_ctx->stream_res.stream_enc->stream_enc_inst; in update_psp_stream_config()
[all …]
Ddc_resource.c342 pool->stream_enc[i] = create_funcs->create_stream_encoder(i, ctx); in resource_construct()
343 if (pool->stream_enc[i] == NULL) in resource_construct()
364 pool->stream_enc[pool->stream_enc_count] = in resource_construct()
367 if (pool->stream_enc[pool->stream_enc_count] == NULL) { in resource_construct()
1402 free_pipe->stream_res.stream_enc = tail_pipe->stream_res.stream_enc; in dc_add_plane_to_context()
1657 struct stream_encoder *stream_enc, in update_stream_engine_usage() argument
1663 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage()
1792 ASSERT(del_pipe->stream_res.stream_enc); in dc_remove_stream_from_ctx()
1796 del_pipe->stream_res.stream_enc, in dc_remove_stream_from_ctx()
1935 if (pool->stream_enc[i]->id == inst) { in acquire_resource_from_hw_enabled_state()
[all …]
Ddc.c384 if (pipe->stream == stream && pipe->stream_res.stream_enc) { in dc_stream_get_crtc_position()
1038 if (dc->res_pool->stream_enc[j]->id == enc_inst) { in disable_vbios_mode_if_required()
1039 tg_inst = dc->res_pool->stream_enc[j]->funcs->dig_source_otg( in disable_vbios_mode_if_required()
1040 dc->res_pool->stream_enc[j]); in disable_vbios_mode_if_required()
1381 if (dc->res_pool->stream_enc[i]->id == enc_inst) { in dc_validate_seamless_boot_timing()
1383 se = dc->res_pool->stream_enc[i]; in dc_validate_seamless_boot_timing()
1385 tg_inst = dc->res_pool->stream_enc[i]->funcs->dig_source_otg( in dc_validate_seamless_boot_timing()
1386 dc->res_pool->stream_enc[i]); in dc_validate_seamless_boot_timing()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c642 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame()
652 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame()
653 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
656 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame()
657 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
678 pipe_ctx->stream_res.stream_enc->id, true); in dce110_enable_stream()
699 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dce110_enable_stream()
1111 pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control( in dce110_enable_audio_stream()
1112 pipe_ctx->stream_res.stream_enc, false); in dce110_enable_audio_stream()
1132 pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control( in dce110_disable_audio_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()
1208 pool->stream_enc[i]) { in dce110_find_first_free_match_stream_enc_for_link()
1213 if (pool->stream_enc[i]->id == in dce110_find_first_free_match_stream_enc_for_link()
1215 return pool->stream_enc[i]; in dce110_find_first_free_match_stream_enc_for_link()
1224 return pool->stream_enc[j]; in dce110_find_first_free_match_stream_enc_for_link()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c147 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_update_clocks_update_dentist() local
154 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn20_update_clocks_update_dentist()
156 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn20_update_clocks_update_dentist()
157 stream_enc); in dcn20_update_clocks_update_dentist()
177 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_update_clocks_update_dentist() local
185 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn20_update_clocks_update_dentist()
187 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn20_update_clocks_update_dentist()
188 stream_enc); in dcn20_update_clocks_update_dentist()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c561 if (fe == dc->res_pool->stream_enc[j]->id) { in dcn30_init_hw()
562 dc->res_pool->stream_enc[j]->funcs->dp_blank( in dcn30_init_hw()
563 dc->res_pool->stream_enc[j]); in dcn30_init_hw()
675 if (dc_is_hdmi_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL) in dcn30_set_avmute()
676 pipe_ctx->stream_res.stream_enc->funcs->set_avmute( in dcn30_set_avmute()
677 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute()
688 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn30_update_info_frame()
698 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn30_update_info_frame()
699 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
702 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dcn30_update_info_frame()
[all …]
Ddcn30_resource.c1210 if (pool->base.stream_enc[i] != NULL) { in dcn30_resource_destruct()
1211 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct()
1212 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct()
1213 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
1215 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn30_resource_destruct()
1216 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn30_resource_destruct()
1217 pool->base.stream_enc[i]->afmt = NULL; in dcn30_resource_destruct()
1219 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn30_resource_destruct()
1220 pool->base.stream_enc[i] = NULL; in dcn30_resource_destruct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hwseq.c195 if (fe == dc->res_pool->stream_enc[j]->id) { in dcn31_init_hw()
196 dc->res_pool->stream_enc[j]->funcs->dp_blank( in dcn31_init_hw()
197 dc->res_pool->stream_enc[j]); in dcn31_init_hw()
390 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn31_update_info_frame()
400 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn31_update_info_frame()
401 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
404 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dcn31_update_info_frame()
405 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
508 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn31_reset_back_end_for_pipe()
Ddcn31_resource.c1333 if (pool->base.stream_enc[i] != NULL) { in dcn31_resource_destruct()
1334 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct()
1335 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn31_resource_destruct()
1336 pool->base.stream_enc[i]->vpg = NULL; in dcn31_resource_destruct()
1338 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn31_resource_destruct()
1339 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn31_resource_destruct()
1340 pool->base.stream_enc[i]->afmt = NULL; in dcn31_resource_destruct()
1342 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn31_resource_destruct()
1343 pool->base.stream_enc[i] = NULL; in dcn31_resource_destruct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c792 if (pool->base.stream_enc[i] != NULL) in dce100_resource_destruct()
793 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce100_resource_destruct()
938 pool->stream_enc[i]) { in dce100_find_first_free_match_stream_enc_for_link()
943 if (pool->stream_enc[i]->id == in dce100_find_first_free_match_stream_enc_for_link()
945 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link()
963 return pool->stream_enc[j]; in dce100_find_first_free_match_stream_enc_for_link()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c1133 if (pool->stream_enc[i] != NULL) { in dcn302_resource_destruct()
1134 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
1135 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
1136 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
1138 if (pool->stream_enc[i]->afmt != NULL) { in dcn302_resource_destruct()
1139 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn302_resource_destruct()
1140 pool->stream_enc[i]->afmt = NULL; in dcn302_resource_destruct()
1142 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn302_resource_destruct()
1143 pool->stream_enc[i] = NULL; in dcn302_resource_destruct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c1063 if (pool->stream_enc[i] != NULL) { in dcn303_resource_destruct()
1064 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct()
1065 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct()
1066 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()
1068 if (pool->stream_enc[i]->afmt != NULL) { in dcn303_resource_destruct()
1069 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn303_resource_destruct()
1070 pool->stream_enc[i]->afmt = NULL; in dcn303_resource_destruct()
1072 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn303_resource_destruct()
1073 pool->stream_enc[i] = NULL; in dcn303_resource_destruct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h217 struct stream_encoder *stream_enc[MAX_PIPES * 2]; member
300 struct stream_encoder *stream_enc; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_resource.c1241 if (pool->base.stream_enc[i] != NULL) { in dcn301_destruct()
1242 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct()
1243 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct()
1244 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct()
1246 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn301_destruct()
1247 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn301_destruct()
1248 pool->base.stream_enc[i]->afmt = NULL; in dcn301_destruct()
1250 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn301_destruct()
1251 pool->base.stream_enc[i] = NULL; in dcn301_destruct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c2141 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn20_unblank_stream()
2142 pipe_ctx->stream_res.stream_enc, params.opp_cnt > 1); in dcn20_unblank_stream()
2143 pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(pipe_ctx->stream_res.stream_enc, &params); in dcn20_unblank_stream()
2171 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn20_reset_back_end_for_pipe()
2384 pipe_ctx->stream_res.stream_enc->id, true); in dcn20_enable_stream()
2410 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dcn20_enable_stream()
2419 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_program_dmdata_engine() local
2433 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn20_program_dmdata_engine()
2436 stream_enc->funcs->set_dynamic_metadata(stream_enc, enable, in dcn20_program_dmdata_engine()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/
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()
1294 pool->stream_enc[i]) { in dcn10_find_first_free_match_stream_enc_for_link()
1299 if (pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link()
1301 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link()
1310 return pool->stream_enc[j]; in dcn10_find_first_free_match_stream_enc_for_link()
Ddcn10_link_encoder.c1208 const struct stream_encoder *stream_enc = stream_allocation->stream_enc; in fill_stream_allocation_row_info() local
1210 if (stream_enc) { in fill_stream_allocation_row_info()
1211 *src = stream_enc->id; in fill_stream_allocation_row_info()
Ddcn10_hw_sequencer.c420 struct stream_encoder *enc = pool->stream_enc[i]; in dcn10_log_hw_state()
908 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn10_reset_back_end_for_pipe()
1426 if (fe == dc->res_pool->stream_enc[j]->id) { in dcn10_init_hw()
1427 dc->res_pool->stream_enc[j]->funcs->dp_blank( in dcn10_init_hw()
1428 dc->res_pool->stream_enc[j]); in dcn10_init_hw()
1798 if (!pipe_ctx->stream_res.stream_enc || !pipe_ctx->stream_res.tg) in delay_cursor_until_vupdate()
3616 pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(pipe_ctx->stream_res.stream_enc, &params); in dcn10_unblank_stream()
3629 pipe_ctx->stream_res.stream_enc->funcs->send_immediate_sdp_message( in dcn10_send_immediate_sdp_message()
3630 pipe_ctx->stream_res.stream_enc, in dcn10_send_immediate_sdp_message()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c1489 const struct stream_encoder *stream_enc = stream_allocation->stream_enc; in fill_stream_allocation_row_info() local
1491 if (stream_enc) { in fill_stream_allocation_row_info()
1492 *src = stream_enc->id; in fill_stream_allocation_row_info()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/
Ddc_link.h47 const struct stream_encoder *stream_enc; member
/Linux-v5.15/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.h107 uint32_t stream_enc; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c644 if (pool->base.stream_enc[i] != NULL) in dce120_resource_destruct()
645 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce120_resource_destruct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_resource.c835 if (pool->base.stream_enc[i] != NULL) in dce60_resource_destruct()
836 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce60_resource_destruct()

12