Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_link_hwss.c441 pipes[i].stream_res.stream_enc != NULL && in dp_retrain_link_dp_test()
445 pipes[i].stream_res.stream_enc->funcs->dp_blank(link, in dp_retrain_link_dp_test()
446 pipes[i].stream_res.stream_enc); in dp_retrain_link_dp_test()
489 pipes[i].stream_res.stream_enc->funcs-> in dp_retrain_link_dp_test()
491 pipes[i].stream_res.stream_enc, false); in dp_retrain_link_dp_test()
584 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc,
618 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(
619 pipe_ctx->stream_res.stream_enc,
622 pipe_ctx->stream_res.stream_enc, false, NULL, true);
703 pipe_ctx->stream_res.stream_enc,
[all …]
A Ddc_link.c3274 struct stream_encoder *stream_enc, in update_mst_stream_alloc_table() argument
3312 work_table[i].stream_enc = stream_enc; in update_mst_stream_alloc_table()
3642 pipe_ctx->stream_res.stream_enc, in dc_link_reduce_mst_payload()
3707 pipe_ctx->stream_res.stream_enc, in dc_link_increase_mst_payload()
4157 pipe_ctx->stream_res.stream_enc,
4174 pipe_ctx->stream_res.stream_enc,
4182 pipe_ctx->stream_res.stream_enc,
4194 pipe_ctx->stream_res.stream_enc,
4208 pipe_ctx->stream_res.stream_enc,
4215 pipe_ctx->stream_res.stream_enc,
[all …]
A Ddc_resource.c353 if (pool->stream_enc[i] == NULL) in resource_construct()
1443 free_pipe->stream_res.stream_enc = tail_pipe->stream_res.stream_enc; in dc_add_plane_to_context()
1702 struct stream_encoder *stream_enc, in update_stream_engine_usage() argument
1708 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage()
1877 del_pipe->stream_res.stream_enc, in dc_remove_stream_from_ctx()
2025 if (pool->stream_enc[i]->id == inst) { in acquire_resource_from_hw_enabled_state()
2027 pool->stream_enc[i]); in acquire_resource_from_hw_enabled_state()
2132 pipe_ctx->stream_res.stream_enc = in resource_map_pool_resources()
2136 if (!pipe_ctx->stream_res.stream_enc) in resource_map_pool_resources()
2141 pipe_ctx->stream_res.stream_enc, in resource_map_pool_resources()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_hw_sequencer.c655 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
659 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
701 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dce110_enable_stream()
1200 pipe_ctx->stream_res.stream_enc); in dce110_disable_stream()
1202 pipe_ctx->stream_res.stream_enc); in dce110_disable_stream()
1214 pipe_ctx->stream_res.stream_enc); in dce110_disable_stream()
1268 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, &params); in dce110_unblank_stream()
1295 pipe_ctx->stream_res.stream_enc->funcs->dp_blank(link, pipe_ctx->stream_res.stream_enc);
1313 pipe_ctx->stream_res.stream_enc->funcs->set_avmute(pipe_ctx->stream_res.stream_enc, enable);
1549 pipe_ctx->stream_res.stream_enc,
[all …]
A 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/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_hwseq.c96 …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()
228 if (fe == dc->res_pool->stream_enc[j]->id) { in dcn31_init_hw()
229 dc->res_pool->stream_enc[j]->funcs->dp_blank(dc->links[i], in dcn31_init_hw()
230 dc->res_pool->stream_enc[j]); in dcn31_init_hw()
404 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn31_update_info_frame()
414 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn31_update_info_frame()
415 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
418 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dcn31_update_info_frame()
419 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
[all …]
A Ddcn31_hpo_dp_link_encoder.c268 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()
A Ddcn31_resource.c1514 if (pool->base.stream_enc[i] != NULL) { in dcn31_resource_destruct()
1515 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct()
1516 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn31_resource_destruct()
1517 pool->base.stream_enc[i]->vpg = NULL; in dcn31_resource_destruct()
1519 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn31_resource_destruct()
1520 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn31_resource_destruct()
1521 pool->base.stream_enc[i]->afmt = NULL; in dcn31_resource_destruct()
1523 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn31_resource_destruct()
1524 pool->base.stream_enc[i] = NULL; in dcn31_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A 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(dc->links[i], in dcn30_init_hw()
563 dc->res_pool->stream_enc[j]); in dcn30_init_hw()
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()
699 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
703 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
712 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn30_program_dmdata_engine() local
726 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn30_program_dmdata_engine()
[all …]
A Ddcn30_resource.c1214 if (pool->base.stream_enc[i] != NULL) { in dcn30_resource_destruct()
1215 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct()
1216 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct()
1217 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
1219 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn30_resource_destruct()
1220 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn30_resource_destruct()
1221 pool->base.stream_enc[i]->afmt = NULL; in dcn30_resource_destruct()
1223 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn30_resource_destruct()
1224 pool->base.stream_enc[i] = NULL; in dcn30_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
A Ddcn20_clk_mgr.c149 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_update_clocks_update_dentist() local
156 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn20_update_clocks_update_dentist()
158 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn20_update_clocks_update_dentist()
159 stream_enc); in dcn20_update_clocks_update_dentist()
179 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_update_clocks_update_dentist() local
187 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn20_update_clocks_update_dentist()
189 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn20_update_clocks_update_dentist()
190 stream_enc); in dcn20_update_clocks_update_dentist()
/linux/drivers/gpu/drm/amd/display/dc/dce100/
A 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/drivers/gpu/drm/amd/display/dc/dcn301/
A Ddcn301_resource.c1068 if (pool->base.stream_enc[i] != NULL) { in dcn301_destruct()
1069 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct()
1070 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct()
1071 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct()
1073 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn301_destruct()
1074 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn301_destruct()
1075 pool->base.stream_enc[i]->afmt = NULL; in dcn301_destruct()
1077 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn301_destruct()
1078 pool->base.stream_enc[i] = NULL; in dcn301_destruct()
/linux/drivers/gpu/drm/amd/display/dc/dcn302/
A Ddcn302_resource.c1137 if (pool->stream_enc[i] != NULL) { in dcn302_resource_destruct()
1138 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
1139 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
1140 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
1142 if (pool->stream_enc[i]->afmt != NULL) { in dcn302_resource_destruct()
1143 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn302_resource_destruct()
1144 pool->stream_enc[i]->afmt = NULL; in dcn302_resource_destruct()
1146 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn302_resource_destruct()
1147 pool->stream_enc[i] = NULL; in dcn302_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/dcn303/
A 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/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_hwseq.c2149 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn20_unblank_stream()
2150 pipe_ctx->stream_res.stream_enc, params.opp_cnt > 1); in dcn20_unblank_stream()
2151 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, &params); in dcn20_unblank_stream()
2179 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn20_reset_back_end_for_pipe()
2414 link_enc, pipe_ctx->stream_res.stream_enc->id, true); in dcn20_enable_stream()
2448 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc); in dcn20_enable_stream()
2457 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_program_dmdata_engine() local
2471 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn20_program_dmdata_engine()
2474 stream_enc->funcs->set_dynamic_metadata(stream_enc, enable, in dcn20_program_dmdata_engine()
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A 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 (link->ep_type == DISPLAY_ENDPOINT_PHY && 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()
A 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()
A Ddcn10_hw_sequencer.c420 struct stream_encoder *enc = pool->stream_enc[i]; in dcn10_log_hw_state()
973 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn10_reset_back_end_for_pipe()
1497 if (fe == dc->res_pool->stream_enc[j]->id) { in dcn10_init_hw()
1498 dc->res_pool->stream_enc[j]->funcs->dp_blank(dc->links[i], in dcn10_init_hw()
1499 dc->res_pool->stream_enc[j]); in dcn10_init_hw()
1869 if (!pipe_ctx->stream_res.stream_enc || !pipe_ctx->stream_res.tg) in delay_cursor_until_vupdate()
3692 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, &params); in dcn10_unblank_stream()
3705 pipe_ctx->stream_res.stream_enc->funcs->send_immediate_sdp_message( in dcn10_send_immediate_sdp_message()
3706 pipe_ctx->stream_res.stream_enc, in dcn10_send_immediate_sdp_message()
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Dcore_types.h218 struct stream_encoder *stream_enc[MAX_PIPES * 2]; member
309 struct stream_encoder *stream_enc; member
/linux/drivers/gpu/drm/amd/display/dc/dce/
A 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/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_resource.c920 if (pool->base.stream_enc[i] != NULL) { in dcn201_resource_destruct()
921 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn201_resource_destruct()
922 pool->base.stream_enc[i] = NULL; in dcn201_resource_destruct()
A Ddcn201_hwseq.c624 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, &params); in dcn201_unblank_stream()
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc_link.h47 const struct stream_encoder *stream_enc; member
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp_psp.h107 uint32_t stream_enc; member

Completed in 83 milliseconds

12