Home
last modified time | relevance | path

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

/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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c851 if (dc_is_hdmi_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL) { in dcn30_set_avmute()
852 pipe_ctx->stream_res.stream_enc->funcs->set_avmute( in dcn30_set_avmute()
853 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute()
881 if (pipe_ctx->stream_res.stream_enc == NULL && in dcn30_update_info_frame()
893 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn30_update_info_frame()
894 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
901 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dcn30_update_info_frame()
902 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dcn30_update_info_frame()
903 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
906 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dcn30_update_info_frame()
[all …]
/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()
997 (!pool->stream_enc[i]->funcs || in dce100_find_first_free_match_stream_enc_for_link()
998 !pool->stream_enc[i]->funcs->dp_set_stream_attribute)) in dce100_find_first_free_match_stream_enc_for_link()
1004 if (pool->stream_enc[i]->id == preferred_engine) in dce100_find_first_free_match_stream_enc_for_link()
1005 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link()
1023 return pool->stream_enc[j]; in dce100_find_first_free_match_stream_enc_for_link()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c1060 if (pool->stream_enc[i] != NULL) { in dcn303_resource_destruct()
1061 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct()
1062 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct()
1063 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()
1065 if (pool->stream_enc[i]->afmt != NULL) { in dcn303_resource_destruct()
1066 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn303_resource_destruct()
1067 pool->stream_enc[i]->afmt = NULL; in dcn303_resource_destruct()
1069 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn303_resource_destruct()
1070 pool->stream_enc[i] = NULL; in dcn303_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c1116 if (pool->stream_enc[i] != NULL) { in dcn302_resource_destruct()
1117 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
1118 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
1119 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
1121 if (pool->stream_enc[i]->afmt != NULL) { in dcn302_resource_destruct()
1122 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn302_resource_destruct()
1123 pool->stream_enc[i]->afmt = NULL; in dcn302_resource_destruct()
1125 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn302_resource_destruct()
1126 pool->stream_enc[i] = NULL; in dcn302_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1487 if (pool->base.stream_enc[i] != NULL) { in dcn316_resource_destruct()
1488 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct()
1489 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn316_resource_destruct()
1490 pool->base.stream_enc[i]->vpg = NULL; in dcn316_resource_destruct()
1492 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn316_resource_destruct()
1493 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn316_resource_destruct()
1494 pool->base.stream_enc[i]->afmt = NULL; in dcn316_resource_destruct()
1496 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn316_resource_destruct()
1497 pool->base.stream_enc[i] = NULL; in dcn316_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c500 pool->stream_enc[i] = create_funcs->create_stream_encoder(i, ctx); in resource_construct()
501 if (pool->stream_enc[i] == NULL) in resource_construct()
507 pool->stream_enc[caps->num_stream_encoder + i] = in resource_construct()
509 if (pool->stream_enc[caps->num_stream_encoder + i] == NULL) in resource_construct()
569 pool->stream_enc[pool->stream_enc_count] = in resource_construct()
572 if (pool->stream_enc[pool->stream_enc_count] == NULL) { in resource_construct()
2719 struct stream_encoder *stream_enc, in update_stream_engine_usage() argument
2725 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage()
3022 (res_ctx->pipe_ctx[i].stream_res.stream_enc != NULL)) { in find_free_dio_link_enc()
3023 stream_enc_inst = res_ctx->pipe_ctx[i].stream_res.stream_enc->id; in find_free_dio_link_enc()
[all …]
H A Ddc.c1538 if (dc->res_pool->stream_enc[j]->id == enc_inst) { in disable_vbios_mode_if_required()
1539 tg_inst = dc->res_pool->stream_enc[j]->funcs->dig_source_otg( in disable_vbios_mode_if_required()
1540 dc->res_pool->stream_enc[j]); in disable_vbios_mode_if_required()
1886 if (dc->res_pool->stream_enc[i]->id == enc_inst) { in dc_validate_boot_timing()
1888 se = dc->res_pool->stream_enc[i]; in dc_validate_boot_timing()
1890 tg_inst = dc->res_pool->stream_enc[i]->funcs->dig_source_otg( in dc_validate_boot_timing()
1891 dc->res_pool->stream_enc[i]); in dc_validate_boot_timing()
4027 if (pipe_ctx->stream_res.stream_enc == NULL && in add_update_info_frame_sequence()
4130 pipe_ctx->stream_res.stream_enc, in add_link_update_dsc_config_sequence()
4157 pipe_ctx->stream_res.stream_enc, in add_link_update_dsc_config_sequence()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1550 if (pool->base.stream_enc[i] != NULL) { in dcn314_resource_destruct()
1551 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct()
1552 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn314_resource_destruct()
1553 pool->base.stream_enc[i]->vpg = NULL; in dcn314_resource_destruct()
1555 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn314_resource_destruct()
1556 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn314_resource_destruct()
1557 pool->base.stream_enc[i]->afmt = NULL; in dcn314_resource_destruct()
1559 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn314_resource_destruct()
1560 pool->base.stream_enc[i] = NULL; in dcn314_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/
H A Ddcn36_resource.c1543 if (pool->base.stream_enc[i] != NULL) { in dcn36_resource_destruct()
1544 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn36_resource_destruct()
1545 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn36_resource_destruct()
1546 pool->base.stream_enc[i]->vpg = NULL; in dcn36_resource_destruct()
1548 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn36_resource_destruct()
1549 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn36_resource_destruct()
1550 pool->base.stream_enc[i]->afmt = NULL; in dcn36_resource_destruct()
1552 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn36_resource_destruct()
1553 pool->base.stream_enc[i] = NULL; in dcn36_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1490 if (pool->base.stream_enc[i] != NULL) { in dcn31_resource_destruct()
1491 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct()
1492 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn31_resource_destruct()
1493 pool->base.stream_enc[i]->vpg = NULL; in dcn31_resource_destruct()
1495 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn31_resource_destruct()
1496 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn31_resource_destruct()
1497 pool->base.stream_enc[i]->afmt = NULL; in dcn31_resource_destruct()
1499 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn31_resource_destruct()
1500 pool->base.stream_enc[i] = NULL; in dcn31_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1556 if (pool->base.stream_enc[i] != NULL) { in dcn35_resource_destruct()
1557 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn35_resource_destruct()
1558 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn35_resource_destruct()
1559 pool->base.stream_enc[i]->vpg = NULL; in dcn35_resource_destruct()
1561 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn35_resource_destruct()
1562 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn35_resource_destruct()
1563 pool->base.stream_enc[i]->afmt = NULL; in dcn35_resource_destruct()
1565 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn35_resource_destruct()
1566 pool->base.stream_enc[i] = NULL; in dcn35_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1492 if (pool->base.stream_enc[i] != NULL) { in dcn315_resource_destruct()
1493 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct()
1494 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn315_resource_destruct()
1495 pool->base.stream_enc[i]->vpg = NULL; in dcn315_resource_destruct()
1497 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn315_resource_destruct()
1498 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn315_resource_destruct()
1499 pool->base.stream_enc[i]->afmt = NULL; in dcn315_resource_destruct()
1501 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn315_resource_destruct()
1502 pool->base.stream_enc[i] = NULL; in dcn315_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1479 if (pool->base.stream_enc[i] != NULL) { in dcn321_resource_destruct()
1480 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn321_resource_destruct()
1481 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn321_resource_destruct()
1482 pool->base.stream_enc[i]->vpg = NULL; in dcn321_resource_destruct()
1484 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn321_resource_destruct()
1485 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn321_resource_destruct()
1486 pool->base.stream_enc[i]->afmt = NULL; in dcn321_resource_destruct()
1488 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn321_resource_destruct()
1489 pool->base.stream_enc[i] = NULL; in dcn321_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c1536 if (pool->base.stream_enc[i] != NULL) { in dcn351_resource_destruct()
1537 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn351_resource_destruct()
1538 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn351_resource_destruct()
1539 pool->base.stream_enc[i]->vpg = NULL; in dcn351_resource_destruct()
1541 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn351_resource_destruct()
1542 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn351_resource_destruct()
1543 pool->base.stream_enc[i]->afmt = NULL; in dcn351_resource_destruct()
1545 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn351_resource_destruct()
1546 pool->base.stream_enc[i] = NULL; in dcn351_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/
H A Ddcn60_resource.c1626 if (pool->base.stream_enc[i] != NULL) { in dcn60_resource_destruct()
1627 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn60_resource_destruct()
1628 kfree(DCN31_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn60_resource_destruct()
1629 pool->base.stream_enc[i]->vpg = NULL; in dcn60_resource_destruct()
1631 if (pool->base.stream_enc[i]->apg != NULL) { in dcn60_resource_destruct()
1632 kfree(DCN31_APG_FROM_APG(pool->base.stream_enc[i]->apg)); in dcn60_resource_destruct()
1633 pool->base.stream_enc[i]->apg = NULL; in dcn60_resource_destruct()
1635 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn60_resource_destruct()
1636 pool->base.stream_enc[i] = NULL; in dcn60_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1511 if (pool->base.stream_enc[i] != NULL) { in dcn401_resource_destruct()
1512 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn401_resource_destruct()
1513 kfree(DCN31_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn401_resource_destruct()
1514 pool->base.stream_enc[i]->vpg = NULL; in dcn401_resource_destruct()
1516 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn401_resource_destruct()
1517 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn401_resource_destruct()
1518 pool->base.stream_enc[i]->afmt = NULL; in dcn401_resource_destruct()
1520 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn401_resource_destruct()
1521 pool->base.stream_enc[i] = NULL; in dcn401_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42/
H A Ddcn42_resource.c1491 if (pool->base.stream_enc[i] != NULL) { in dcn42_resource_destruct()
1492 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn42_resource_destruct()
1493 kfree(DCN31_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn42_resource_destruct()
1494 pool->base.stream_enc[i]->vpg = NULL; in dcn42_resource_destruct()
1496 if (pool->base.stream_enc[i]->apg != NULL) { in dcn42_resource_destruct()
1497 kfree(DCN31_APG_FROM_APG(pool->base.stream_enc[i]->apg)); in dcn42_resource_destruct()
1498 pool->base.stream_enc[i]->apg = NULL; in dcn42_resource_destruct()
1500 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn42_resource_destruct()
1501 pool->base.stream_enc[i] = NULL; in dcn42_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42b/
H A Ddcn42b_resource.c1494 if (pool->base.stream_enc[i] != NULL) { in dcn42b_resource_destruct()
1495 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn42b_resource_destruct()
1496 kfree(DCN31_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn42b_resource_destruct()
1497 pool->base.stream_enc[i]->vpg = NULL; in dcn42b_resource_destruct()
1499 if (pool->base.stream_enc[i]->apg != NULL) { in dcn42b_resource_destruct()
1500 kfree(DCN31_APG_FROM_APG(pool->base.stream_enc[i]->apg)); in dcn42b_resource_destruct()
1501 pool->base.stream_enc[i]->apg = NULL; in dcn42b_resource_destruct()
1503 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn42b_resource_destruct()
1504 pool->base.stream_enc[i] = NULL; in dcn42b_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1208 if (pool->base.stream_enc[i] != NULL) { in dcn30_resource_destruct()
1209 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct()
1210 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct()
1211 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
1213 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn30_resource_destruct()
1214 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn30_resource_destruct()
1215 pool->base.stream_enc[i]->afmt = NULL; in dcn30_resource_destruct()
1217 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn30_resource_destruct()
1218 pool->base.stream_enc[i] = NULL; in dcn30_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1504 if (pool->base.stream_enc[i] != NULL) { in dcn32_resource_destruct()
1505 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn32_resource_destruct()
1506 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn32_resource_destruct()
1507 pool->base.stream_enc[i]->vpg = NULL; in dcn32_resource_destruct()
1509 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn32_resource_destruct()
1510 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn32_resource_destruct()
1511 pool->base.stream_enc[i]->afmt = NULL; in dcn32_resource_destruct()
1513 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn32_resource_destruct()
1514 pool->base.stream_enc[i] = NULL; in dcn32_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c61 audio_output->engine_id = pipe_ctx->stream_res.stream_enc->id; in dcn60_build_audio_output()
275 pipe_ctx->stream_res.stream_enc->funcs->dig_connect_to_otg( in dcn60_apply_single_controller_ctx_to_hw()
276 pipe_ctx->stream_res.stream_enc, in dcn60_apply_single_controller_ctx_to_hw()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c228 new_pipe->stream_res.stream_enc && in dcn35_disable_otg_wa()
229 new_pipe->stream_res.stream_enc->funcs->is_fifo_enabled && in dcn35_disable_otg_wa()
230 new_pipe->stream_res.stream_enc->funcs->is_fifo_enabled(new_pipe->stream_res.stream_enc); in dcn35_disable_otg_wa()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce60/
H A Ddce60_resource.c870 if (pool->base.stream_enc[i] != NULL) in dce60_resource_destruct()
871 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce60_resource_destruct()