/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_hwss.c | 280 pipes[i].stream_res.stream_enc != NULL && in dp_retrain_link_dp_test() 284 pipes[i].stream_res.stream_enc->funcs->dp_blank( in dp_retrain_link_dp_test() 285 pipes[i].stream_res.stream_enc); in dp_retrain_link_dp_test() 334 pipes[i].stream_res.stream_enc->funcs-> in dp_retrain_link_dp_test() 336 pipes[i].stream_res.stream_enc, false); in dp_retrain_link_dp_test() 422 …_DSC("Setting stream encoder DSC config for engine %d:", (int)pipe_ctx->stream_res.stream_enc->id); in dp_set_dsc_on_stream() 424 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc, in dp_set_dsc_on_stream() 447 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config( in dp_set_dsc_on_stream() 448 pipe_ctx->stream_res.stream_enc, in dp_set_dsc_on_stream() 451 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_pps_info_packet( in dp_set_dsc_on_stream() [all …]
|
D | dc_link.c | 2049 eng_id = pipe_ctx->stream_res.stream_enc->id; in enable_link_hdmi() 2465 struct stream_encoder *stream_enc, in update_mst_stream_alloc_table() argument 2500 work_table[i].stream_enc = stream_enc; in update_mst_stream_alloc_table() 2520 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in allocate_mst_payload() 2540 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in allocate_mst_payload() 2558 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in allocate_mst_payload() 2600 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in deallocate_mst_payload() 2628 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in deallocate_mst_payload() 2648 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in deallocate_mst_payload() 2686 pipe_ctx->stream_res.stream_enc->funcs->setup_stereo_sync( in core_link_enable_stream() [all …]
|
D | dc_resource.c | 290 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 …]
|
D | dc.c | 318 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()
|
D | dc_link_dp.c | 3240 pipes->stream_res.stream_enc->funcs->dp_blank(pipe_ctx->stream_res.stream_enc); in dc_link_dp_set_test_pattern()
|
/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 631 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 …]
|
D | dce110_resource.c | 778 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()
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hwseq.c | 1603 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn20_unblank_stream() 1604 pipe_ctx->stream_res.stream_enc, params.opp_cnt > 1); in dcn20_unblank_stream() 1605 pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(pipe_ctx->stream_res.stream_enc, ¶ms); in dcn20_unblank_stream() 1632 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn20_reset_back_end_for_pipe() 1940 pipe_ctx->stream_res.stream_enc->id, true); in dcn20_enable_stream() 1964 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dcn20_enable_stream() 1973 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_program_dmdata_engine() local 1987 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn20_program_dmdata_engine() 1990 stream_enc->funcs->set_dynamic_metadata(stream_enc, enable, in dcn20_program_dmdata_engine()
|
D | dcn20_resource.c | 1198 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()
|
/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 721 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()
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 890 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()
|
D | dcn10_link_encoder.c | 1181 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()
|
D | dcn10_hw_sequencer.c | 372 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, ¶ms); 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()
|
/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 172 struct stream_encoder *stream_enc[MAX_PIPES * 2]; member 242 struct stream_encoder *stream_enc; member
|
/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_link_encoder.c | 1215 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()
|
/drivers/gpu/drm/amd/display/dc/ |
D | dc_link.h | 47 const struct stream_encoder *stream_enc; member
|
/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 835 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()
|
/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 596 if (pool->base.stream_enc[i] != NULL) in destruct() 597 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
|
/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 740 if (pool->base.stream_enc[i] != NULL) in destruct() 741 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
|
/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_resource.c | 769 if (pool->base.stream_enc[i] != NULL) in destruct() 770 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in destruct()
|