| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/link/ |
| D | link_hwss_dio.c | 33 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in set_dio_throttled_vcp_size() 43 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in setup_dio_stream_encoder() local 46 pipe_ctx->stream_res.stream_enc->id, true); in setup_dio_stream_encoder() 50 if (stream_enc->funcs->enable_fifo) in setup_dio_stream_encoder() 51 stream_enc->funcs->enable_fifo(stream_enc); in setup_dio_stream_encoder() 57 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in reset_dio_stream_encoder() local 59 if (stream_enc && stream_enc->funcs->disable_fifo) in reset_dio_stream_encoder() 60 stream_enc->funcs->disable_fifo(stream_enc); in reset_dio_stream_encoder() 64 pipe_ctx->stream_res.stream_enc->id, in reset_dio_stream_encoder() 74 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in setup_dio_stream_attribute()
|
| D | link_hwss_hpo_dp.c | 106 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in setup_hpo_dp_stream_encoder() local 119 dccg->funcs->set_dpstreamclk(dccg, DTBCLK0, tg->inst, stream_enc->inst); in setup_hpo_dp_stream_encoder() 120 dccg->funcs->enable_symclk32_se(dccg, stream_enc->inst, phyd32clk); in setup_hpo_dp_stream_encoder() 122 stream_enc->funcs->enable_stream(stream_enc); in setup_hpo_dp_stream_encoder() 123 stream_enc->funcs->map_stream_to_link(stream_enc, stream_enc->inst, link_enc->inst); in setup_hpo_dp_stream_encoder() 129 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in reset_hpo_dp_stream_encoder() local 137 stream_enc->funcs->disable(stream_enc); in reset_hpo_dp_stream_encoder() 139 dccg->funcs->disable_symclk32_se(dccg, stream_enc->inst); in reset_hpo_dp_stream_encoder() 140 dccg->funcs->set_dpstreamclk(dccg, REFCLK, tg->inst, stream_enc->inst); in reset_hpo_dp_stream_encoder() 145 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in setup_hpo_dp_stream_attribute() local [all …]
|
| D | link_hwss_hpo_frl.c | 31 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()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/ |
| D | dcn20_clk_mgr.c | 156 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.1/drivers/gpu/drm/amd/display/dc/dce110/ |
| D | dce110_hw_sequencer.c | 643 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame() 653 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( 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() 695 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dce110_enable_stream() 1112 pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control( in dce110_enable_audio_stream() 1113 pipe_ctx->stream_res.stream_enc, false); in dce110_enable_audio_stream() 1140 pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control( in dce110_disable_audio_stream() 1141 pipe_ctx->stream_res.stream_enc, true); in dce110_disable_audio_stream() [all …]
|
| D | dce110_resource.c | 850 if (pool->base.stream_enc[i] != NULL) in dce110_resource_destruct() 851 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce110_resource_destruct() 1207 pool->stream_enc[i]) { in dce110_find_first_free_match_stream_enc_for_link() 1212 if (pool->stream_enc[i]->id == in dce110_find_first_free_match_stream_enc_for_link() 1214 return pool->stream_enc[i]; in dce110_find_first_free_match_stream_enc_for_link() 1223 return pool->stream_enc[j]; in dce110_find_first_free_match_stream_enc_for_link()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_hwseq.c | 652 if (dc_is_hdmi_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL) in dcn30_set_avmute() 653 pipe_ctx->stream_res.stream_enc->funcs->set_avmute( in dcn30_set_avmute() 654 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute() 665 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn30_update_info_frame() 675 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn30_update_info_frame() 676 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame() 679 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dcn30_update_info_frame() 680 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame() 689 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn30_program_dmdata_engine() local 703 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn30_program_dmdata_engine() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn31/ |
| D | dcn31_hwseq.c | 96 …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() 403 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn31_update_info_frame() 413 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn31_update_info_frame() 414 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame() 417 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dcn31_update_info_frame() 418 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame() 526 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn31_reset_back_end_for_pipe()
|
| D | dcn31_hpo_dp_link_encoder.c | 268 const struct hpo_dp_stream_encoder *stream_enc = stream_allocation->hpo_dp_stream_enc; in fill_stream_allocation_row_info() local 270 if (stream_enc && (stream_enc->id >= ENGINE_ID_HPO_DP_0)) { in fill_stream_allocation_row_info() 271 *src = stream_enc->id - ENGINE_ID_HPO_DP_0; in fill_stream_allocation_row_info()
|
| D | dcn31_resource.c | 1374 if (pool->base.stream_enc[i] != NULL) { in dcn31_resource_destruct() 1375 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct() 1376 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn31_resource_destruct() 1377 pool->base.stream_enc[i]->vpg = NULL; in dcn31_resource_destruct() 1379 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn31_resource_destruct() 1380 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn31_resource_destruct() 1381 pool->base.stream_enc[i]->afmt = NULL; in dcn31_resource_destruct() 1383 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn31_resource_destruct() 1384 pool->base.stream_enc[i] = NULL; in dcn31_resource_destruct()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
| D | dcn314_clk_mgr.c | 140 struct stream_encoder *stream_enc = pipe->stream_res.stream_enc; in dcn314_disable_otg_wa() local 143 if (stream_enc && stream_enc->funcs->disable_fifo) in dcn314_disable_otg_wa() 144 pipe->stream_res.stream_enc->funcs->disable_fifo(stream_enc); in dcn314_disable_otg_wa() 151 if (stream_enc && stream_enc->funcs->enable_fifo) in dcn314_disable_otg_wa() 152 pipe->stream_res.stream_enc->funcs->enable_fifo(stream_enc); in dcn314_disable_otg_wa()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn314/ |
| D | dcn314_hwseq.c | 383 if (!pipe_ctx || !pipe_ctx->stream || !pipe_ctx->stream_res.stream_enc) in dcn314_set_pixels_per_cycle() 390 if (pipe_ctx->stream_res.stream_enc->funcs->set_input_mode) in dcn314_set_pixels_per_cycle() 391 pipe_ctx->stream_res.stream_enc->funcs->set_input_mode(pipe_ctx->stream_res.stream_enc, in dcn314_set_pixels_per_cycle()
|
| D | dcn314_resource.c | 1401 if (pool->base.stream_enc[i] != NULL) { in dcn314_resource_destruct() 1402 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct() 1403 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn314_resource_destruct() 1404 pool->base.stream_enc[i]->vpg = NULL; in dcn314_resource_destruct() 1406 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn314_resource_destruct() 1407 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn314_resource_destruct() 1408 pool->base.stream_enc[i]->afmt = NULL; in dcn314_resource_destruct() 1410 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn314_resource_destruct() 1411 pool->base.stream_enc[i] = NULL; in dcn314_resource_destruct()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc_resource.c | 386 pool->stream_enc[i] = create_funcs->create_stream_encoder(i, ctx); in resource_construct() 387 if (pool->stream_enc[i] == NULL) in resource_construct() 428 pool->stream_enc[pool->stream_enc_count] = in resource_construct() 431 if (pool->stream_enc[pool->stream_enc_count] == NULL) { in resource_construct() 1581 free_pipe->stream_res.stream_enc = tail_pipe->next_odm_pipe->stream_res.stream_enc; in dc_add_plane_to_context() 1628 free_pipe->stream_res.stream_enc = head_pipe->next_odm_pipe->stream_res.stream_enc; in dc_add_plane_to_context() 1647 free_pipe->stream_res.stream_enc = tail_pipe->stream_res.stream_enc; in dc_add_plane_to_context() 1937 struct stream_encoder *stream_enc, in update_stream_engine_usage() argument 1943 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage() 2198 ASSERT(del_pipe->stream_res.stream_enc); in dc_remove_stream_from_ctx() [all …]
|
| D | dc_link.c | 2166 if (fe == dc->res_pool->stream_enc[j]->id) { in dc_link_blank_dp_stream() 2167 dc->res_pool->stream_enc[j]->funcs->dp_blank(link, in dc_link_blank_dp_stream() 2168 dc->res_pool->stream_enc[j]); in dc_link_blank_dp_stream() 2680 eng_id = pipe_ctx->stream_res.stream_enc->id; in enable_link_hdmi() 3522 struct stream_encoder *stream_enc, in update_mst_stream_alloc_table() argument 3558 work_table[i].stream_enc = stream_enc; in update_mst_stream_alloc_table() 3586 if (dio_stream_enc == table->stream_allocations[i].stream_enc) in remove_stream_from_alloc_table() 3738 pipe_ctx->stream_res.stream_enc, in dc_link_allocate_mst_payload() 3758 (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, in dc_link_allocate_mst_payload() 3853 pipe_ctx->stream_res.stream_enc, in dc_link_reduce_mst_payload() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn302/ |
| D | dcn302_resource.c | 1005 if (pool->stream_enc[i] != NULL) { in dcn302_resource_destruct() 1006 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct() 1007 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct() 1008 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct() 1010 if (pool->stream_enc[i]->afmt != NULL) { in dcn302_resource_destruct() 1011 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn302_resource_destruct() 1012 pool->stream_enc[i]->afmt = NULL; in dcn302_resource_destruct() 1014 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn302_resource_destruct() 1015 pool->stream_enc[i] = NULL; in dcn302_resource_destruct()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn303/ |
| D | dcn303_resource.c | 932 if (pool->stream_enc[i] != NULL) { in dcn303_resource_destruct() 933 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct() 934 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct() 935 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct() 937 if (pool->stream_enc[i]->afmt != NULL) { in dcn303_resource_destruct() 938 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn303_resource_destruct() 939 pool->stream_enc[i]->afmt = NULL; in dcn303_resource_destruct() 941 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn303_resource_destruct() 942 pool->stream_enc[i] = NULL; in dcn303_resource_destruct()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce100/ |
| D | dce100_resource.c | 791 if (pool->base.stream_enc[i] != NULL) in dce100_resource_destruct() 792 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce100_resource_destruct() 937 pool->stream_enc[i]) { in dce100_find_first_free_match_stream_enc_for_link() 942 if (pool->stream_enc[i]->id == in dce100_find_first_free_match_stream_enc_for_link() 944 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link() 962 return pool->stream_enc[j]; in dce100_find_first_free_match_stream_enc_for_link()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn301/ |
| D | dcn301_resource.c | 1063 if (pool->base.stream_enc[i] != NULL) { in dcn301_destruct() 1064 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct() 1065 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct() 1066 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct() 1068 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn301_destruct() 1069 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn301_destruct() 1070 pool->base.stream_enc[i]->afmt = NULL; in dcn301_destruct() 1072 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn301_destruct() 1073 pool->base.stream_enc[i] = NULL; in dcn301_destruct()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn32/ |
| D | dcn32_hwseq.c | 1206 if (!pipe_ctx || !pipe_ctx->stream || !pipe_ctx->stream_res.stream_enc) in dcn32_set_pixels_per_cycle() 1214 if (pipe_ctx->stream_res.stream_enc->funcs->set_input_mode) in dcn32_set_pixels_per_cycle() 1215 pipe_ctx->stream_res.stream_enc->funcs->set_input_mode(pipe_ctx->stream_res.stream_enc, in dcn32_set_pixels_per_cycle() 1249 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn32_unblank_stream() 1250 pipe_ctx->stream_res.stream_enc, pix_per_cycle > 1); in dcn32_unblank_stream() 1251 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, ¶ms); in dcn32_unblank_stream()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn315/ |
| D | dcn315_resource.c | 1372 if (pool->base.stream_enc[i] != NULL) { in dcn315_resource_destruct() 1373 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct() 1374 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn315_resource_destruct() 1375 pool->base.stream_enc[i]->vpg = NULL; in dcn315_resource_destruct() 1377 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn315_resource_destruct() 1378 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn315_resource_destruct() 1379 pool->base.stream_enc[i]->afmt = NULL; in dcn315_resource_destruct() 1381 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn315_resource_destruct() 1382 pool->base.stream_enc[i] = NULL; in dcn315_resource_destruct()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn316/ |
| D | dcn316_resource.c | 1373 if (pool->base.stream_enc[i] != NULL) { in dcn316_resource_destruct() 1374 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct() 1375 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn316_resource_destruct() 1376 pool->base.stream_enc[i]->vpg = NULL; in dcn316_resource_destruct() 1378 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn316_resource_destruct() 1379 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn316_resource_destruct() 1380 pool->base.stream_enc[i]->afmt = NULL; in dcn316_resource_destruct() 1382 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn316_resource_destruct() 1383 pool->base.stream_enc[i] = NULL; in dcn316_resource_destruct()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn321/ |
| D | dcn321_resource.c | 1352 if (pool->base.stream_enc[i] != NULL) { in dcn321_resource_destruct() 1353 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn321_resource_destruct() 1354 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn321_resource_destruct() 1355 pool->base.stream_enc[i]->vpg = NULL; in dcn321_resource_destruct() 1357 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn321_resource_destruct() 1358 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn321_resource_destruct() 1359 pool->base.stream_enc[i]->afmt = NULL; in dcn321_resource_destruct() 1361 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn321_resource_destruct() 1362 pool->base.stream_enc[i] = NULL; in dcn321_resource_destruct()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_resource.c | 920 if (pool->base.stream_enc[i] != NULL) { in dcn10_resource_destruct() 921 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn10_resource_destruct() 922 pool->base.stream_enc[i] = NULL; in dcn10_resource_destruct() 1252 pool->stream_enc[i]) { in dcn10_find_first_free_match_stream_enc_for_link() 1257 if (link->ep_type == DISPLAY_ENDPOINT_PHY && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link() 1259 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link() 1268 return pool->stream_enc[j]; in dcn10_find_first_free_match_stream_enc_for_link()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/ |
| D | core_types.h | 256 struct stream_encoder *stream_enc[MAX_PIPES * 2]; member 342 struct stream_encoder *stream_enc; member
|