Home
last modified time | relevance | path

Searched refs:hpo_dp_stream_enc (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.15/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_hpo_dp.c37 pipe_ctx->stream_res.hpo_dp_stream_enc; in set_hpo_dp_throttled_vcp_size()
51 pipe_ctx->stream_res.hpo_dp_stream_enc; in set_hpo_dp_hblank_min_symbol_width()
76 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; 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()
92 struct hpo_dp_stream_encoder *stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in setup_hpo_dp_stream_attribute()
181 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_audio_setup( in setup_hpo_dp_audio_output()
182 pipe_ctx->stream_res.hpo_dp_stream_enc, in setup_hpo_dp_audio_output()
189 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_audio_enable( in enable_hpo_dp_audio_packet()
190 pipe_ctx->stream_res.hpo_dp_stream_enc); in enable_hpo_dp_audio_packet()
196 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_audio_disable( in disable_hpo_dp_audio_packet()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c891 pipe_ctx->stream_res.hpo_dp_stream_enc, in link_set_dsc_on_stream()
979 pipe_ctx->stream_res.hpo_dp_stream_enc, in link_set_dsc_pps_packet()
1288 work_table[i].hpo_dp_stream_enc = hpo_dp_stream_enc; in update_mst_stream_alloc_table()
1309 if (hpo_dp_stream_enc) { in remove_stream_from_alloc_table()
1311 if (hpo_dp_stream_enc == table->stream_allocations[i].hpo_dp_stream_enc) in remove_stream_from_alloc_table()
1368 pipe_ctx->stream_res.hpo_dp_stream_enc, in deallocate_mst_payload()
1380 pipe_ctx->stream_res.hpo_dp_stream_enc); in deallocate_mst_payload()
1455 pipe_ctx->stream_res.hpo_dp_stream_enc, in allocate_mst_payload()
1694 proposed_table.stream_allocations[0].hpo_dp_stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in update_sst_payload()
1777 pipe_ctx->stream_res.hpo_dp_stream_enc, in link_reduce_mst_payload()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
H A Ddcn31_hwseq.c104 …dc->res_pool->hpo_dp_stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->hpo_dp_stream_enc[i]->… in enable_memory_low_power()
399 if (pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dcn31_update_info_frame()
400 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dcn31_update_info_frame()
401 pipe_ctx->stream_res.hpo_dp_stream_enc, in dcn31_update_info_frame()
404 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->update_dp_info_packets( in dcn31_update_info_frame()
405 pipe_ctx->stream_res.hpo_dp_stream_enc, in dcn31_update_info_frame()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c109 …dc->res_pool->hpo_dp_stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->hpo_dp_stream_enc[i]->…
1009 dc->res_pool->hpo_dp_stream_enc[i]) { in dcn35_calc_blocks_to_gate()
1049 if (pipe_ctx->stream_res.hpo_dp_stream_enc) in dcn35_calc_blocks_to_gate()
1050 …update_state->pg_pipe_res_update[PG_DPSTREAM][pipe_ctx->stream_res.hpo_dp_stream_enc->inst] = fals… in dcn35_calc_blocks_to_gate()
1130 if (j == PG_DPSTREAM && new_pipe->stream_res.hpo_dp_stream_enc) in dcn35_calc_blocks_to_ungate()
1131 update_state->pg_pipe_res_update[j][new_pipe->stream_res.hpo_dp_stream_enc->inst] = true; in dcn35_calc_blocks_to_ungate()
1163 cur_pipe->stream_res.hpo_dp_stream_enc != new_pipe->stream_res.hpo_dp_stream_enc && in dcn35_calc_blocks_to_ungate()
1164 new_pipe->stream_res.hpo_dp_stream_enc) in dcn35_calc_blocks_to_ungate()
1165 update_state->pg_pipe_res_update[j][new_pipe->stream_res.hpo_dp_stream_enc->inst] = true; in dcn35_calc_blocks_to_ungate()
1176 dc->res_pool->hpo_dp_stream_enc[i]) { in dcn35_calc_blocks_to_ungate()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1360 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn316_resource_destruct()
1361 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct()
1362 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn316_resource_destruct()
1363 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn316_resource_destruct()
1365 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct()
1366 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct()
1367 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn316_resource_destruct()
1369 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn316_resource_destruct()
1370 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn316_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1421 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn314_resource_destruct()
1422 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct()
1423 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn314_resource_destruct()
1424 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn314_resource_destruct()
1426 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct()
1427 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct()
1428 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
1430 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn314_resource_destruct()
1431 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn314_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c450 if (pool->hpo_dp_stream_enc[i] == NULL) in resource_construct()
2600 if (pool->hpo_dp_stream_enc[i] == hpo_dp_stream_enc) in update_hpo_dp_stream_engine_usage()
2891 otg_master->stream_res.hpo_dp_stream_enc, in resource_remove_otg_master_for_stream_output()
3542 pool->hpo_dp_stream_enc[i]) { in find_first_free_match_hpo_dp_stream_enc_for_link()
3544 return pool->hpo_dp_stream_enc[i]; in find_first_free_match_hpo_dp_stream_enc_for_link()
3942 pipe_ctx->stream_res.hpo_dp_stream_enc = in resource_map_pool_resources()
3951 pipe_ctx->stream_res.hpo_dp_stream_enc, in resource_map_pool_resources()
4926 if (pipe_ctx_old->stream_res.hpo_dp_stream_enc != pipe_ctx->stream_res.hpo_dp_stream_enc) in pipe_need_reprogram()
5505 pipe_ctx->stream_res.hpo_dp_stream_enc = in update_dp_encoder_resources_for_test_harness()
5514 pipe_ctx->stream_res.hpo_dp_stream_enc, in update_dp_encoder_resources_for_test_harness()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1433 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn35_resource_destruct()
1434 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn35_resource_destruct()
1435 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn35_resource_destruct()
1436 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn35_resource_destruct()
1438 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn35_resource_destruct()
1439 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn35_resource_destruct()
1440 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn35_resource_destruct()
1442 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn35_resource_destruct()
1443 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn35_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1364 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn315_resource_destruct()
1365 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct()
1366 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn315_resource_destruct()
1367 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn315_resource_destruct()
1369 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct()
1370 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct()
1371 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
1373 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn315_resource_destruct()
1374 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn315_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1364 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn31_resource_destruct()
1365 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct()
1366 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn31_resource_destruct()
1367 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn31_resource_destruct()
1369 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct()
1370 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct()
1371 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct()
1373 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn31_resource_destruct()
1374 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn31_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1351 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn321_resource_destruct()
1352 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn321_resource_destruct()
1353 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn321_resource_destruct()
1354 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn321_resource_destruct()
1356 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct()
1357 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct()
1358 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct()
1360 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn321_resource_destruct()
1361 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn321_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn36/
H A Ddcn36_resource.c1414 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn36_resource_destruct()
1415 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn36_resource_destruct()
1416 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn36_resource_destruct()
1417 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn36_resource_destruct()
1419 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn36_resource_destruct()
1420 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn36_resource_destruct()
1421 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn36_resource_destruct()
1423 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn36_resource_destruct()
1424 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn36_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c1413 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn351_resource_destruct()
1414 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn351_resource_destruct()
1415 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn351_resource_destruct()
1416 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn351_resource_destruct()
1418 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn351_resource_destruct()
1419 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn351_resource_destruct()
1420 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn351_resource_destruct()
1422 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn351_resource_destruct()
1423 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn351_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h274 struct hpo_dp_stream_encoder *hpo_dp_stream_enc[MAX_HPO_DP2_ENCODERS]; member
338 struct hpo_dp_stream_encoder *hpo_dp_stream_enc; member
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1373 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn401_resource_destruct()
1374 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn401_resource_destruct()
1375 kfree(DCN31_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn401_resource_destruct()
1376 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn401_resource_destruct()
1378 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn401_resource_destruct()
1379 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn401_resource_destruct()
1380 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn401_resource_destruct()
1382 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn401_resource_destruct()
1383 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn401_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1368 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn32_resource_destruct()
1369 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn32_resource_destruct()
1370 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn32_resource_destruct()
1371 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn32_resource_destruct()
1373 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct()
1374 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct()
1375 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()
1377 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn32_resource_destruct()
1378 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn32_resource_destruct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_utils.c189 ASSERT(pipe_ctx->stream_res.hpo_dp_stream_enc ? pipe_ctx->link_res.hpo_dp_link_enc != NULL : true); in check_dp2p0_output_encoder()
190 return (pipe_ctx->stream_res.hpo_dp_stream_enc && in check_dp2p0_output_encoder()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_utils.c162 ASSERT(pipe_ctx->stream_res.hpo_dp_stream_enc ? pipe_ctx->link_res.hpo_dp_link_enc != NULL : true); in is_dp2p0_output_encoder()
164 return (pipe_ctx->stream_res.hpo_dp_stream_enc && in is_dp2p0_output_encoder()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c540 struct hpo_dp_stream_encoder *hpo_dp_stream_enc = pool->hpo_dp_stream_enc[i]; in dcn10_log_hw_state() local
542 if (hpo_dp_stream_enc && hpo_dp_stream_enc->funcs->read_state) { in dcn10_log_hw_state()
543 hpo_dp_stream_enc->funcs->read_state(hpo_dp_stream_enc, &hpo_dp_se_state); in dcn10_log_hw_state()
546 hpo_dp_stream_enc->id - ENGINE_ID_HPO_DP_0, in dcn10_log_hw_state()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hpo/dcn31/
H A Ddcn31_hpo_dp_link_encoder.c270 const struct hpo_dp_stream_encoder *stream_enc = stream_allocation->hpo_dp_stream_enc; in dcn31_fill_stream_allocation_row_info()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c1171 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->stop_dp_info_packets( in dce110_disable_stream()
1172 pipe_ctx->stream_res.hpo_dp_stream_enc); in dce110_disable_stream()
1184 dp_hpo_inst = pipe_ctx->stream_res.hpo_dp_stream_enc->inst; in dce110_disable_stream()
1231 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_blank( in dce110_blank_stream()
1232 pipe_ctx->stream_res.hpo_dp_stream_enc); in dce110_blank_stream()
/linux-6.15/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h1003 const struct hpo_dp_stream_encoder *hpo_dp_stream_enc; member
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c1318 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_unblank( in dcn32_unblank_stream()
1319 pipe_ctx->stream_res.hpo_dp_stream_enc, in dcn32_unblank_stream()
/linux-6.15/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_capability.c371 ASSERT(pipe_ctx->stream_res.hpo_dp_stream_enc ? pipe_ctx->link_res.hpo_dp_link_enc != NULL : true); in dp_is_128b_132b_signal()
372 return (pipe_ctx->stream_res.hpo_dp_stream_enc && in dp_is_128b_132b_signal()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c892 *dp_hpo_inst = pipe_ctx->stream_res.hpo_dp_stream_enc->inst; in dcn401_enable_stream_calc()
1591 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_unblank( in dcn401_unblank_stream()
1592 pipe_ctx->stream_res.hpo_dp_stream_enc, in dcn401_unblank_stream()

12