Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/core/
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 …_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.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() argument
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()
2927 link, pipe_ctx->stream_res.stream_enc, &proposed_table); 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()
3017 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in deallocate_mst_payload()
3037 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in deallocate_mst_payload()
3099 pipe_ctx->stream_res.stream_enc->id, true); in dc_link_reallocate_mst_payload()
[all …]
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() argument
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()
1881 del_pipe->stream_res.stream_enc, in dc_remove_stream_from_ctx()
2017 if (pool->stream_enc[i]->id == inst) { in acquire_resource_from_hw_enabled_state()
[all …]
Ddc.c324 if (pipe->stream == stream && pipe->stream_res.stream_enc) { in dc_stream_get_crtc_position()
884 if (dc->res_pool->stream_enc[j]->id == enc_inst) { in disable_vbios_mode_if_required()
885 tg_inst = dc->res_pool->stream_enc[j]->funcs->dig_source_otg( in disable_vbios_mode_if_required()
886 dc->res_pool->stream_enc[j]); in disable_vbios_mode_if_required()
1190 if (dc->res_pool->stream_enc[i]->id == enc_inst) { in dc_validate_seamless_boot_timing()
1192 se = dc->res_pool->stream_enc[i]; in dc_validate_seamless_boot_timing()
1194 tg_inst = dc->res_pool->stream_enc[i]->funcs->dig_source_otg( in dc_validate_seamless_boot_timing()
1195 dc->res_pool->stream_enc[i]); in dc_validate_seamless_boot_timing()
Ddc_link_dp.c1631 pipe_ctx->stream_res.stream_enc->id, true); in perform_link_training_with_retries()
4046 pipes->stream_res.stream_enc->funcs->dp_blank(pipe_ctx->stream_res.stream_enc); in dc_link_dp_set_test_pattern()
4168 pipe_ctx->stream_res.stream_enc->funcs->dp_set_stream_attribute(pipe_ctx->stream_res.stream_enc, in dc_link_dp_set_test_pattern()
/drivers/gpu/drm/amd/display/dc/dcn30/
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->funcs->update_dp_info_packets( in dcn30_update_info_frame()
[all …]
Ddcn30_resource.c1206 if (pool->base.stream_enc[i] != NULL) { in dcn30_resource_destruct()
1207 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct()
1208 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct()
1209 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
1211 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn30_resource_destruct()
1212 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn30_resource_destruct()
1213 pool->base.stream_enc[i]->afmt = NULL; in dcn30_resource_destruct()
1215 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn30_resource_destruct()
1216 pool->base.stream_enc[i] = NULL; in dcn30_resource_destruct()
/drivers/gpu/drm/amd/display/dc/dce110/
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, false); in dce110_enable_audio_stream()
1064 pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control( in dce110_disable_audio_stream()
[all …]
Ddce110_resource.c858 if (pool->base.stream_enc[i] != NULL) in dce110_resource_destruct()
859 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce110_resource_destruct()
1215 pool->stream_enc[i]) { in dce110_find_first_free_match_stream_enc_for_link()
1220 if (pool->stream_enc[i]->id == in dce110_find_first_free_match_stream_enc_for_link()
1222 return pool->stream_enc[i]; in dce110_find_first_free_match_stream_enc_for_link()
1231 return pool->stream_enc[j]; in dce110_find_first_free_match_stream_enc_for_link()
/drivers/gpu/drm/amd/display/dc/dce100/
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()
/drivers/gpu/drm/amd/display/dc/dcn20/
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
2411 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn20_program_dmdata_engine()
2414 stream_enc->funcs->set_dynamic_metadata(stream_enc, enable, in dcn20_program_dmdata_engine()
Ddcn20_resource.c1464 if (pool->base.stream_enc[i] != NULL) { in dcn20_resource_destruct()
1465 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn20_resource_destruct()
1466 pool->base.stream_enc[i] = NULL; in dcn20_resource_destruct()
/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()
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()
Ddcn10_link_encoder.c1193 const struct stream_encoder *stream_enc = stream_allocation->stream_enc; in fill_stream_allocation_row_info() local
1195 if (stream_enc) { in fill_stream_allocation_row_info()
1196 *src = stream_enc->id; in fill_stream_allocation_row_info()
Ddcn10_hw_sequencer.c413 struct stream_encoder *enc = pool->stream_enc[i]; in dcn10_log_hw_state()
883 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn10_reset_back_end_for_pipe()
1378 if (fe == dc->res_pool->stream_enc[j]->id) { in dcn10_init_hw()
1379 dc->res_pool->stream_enc[j]->funcs->dp_blank( in dcn10_init_hw()
1380 dc->res_pool->stream_enc[j]); in dcn10_init_hw()
1753 if (!pipe_ctx->stream_res.stream_enc || !pipe_ctx->stream_res.tg) in delay_cursor_until_vupdate()
3706 pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(pipe_ctx->stream_res.stream_enc, &params); in dcn10_unblank_stream()
3719 pipe_ctx->stream_res.stream_enc->funcs->send_immediate_sdp_message( in dcn10_send_immediate_sdp_message()
3720 pipe_ctx->stream_res.stream_enc, in dcn10_send_immediate_sdp_message()
/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h189 struct stream_encoder *stream_enc[MAX_PIPES * 2]; member
263 struct stream_encoder *stream_enc; member
/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()
/drivers/gpu/drm/amd/display/dc/
Ddc_link.h46 const struct stream_encoder *stream_enc; member
/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c652 if (pool->base.stream_enc[i] != NULL) in dce120_resource_destruct()
653 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce120_resource_destruct()
/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_resource.c845 if (pool->base.stream_enc[i] != NULL) in dce80_resource_destruct()
846 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce80_resource_destruct()
/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_resource.c840 if (pool->base.stream_enc[i] != NULL) in dce60_resource_destruct()
841 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce60_resource_destruct()
/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c818 if (pool->base.stream_enc[i] != NULL) in dce112_resource_destruct()
819 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce112_resource_destruct()
/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c915 if (pool->base.stream_enc[i] != NULL) { in dcn21_resource_destruct()
916 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn21_resource_destruct()
917 pool->base.stream_enc[i] = NULL; in dcn21_resource_destruct()