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/link/
H A Dlink_hwss_hpo_frl.c31 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()
H A Dlink_dpms.c136 if (fe == dc->res_pool->stream_enc[j]->id) { in link_blank_dp_stream()
137 dc->res_pool->stream_enc[j]->funcs->dp_blank(link, in link_blank_dp_stream()
138 dc->res_pool->stream_enc[j]); in link_blank_dp_stream()
546 config.dig_fe = (uint8_t) pipe_ctx->stream_res.stream_enc->stream_enc_inst; in update_psp_stream_config()
549 config.stream_enc_idx = pipe_ctx->stream_res.stream_enc->id - ENGINE_ID_DIGA; in update_psp_stream_config()
730 …_DSC("Setting stream encoder DSC config for engine %d:", (int)pipe_ctx->stream_res.stream_enc->id); in link_set_dsc_on_stream()
732 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config) in link_set_dsc_on_stream()
733 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc, in link_set_dsc_on_stream()
763 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config) in link_set_dsc_on_stream()
764 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config( in link_set_dsc_on_stream()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.c156 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/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c642 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame()
652 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame()
653 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
656 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dce110_update_info_frame()
657 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dce110_update_info_frame()
658 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
661 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame()
662 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
1211 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dce110_disable_stream() local
1217 pipe_ctx->stream_res.stream_enc->funcs->stop_hdmi_info_packets( in dce110_disable_stream()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c935 if (pool->base.stream_enc[i] != NULL) { in dcn10_resource_destruct()
936 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn10_resource_destruct()
937 pool->base.stream_enc[i] = NULL; in dcn10_resource_destruct()
1275 pool->stream_enc[i]) { in dcn10_find_first_free_match_stream_enc_for_link()
1280 if (pool->stream_enc[i]->id != ENGINE_ID_VIRTUAL) in dcn10_find_first_free_match_stream_enc_for_link()
1283 if (link->ep_type == DISPLAY_ENDPOINT_PHY && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link()
1285 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link()
1287 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link()
1289 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link()
1298 return pool->stream_enc[j]; in dcn10_find_first_free_match_stream_enc_for_link()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c969 if (pool->stream_enc[i] != NULL) { in dcn303_resource_destruct()
970 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct()
971 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct()
972 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()
974 if (pool->stream_enc[i]->afmt != NULL) { in dcn303_resource_destruct()
975 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn303_resource_destruct()
976 pool->stream_enc[i]->afmt = NULL; in dcn303_resource_destruct()
978 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn303_resource_destruct()
979 pool->stream_enc[i] = NULL; in dcn303_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c1025 if (pool->stream_enc[i] != NULL) { in dcn302_resource_destruct()
1026 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
1027 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
1028 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
1030 if (pool->stream_enc[i]->afmt != NULL) { in dcn302_resource_destruct()
1031 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn302_resource_destruct()
1032 pool->stream_enc[i]->afmt = NULL; in dcn302_resource_destruct()
1034 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn302_resource_destruct()
1035 pool->stream_enc[i] = NULL; in dcn302_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce100/
H A Ddce100_resource.c821 if (pool->base.stream_enc[i] != NULL) in dce100_resource_destruct()
822 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce100_resource_destruct()
994 pool->stream_enc[i]) { in dce100_find_first_free_match_stream_enc_for_link()
999 if (pool->stream_enc[i]->id == preferred_engine) in dce100_find_first_free_match_stream_enc_for_link()
1000 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link()
1018 return pool->stream_enc[j]; in dce100_find_first_free_match_stream_enc_for_link()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c1071 if (pool->base.stream_enc[i] != NULL) { in dcn301_destruct()
1072 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct()
1073 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct()
1074 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct()
1076 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn301_destruct()
1077 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn301_destruct()
1078 pool->base.stream_enc[i]->afmt = NULL; in dcn301_destruct()
1080 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn301_destruct()
1081 pool->base.stream_enc[i] = NULL; in dcn301_destruct()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c485 pool->stream_enc[i] = create_funcs->create_stream_encoder(i, ctx); in resource_construct()
486 if (pool->stream_enc[i] == NULL) in resource_construct()
492 pool->stream_enc[caps->num_stream_encoder + i] = in resource_construct()
494 if (pool->stream_enc[caps->num_stream_encoder + i] == NULL) in resource_construct()
535 pool->stream_enc[pool->stream_enc_count] = in resource_construct()
538 if (pool->stream_enc[pool->stream_enc_count] == NULL) { in resource_construct()
2640 struct stream_encoder *stream_enc, in update_stream_engine_usage() argument
2646 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage()
2784 (res_ctx->pipe_ctx[i].stream_res.stream_enc != NULL)) { in find_free_dio_link_enc()
2785 stream_enc_inst = res_ctx->pipe_ctx[i].stream_res.stream_enc->id; in find_free_dio_link_enc()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1438 if (pool->base.stream_enc[i] != NULL) { in dcn314_resource_destruct()
1439 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct()
1440 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn314_resource_destruct()
1441 pool->base.stream_enc[i]->vpg = NULL; in dcn314_resource_destruct()
1443 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn314_resource_destruct()
1444 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn314_resource_destruct()
1445 pool->base.stream_enc[i]->afmt = NULL; in dcn314_resource_destruct()
1447 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn314_resource_destruct()
1448 pool->base.stream_enc[i] = NULL; in dcn314_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1375 if (pool->base.stream_enc[i] != NULL) { in dcn316_resource_destruct()
1376 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct()
1377 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn316_resource_destruct()
1378 pool->base.stream_enc[i]->vpg = NULL; in dcn316_resource_destruct()
1380 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn316_resource_destruct()
1381 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn316_resource_destruct()
1382 pool->base.stream_enc[i]->afmt = NULL; in dcn316_resource_destruct()
1384 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn316_resource_destruct()
1385 pool->base.stream_enc[i] = NULL; in dcn316_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1450 if (pool->base.stream_enc[i] != NULL) { in dcn35_resource_destruct()
1451 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn35_resource_destruct()
1452 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn35_resource_destruct()
1453 pool->base.stream_enc[i]->vpg = NULL; in dcn35_resource_destruct()
1455 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn35_resource_destruct()
1456 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn35_resource_destruct()
1457 pool->base.stream_enc[i]->afmt = NULL; in dcn35_resource_destruct()
1459 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn35_resource_destruct()
1460 pool->base.stream_enc[i] = NULL; in dcn35_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1379 if (pool->base.stream_enc[i] != NULL) { in dcn31_resource_destruct()
1380 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct()
1381 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn31_resource_destruct()
1382 pool->base.stream_enc[i]->vpg = NULL; in dcn31_resource_destruct()
1384 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn31_resource_destruct()
1385 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn31_resource_destruct()
1386 pool->base.stream_enc[i]->afmt = NULL; in dcn31_resource_destruct()
1388 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn31_resource_destruct()
1389 pool->base.stream_enc[i] = NULL; in dcn31_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1380 if (pool->base.stream_enc[i] != NULL) { in dcn315_resource_destruct()
1381 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct()
1382 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn315_resource_destruct()
1383 pool->base.stream_enc[i]->vpg = NULL; in dcn315_resource_destruct()
1385 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn315_resource_destruct()
1386 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn315_resource_destruct()
1387 pool->base.stream_enc[i]->afmt = NULL; in dcn315_resource_destruct()
1389 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn315_resource_destruct()
1390 pool->base.stream_enc[i] = NULL; in dcn315_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/
H A Ddcn36_resource.c1437 if (pool->base.stream_enc[i] != NULL) { in dcn36_resource_destruct()
1438 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn36_resource_destruct()
1439 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn36_resource_destruct()
1440 pool->base.stream_enc[i]->vpg = NULL; in dcn36_resource_destruct()
1442 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn36_resource_destruct()
1443 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn36_resource_destruct()
1444 pool->base.stream_enc[i]->afmt = NULL; in dcn36_resource_destruct()
1446 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn36_resource_destruct()
1447 pool->base.stream_enc[i] = NULL; in dcn36_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1367 if (pool->base.stream_enc[i] != NULL) { in dcn321_resource_destruct()
1368 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn321_resource_destruct()
1369 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn321_resource_destruct()
1370 pool->base.stream_enc[i]->vpg = NULL; in dcn321_resource_destruct()
1372 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn321_resource_destruct()
1373 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn321_resource_destruct()
1374 pool->base.stream_enc[i]->afmt = NULL; in dcn321_resource_destruct()
1376 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn321_resource_destruct()
1377 pool->base.stream_enc[i] = NULL; in dcn321_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c1430 if (pool->base.stream_enc[i] != NULL) { in dcn351_resource_destruct()
1431 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn351_resource_destruct()
1432 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn351_resource_destruct()
1433 pool->base.stream_enc[i]->vpg = NULL; in dcn351_resource_destruct()
1435 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn351_resource_destruct()
1436 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn351_resource_destruct()
1437 pool->base.stream_enc[i]->afmt = NULL; in dcn351_resource_destruct()
1439 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn351_resource_destruct()
1440 pool->base.stream_enc[i] = NULL; in dcn351_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce110/
H A Ddce110_resource.c856 if (pool->base.stream_enc[i] != NULL) in dce110_resource_destruct()
857 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce110_resource_destruct()
1222 pool->stream_enc[i]) { in dce110_find_first_free_match_stream_enc_for_link()
1227 if (pool->stream_enc[i]->id == in dce110_find_first_free_match_stream_enc_for_link()
1229 return pool->stream_enc[i]; in dce110_find_first_free_match_stream_enc_for_link()
1238 return pool->stream_enc[j]; in dce110_find_first_free_match_stream_enc_for_link()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1100 if (pool->base.stream_enc[i] != NULL) { in dcn30_resource_destruct()
1101 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct()
1102 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct()
1103 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
1105 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn30_resource_destruct()
1106 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn30_resource_destruct()
1107 pool->base.stream_enc[i]->afmt = NULL; in dcn30_resource_destruct()
1109 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn30_resource_destruct()
1110 pool->base.stream_enc[i] = NULL; in dcn30_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1386 if (pool->base.stream_enc[i] != NULL) { in dcn32_resource_destruct()
1387 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn32_resource_destruct()
1388 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn32_resource_destruct()
1389 pool->base.stream_enc[i]->vpg = NULL; in dcn32_resource_destruct()
1391 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn32_resource_destruct()
1392 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn32_resource_destruct()
1393 pool->base.stream_enc[i]->afmt = NULL; in dcn32_resource_destruct()
1395 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn32_resource_destruct()
1396 pool->base.stream_enc[i] = NULL; in dcn32_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_link_encoder.c1633 const struct stream_encoder *stream_enc = stream_allocation->stream_enc; in fill_stream_allocation_row_info() local
1635 if (stream_enc) { in fill_stream_allocation_row_info()
1636 *src = stream_enc->id; in fill_stream_allocation_row_info()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c612 …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/resource/dcn201/
H A Ddcn201_resource.c944 if (pool->base.stream_enc[i] != NULL) { in dcn201_resource_destruct()
945 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn201_resource_destruct()
946 pool->base.stream_enc[i] = NULL; in dcn201_resource_destruct()
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_psp.h116 uint32_t stream_enc; member

12