| /linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
| A D | link_hwss_hpo_dp.c | 37 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/drivers/gpu/drm/amd/display/dc/link/ |
| A D | link_dpms.c | 867 pipe_ctx->stream_res.hpo_dp_stream_enc, in link_set_dsc_on_stream() 955 pipe_ctx->stream_res.hpo_dp_stream_enc, in link_set_dsc_pps_packet() 1264 work_table[i].hpo_dp_stream_enc = hpo_dp_stream_enc; in update_mst_stream_alloc_table() 1285 if (hpo_dp_stream_enc) { in remove_stream_from_alloc_table() 1287 if (hpo_dp_stream_enc == table->stream_allocations[i].hpo_dp_stream_enc) in remove_stream_from_alloc_table() 1344 pipe_ctx->stream_res.hpo_dp_stream_enc, in deallocate_mst_payload() 1356 pipe_ctx->stream_res.hpo_dp_stream_enc); in deallocate_mst_payload() 1431 pipe_ctx->stream_res.hpo_dp_stream_enc, in allocate_mst_payload() 1670 proposed_table.stream_allocations[0].hpo_dp_stream_enc = pipe_ctx->stream_res.hpo_dp_stream_enc; in update_sst_payload() 1753 pipe_ctx->stream_res.hpo_dp_stream_enc, in link_reduce_mst_payload() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
| A D | dcn35_hwseq.c | 109 …dc->res_pool->hpo_dp_stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->hpo_dp_stream_enc[i]->… 990 dc->res_pool->hpo_dp_stream_enc[i]) { in dcn35_calc_blocks_to_gate() 1025 if (pipe_ctx->stream_res.hpo_dp_stream_enc) in dcn35_calc_blocks_to_gate() 1026 …update_state->pg_pipe_res_update[PG_DPSTREAM][pipe_ctx->stream_res.hpo_dp_stream_enc->inst] = fals… in dcn35_calc_blocks_to_gate() 1106 if (j == PG_DPSTREAM && new_pipe->stream_res.hpo_dp_stream_enc) in dcn35_calc_blocks_to_ungate() 1107 update_state->pg_pipe_res_update[j][new_pipe->stream_res.hpo_dp_stream_enc->inst] = true; in dcn35_calc_blocks_to_ungate() 1139 cur_pipe->stream_res.hpo_dp_stream_enc != new_pipe->stream_res.hpo_dp_stream_enc && in dcn35_calc_blocks_to_ungate() 1140 new_pipe->stream_res.hpo_dp_stream_enc) in dcn35_calc_blocks_to_ungate() 1141 update_state->pg_pipe_res_update[j][new_pipe->stream_res.hpo_dp_stream_enc->inst] = true; in dcn35_calc_blocks_to_ungate() 1152 dc->res_pool->hpo_dp_stream_enc[i]) { in dcn35_calc_blocks_to_ungate()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
| A D | dcn316_resource.c | 1361 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn316_resource_destruct() 1362 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct() 1363 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn316_resource_destruct() 1364 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn316_resource_destruct() 1366 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct() 1367 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct() 1368 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn316_resource_destruct() 1370 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn316_resource_destruct() 1371 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn316_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
| A D | dcn31_hwseq.c | 102 …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() 397 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->update_dp_info_packets( in dcn31_update_info_frame() 398 pipe_ctx->stream_res.hpo_dp_stream_enc, in dcn31_update_info_frame()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
| A D | dcn314_resource.c | 1422 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn314_resource_destruct() 1423 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct() 1424 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn314_resource_destruct() 1425 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn314_resource_destruct() 1427 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct() 1428 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct() 1429 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct() 1431 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn314_resource_destruct() 1432 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn314_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| A D | dc_resource.c | 444 if (pool->hpo_dp_stream_enc[i] == NULL) in resource_construct() 2520 if (pool->hpo_dp_stream_enc[i] == hpo_dp_stream_enc) in update_hpo_dp_stream_engine_usage() 2655 otg_master->stream_res.hpo_dp_stream_enc, in resource_remove_otg_master_for_stream_output() 3301 pool->hpo_dp_stream_enc[i]) { in find_first_free_match_hpo_dp_stream_enc_for_link() 3303 return pool->hpo_dp_stream_enc[i]; in find_first_free_match_hpo_dp_stream_enc_for_link() 3691 pipe_ctx->stream_res.hpo_dp_stream_enc = in resource_map_pool_resources() 3700 pipe_ctx->stream_res.hpo_dp_stream_enc, in resource_map_pool_resources() 4636 if (pipe_ctx_old->stream_res.hpo_dp_stream_enc != pipe_ctx->stream_res.hpo_dp_stream_enc) in pipe_need_reprogram() 5184 pipe_ctx->stream_res.hpo_dp_stream_enc = in update_dp_encoder_resources_for_test_harness() 5193 pipe_ctx->stream_res.hpo_dp_stream_enc, in update_dp_encoder_resources_for_test_harness() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| A D | dcn31_resource.c | 1365 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn31_resource_destruct() 1366 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct() 1367 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn31_resource_destruct() 1368 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn31_resource_destruct() 1370 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct() 1371 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct() 1372 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct() 1374 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn31_resource_destruct() 1375 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn31_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| A D | dcn315_resource.c | 1365 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn315_resource_destruct() 1366 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct() 1367 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn315_resource_destruct() 1368 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn315_resource_destruct() 1370 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct() 1371 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct() 1372 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct() 1374 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn315_resource_destruct() 1375 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn315_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
| A D | dcn35_resource.c | 1434 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn35_resource_destruct() 1435 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn35_resource_destruct() 1436 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn35_resource_destruct() 1437 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn35_resource_destruct() 1439 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn35_resource_destruct() 1440 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn35_resource_destruct() 1441 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn35_resource_destruct() 1443 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn35_resource_destruct() 1444 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn35_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
| A D | dcn321_resource.c | 1352 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn321_resource_destruct() 1353 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn321_resource_destruct() 1354 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn321_resource_destruct() 1355 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn321_resource_destruct() 1357 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct() 1358 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct() 1359 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct() 1361 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn321_resource_destruct() 1362 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn321_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| A D | dcn351_resource.c | 1414 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn351_resource_destruct() 1415 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn351_resource_destruct() 1416 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn351_resource_destruct() 1417 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn351_resource_destruct() 1419 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn351_resource_destruct() 1420 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn351_resource_destruct() 1421 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn351_resource_destruct() 1423 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn351_resource_destruct() 1424 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn351_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/ |
| A D | core_types.h | 271 struct hpo_dp_stream_encoder *hpo_dp_stream_enc[MAX_HPO_DP2_ENCODERS]; member 335 struct hpo_dp_stream_encoder *hpo_dp_stream_enc; member
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/ |
| A D | dcn401_resource.c | 1350 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn401_resource_destruct() 1351 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn401_resource_destruct() 1352 kfree(DCN31_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn401_resource_destruct() 1353 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn401_resource_destruct() 1355 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn401_resource_destruct() 1356 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn401_resource_destruct() 1357 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn401_resource_destruct() 1359 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn401_resource_destruct() 1360 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn401_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| A D | dcn32_resource.c | 1369 if (pool->base.hpo_dp_stream_enc[i] != NULL) { in dcn32_resource_destruct() 1370 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn32_resource_destruct() 1371 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn32_resource_destruct() 1372 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn32_resource_destruct() 1374 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct() 1375 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct() 1376 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct() 1378 kfree(DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(pool->base.hpo_dp_stream_enc[i])); in dcn32_resource_destruct() 1379 pool->base.hpo_dp_stream_enc[i] = NULL; in dcn32_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
| A D | dml21_utils.c | 276 ASSERT(pipe_ctx->stream_res.hpo_dp_stream_enc ? pipe_ctx->link_res.hpo_dp_link_enc != NULL : true); in check_dp2p0_output_encoder() 277 return (pipe_ctx->stream_res.hpo_dp_stream_enc && in check_dp2p0_output_encoder()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2/ |
| A D | dml2_utils.c | 162 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()
|
| A D | dml2_translation_helper.c | 1256 current_pipe_context->stream_res.hpo_dp_stream_enc && in dml2_map_hpo_stream_encoder_to_hpo_link_encoder_index() 1259 …atch.hpo_stream_to_link_encoder_mapping[current_pipe_context->stream_res.hpo_dp_stream_enc->inst] = in dml2_map_hpo_stream_encoder_to_hpo_link_encoder_index()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
| A D | dcn10_hwseq.c | 539 struct hpo_dp_stream_encoder *hpo_dp_stream_enc = pool->hpo_dp_stream_enc[i]; in dcn10_log_hw_state() local 541 if (hpo_dp_stream_enc && hpo_dp_stream_enc->funcs->read_state) { in dcn10_log_hw_state() 542 hpo_dp_stream_enc->funcs->read_state(hpo_dp_stream_enc, &hpo_dp_se_state); in dcn10_log_hw_state() 545 hpo_dp_stream_enc->id - ENGINE_ID_HPO_DP_0, in dcn10_log_hw_state()
|
| /linux/drivers/gpu/drm/amd/display/dc/hpo/dcn31/ |
| A D | dcn31_hpo_dp_link_encoder.c | 270 const struct hpo_dp_stream_encoder *stream_enc = stream_allocation->hpo_dp_stream_enc; in fill_stream_allocation_row_info()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| A D | dce110_hwseq.c | 1165 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->stop_dp_info_packets( in dce110_disable_stream() 1166 pipe_ctx->stream_res.hpo_dp_stream_enc); in dce110_disable_stream() 1178 dp_hpo_inst = pipe_ctx->stream_res.hpo_dp_stream_enc->inst; in dce110_disable_stream() 1225 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_blank( in dce110_blank_stream() 1226 pipe_ctx->stream_res.hpo_dp_stream_enc); in dce110_blank_stream()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| A D | dc_types.h | 979 const struct hpo_dp_stream_encoder *hpo_dp_stream_enc; member
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| A D | dcn401_hwseq.c | 960 *dp_hpo_inst = pipe_ctx->stream_res.hpo_dp_stream_enc->inst; in dcn401_enable_stream_calc() 1642 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_unblank( in dcn401_unblank_stream() 1643 pipe_ctx->stream_res.hpo_dp_stream_enc, in dcn401_unblank_stream()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| A D | dcn32_hwseq.c | 1313 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_unblank( in dcn32_unblank_stream() 1314 pipe_ctx->stream_res.hpo_dp_stream_enc, in dcn32_unblank_stream()
|
| /linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| A D | link_dp_capability.c | 365 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() 366 return (pipe_ctx->stream_res.hpo_dp_stream_enc && in dp_is_128b_132b_signal()
|