Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_hpo_dp.c76 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in setup_hpo_dp_stream_encoder() local
79 stream_enc->funcs->enable_stream(stream_enc); in setup_hpo_dp_stream_encoder()
80 stream_enc->funcs->map_stream_to_link(stream_enc, stream_enc->inst, link_enc->inst); in setup_hpo_dp_stream_encoder()
85 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in reset_hpo_dp_stream_encoder() local
87 stream_enc->funcs->disable(stream_enc); in reset_hpo_dp_stream_encoder()
92 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in setup_hpo_dp_stream_attribute() local
96 stream_enc->funcs->set_stream_attribute( in setup_hpo_dp_stream_attribute()
97 stream_enc, in setup_hpo_dp_stream_attribute()
/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.c135 if (fe == dc->res_pool->stream_enc[j]->id) { in link_blank_dp_stream()
136 dc->res_pool->stream_enc[j]->funcs->dp_blank(link, in link_blank_dp_stream()
137 dc->res_pool->stream_enc[j]); in link_blank_dp_stream()
682 config.dig_fe = (uint8_t) pipe_ctx->stream_res.stream_enc->stream_enc_inst; in update_psp_stream_config()
685 config.stream_enc_idx = pipe_ctx->stream_res.stream_enc->id - ENGINE_ID_DIGA; in update_psp_stream_config()
865 …_DSC("Setting stream encoder DSC config for engine %d:", (int)pipe_ctx->stream_res.stream_enc->id); in link_set_dsc_on_stream()
867 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config) in link_set_dsc_on_stream()
868 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc, in link_set_dsc_on_stream()
898 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config) in link_set_dsc_on_stream()
899 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.c637 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame()
647 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame()
648 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
651 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dce110_update_info_frame()
652 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dce110_update_info_frame()
653 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
656 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame()
657 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
1182 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dce110_disable_stream() local
1188 pipe_ctx->stream_res.stream_enc->funcs->stop_hdmi_info_packets( in dce110_disable_stream()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c478 pool->stream_enc[i] = create_funcs->create_stream_encoder(i, ctx); in resource_construct()
479 if (pool->stream_enc[i] == NULL) in resource_construct()
485 pool->stream_enc[caps->num_stream_encoder + i] = in resource_construct()
487 if (pool->stream_enc[caps->num_stream_encoder + i] == NULL) in resource_construct()
528 pool->stream_enc[pool->stream_enc_count] = in resource_construct()
531 if (pool->stream_enc[pool->stream_enc_count] == NULL) { in resource_construct()
2631 struct stream_encoder *stream_enc, in update_stream_engine_usage() argument
2637 if (pool->stream_enc[i] == stream_enc) in update_stream_engine_usage()
2775 (res_ctx->pipe_ctx[i].stream_res.stream_enc != NULL)) { in find_free_dio_link_enc()
2776 stream_enc_inst = res_ctx->pipe_ctx[i].stream_res.stream_enc->id; in find_free_dio_link_enc()
[all …]
H A Ddc.c1468 if (dc->res_pool->stream_enc[j]->id == enc_inst) { in disable_vbios_mode_if_required()
1469 tg_inst = dc->res_pool->stream_enc[j]->funcs->dig_source_otg( in disable_vbios_mode_if_required()
1470 dc->res_pool->stream_enc[j]); in disable_vbios_mode_if_required()
1816 if (dc->res_pool->stream_enc[i]->id == enc_inst) { in dc_validate_boot_timing()
1818 se = dc->res_pool->stream_enc[i]; in dc_validate_boot_timing()
1820 tg_inst = dc->res_pool->stream_enc[i]->funcs->dig_source_otg( in dc_validate_boot_timing()
1821 dc->res_pool->stream_enc[i]); in dc_validate_boot_timing()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1421 if (pool->base.stream_enc[i] != NULL) { in dcn35_resource_destruct()
1422 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn35_resource_destruct()
1423 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn35_resource_destruct()
1424 pool->base.stream_enc[i]->vpg = NULL; in dcn35_resource_destruct()
1426 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn35_resource_destruct()
1427 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn35_resource_destruct()
1428 pool->base.stream_enc[i]->afmt = NULL; in dcn35_resource_destruct()
1430 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn35_resource_destruct()
1431 pool->base.stream_enc[i] = NULL; in dcn35_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c1401 if (pool->base.stream_enc[i] != NULL) { in dcn351_resource_destruct()
1402 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn351_resource_destruct()
1403 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn351_resource_destruct()
1404 pool->base.stream_enc[i]->vpg = NULL; in dcn351_resource_destruct()
1406 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn351_resource_destruct()
1407 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn351_resource_destruct()
1408 pool->base.stream_enc[i]->afmt = NULL; in dcn351_resource_destruct()
1410 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn351_resource_destruct()
1411 pool->base.stream_enc[i] = NULL; in dcn351_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c2789 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine) in dcn20_unblank_stream()
2790 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn20_unblank_stream()
2791 pipe_ctx->stream_res.stream_enc, params.opp_cnt > 1); in dcn20_unblank_stream()
2792 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, &params); in dcn20_unblank_stream()
2823 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn20_reset_back_end_for_pipe()
3039 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_enable_stream() local
3062 dccg->funcs->enable_symclk_se(dccg, stream_enc->stream_enc_inst, in dcn20_enable_stream()
3105 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_program_dmdata_engine() local
3119 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn20_program_dmdata_engine()
3122 stream_enc->funcs->set_dynamic_metadata(stream_enc, enable, in dcn20_program_dmdata_engine()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c609 …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/modules/hdcp/
H A Dhdcp_psp.h116 uint32_t stream_enc; member
H A Dhdcp_psp.c194 dtm_cmd->dtm_in_message.topology_update_v3.stream_enc = display->stream_enc_idx; in add_display_to_topology_v3()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c955 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn401_enable_stream() local
972 dccg->funcs->enable_symclk_se(dccg, stream_enc->stream_enc_inst, in dcn401_enable_stream()
1762 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, &params); in dcn401_unblank_stream()
1952 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn401_reset_back_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h1031 const struct stream_encoder *stream_enc; member