Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c280 pipes[i].stream_res.stream_enc != NULL) { in dp_retrain_link_dp_test()
283 pipes[i].stream_res.stream_enc->funcs->dp_blank( in dp_retrain_link_dp_test()
284 pipes[i].stream_res.stream_enc); in dp_retrain_link_dp_test()
333 pipes[i].stream_res.stream_enc->funcs-> in dp_retrain_link_dp_test()
335 pipes[i].stream_res.stream_enc, false); in dp_retrain_link_dp_test()
421 …_DSC("Setting stream encoder DSC config for engine %d:", (int)pipe_ctx->stream_res.stream_enc->id); in dp_set_dsc_on_stream()
423 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc, in dp_set_dsc_on_stream()
446 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config( in dp_set_dsc_on_stream()
447 pipe_ctx->stream_res.stream_enc, in dp_set_dsc_on_stream()
450 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_pps_info_packet( in dp_set_dsc_on_stream()
[all …]
Ddc_link.c2049 eng_id = pipe_ctx->stream_res.stream_enc->id; in enable_link_hdmi()
2463 struct stream_encoder *stream_enc, in update_mst_stream_alloc_table() argument
2498 work_table[i].stream_enc = stream_enc; in update_mst_stream_alloc_table()
2518 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in allocate_mst_payload()
2538 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in allocate_mst_payload()
2556 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in allocate_mst_payload()
2598 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in deallocate_mst_payload()
2626 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in deallocate_mst_payload()
2646 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in deallocate_mst_payload()
2684 pipe_ctx->stream_res.stream_enc->funcs->setup_stereo_sync( in core_link_enable_stream()
[all …]
Ddc_resource.c290 pool->stream_enc[i] = create_funcs->create_stream_encoder(i, ctx); in resource_construct()
291 if (pool->stream_enc[i] == NULL) in resource_construct()
302 pool->stream_enc[pool->stream_enc_count] = in resource_construct()
305 if (pool->stream_enc[pool->stream_enc_count] == NULL) { in resource_construct()
1292 free_pipe->stream_res.stream_enc = tail_pipe->stream_res.stream_enc; in dc_add_plane_to_context()
1580 struct stream_encoder *stream_enc, in update_stream_engine_usage() argument
1586 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage()
1729 ASSERT(del_pipe->stream_res.stream_enc); in dc_remove_stream_from_ctx()
1733 del_pipe->stream_res.stream_enc, in dc_remove_stream_from_ctx()
1878 tg_inst = pool->stream_enc[inst]->funcs->dig_source_otg(pool->stream_enc[inst]); in acquire_resource_from_hw_enabled_state()
[all …]
Ddc.c318 if (pipe->stream == stream && pipe->stream_res.stream_enc) { in dc_stream_get_crtc_position()
995 tg_inst = dc->res_pool->stream_enc[enc_inst]->funcs->dig_source_otg( in dc_validate_seamless_boot_timing()
996 dc->res_pool->stream_enc[enc_inst]); in dc_validate_seamless_boot_timing()
Ddc_link_dp.c3238 pipes->stream_res.stream_enc->funcs->dp_blank(pipe_ctx->stream_res.stream_enc); in dc_link_dp_set_test_pattern()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c631 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame()
641 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame()
642 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
645 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame()
646 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
668 pipe_ctx->stream_res.stream_enc->id, true); in dce110_enable_stream()
689 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dce110_enable_stream()
977 pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control( in dce110_enable_audio_stream()
978 pipe_ctx->stream_res.stream_enc, false); in dce110_enable_audio_stream()
999 pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control( in dce110_disable_audio_stream()
[all …]
Ddce110_resource.c778 if (pool->base.stream_enc[i] != NULL) in destruct()
779 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
1134 pool->stream_enc[i]) { in dce110_find_first_free_match_stream_enc_for_link()
1139 if (pool->stream_enc[i]->id == in dce110_find_first_free_match_stream_enc_for_link()
1141 return pool->stream_enc[i]; in dce110_find_first_free_match_stream_enc_for_link()
1150 return pool->stream_enc[j]; in dce110_find_first_free_match_stream_enc_for_link()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c1583 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn20_unblank_stream()
1584 pipe_ctx->stream_res.stream_enc, params.opp_cnt > 1); in dcn20_unblank_stream()
1585 pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(pipe_ctx->stream_res.stream_enc, &params); in dcn20_unblank_stream()
1612 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn20_reset_back_end_for_pipe()
1920 pipe_ctx->stream_res.stream_enc->id, true); in dcn20_enable_stream()
1944 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dcn20_enable_stream()
1953 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_program_dmdata_engine() local
1967 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn20_program_dmdata_engine()
1970 stream_enc->funcs->set_dynamic_metadata(stream_enc, enable, in dcn20_program_dmdata_engine()
Ddcn20_resource.c1198 if (pool->base.stream_enc[i] != NULL) { in destruct()
1199 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
1200 pool->base.stream_enc[i] = NULL; in destruct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c721 if (pool->base.stream_enc[i] != NULL) in destruct()
722 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
867 pool->stream_enc[i]) { in dce100_find_first_free_match_stream_enc_for_link()
872 if (pool->stream_enc[i]->id == in dce100_find_first_free_match_stream_enc_for_link()
874 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link()
892 return pool->stream_enc[j]; in dce100_find_first_free_match_stream_enc_for_link()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h172 struct stream_encoder *stream_enc[MAX_PIPES * 2]; member
242 struct stream_encoder *stream_enc; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c890 if (pool->base.stream_enc[i] != NULL) { in destruct()
891 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
892 pool->base.stream_enc[i] = NULL; in destruct()
1226 pool->stream_enc[i]) { in dcn10_find_first_free_match_stream_enc_for_link()
1231 if (pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link()
1233 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link()
1242 return pool->stream_enc[j]; in dcn10_find_first_free_match_stream_enc_for_link()
Ddcn10_link_encoder.c1181 const struct stream_encoder *stream_enc = stream_allocation->stream_enc; in fill_stream_allocation_row_info() local
1183 if (stream_enc) { in fill_stream_allocation_row_info()
1184 *src = stream_enc->id; in fill_stream_allocation_row_info()
Ddcn10_hw_sequencer.c372 struct stream_encoder *enc = pool->stream_enc[i]; in dcn10_log_hw_state()
823 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn10_reset_back_end_for_pipe()
3239 pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(pipe_ctx->stream_res.stream_enc, &params); in dcn10_unblank_stream()
3252 pipe_ctx->stream_res.stream_enc->funcs->send_immediate_sdp_message( in dcn10_send_immediate_sdp_message()
3253 pipe_ctx->stream_res.stream_enc, in dcn10_send_immediate_sdp_message()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c1215 const struct stream_encoder *stream_enc = stream_allocation->stream_enc; in fill_stream_allocation_row_info() local
1217 if (stream_enc) { in fill_stream_allocation_row_info()
1218 *src = stream_enc->id; in fill_stream_allocation_row_info()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc_link.h47 const struct stream_encoder *stream_enc; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c835 if (pool->base.stream_enc[i] != NULL) { in destruct()
836 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
837 pool->base.stream_enc[i] = NULL; in destruct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c596 if (pool->base.stream_enc[i] != NULL) in destruct()
597 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c740 if (pool->base.stream_enc[i] != NULL) in destruct()
741 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_resource.c769 if (pool->base.stream_enc[i] != NULL) in destruct()
770 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()