| /linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
| H A D | link_hwss_dio.c | 42 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in set_dio_throttled_vcp_size() 52 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in setup_dio_stream_encoder() local 63 pipe_ctx->stream_res.stream_enc->id, true); in setup_dio_stream_encoder() 67 if (stream_enc->funcs->enable_stream) in setup_dio_stream_encoder() 68 stream_enc->funcs->enable_stream(stream_enc, in setup_dio_stream_encoder() 70 if (stream_enc->funcs->map_stream_to_link) in setup_dio_stream_encoder() 71 stream_enc->funcs->map_stream_to_link(stream_enc, in setup_dio_stream_encoder() 72 stream_enc->stream_enc_inst, link_enc->transmitter - TRANSMITTER_UNIPHY_A); in setup_dio_stream_encoder() 73 if (stream_enc->funcs->set_input_mode) in setup_dio_stream_encoder() 74 stream_enc->funcs->set_input_mode(stream_enc, in setup_dio_stream_encoder() [all …]
|
| H A D | link_hwss_hpo_dp.c | 76 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 D | link_hwss_hpo_frl.c | 31 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 D | link_dpms.c | 136 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() 683 config.dig_fe = (uint8_t) pipe_ctx->stream_res.stream_enc->stream_enc_inst; in update_psp_stream_config() 686 config.stream_enc_idx = pipe_ctx->stream_res.stream_enc->id - ENGINE_ID_DIGA; in update_psp_stream_config() 867 …_DSC("Setting stream encoder DSC config for engine %d:", (int)pipe_ctx->stream_res.stream_enc->id); in link_set_dsc_on_stream() 869 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config) in link_set_dsc_on_stream() 870 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc, in link_set_dsc_on_stream() 900 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config) in link_set_dsc_on_stream() 901 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 D | dcn20_clk_mgr.c | 156 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/dcn31/ |
| H A D | dcn31_hwseq.c | 100 …if (dc->debug.enable_mem_low_power.bits.vpg && dc->res_pool->stream_enc[0]->vpg->funcs->vpg_powerd… in enable_memory_low_power() 103 if (dc->res_pool->stream_enc[i]->vpg) in enable_memory_low_power() 104 dc->res_pool->stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->stream_enc[i]->vpg); in enable_memory_low_power() 383 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn31_update_info_frame() 393 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn31_update_info_frame() 394 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame() 407 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dcn31_update_info_frame() 408 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dcn31_update_info_frame() 409 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame() 412 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dcn31_update_info_frame() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 838 if (dc_is_hdmi_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL) { in dcn30_set_avmute() 839 pipe_ctx->stream_res.stream_enc->funcs->set_avmute( in dcn30_set_avmute() 840 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute() 861 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn30_update_info_frame() 871 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dcn30_update_info_frame() 872 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame() 875 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dcn30_update_info_frame() 876 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dcn30_update_info_frame() 877 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame() 880 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dcn30_update_info_frame() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 638 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame() 648 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame() 649 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame() 652 if (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->funcs->update_dp_info_packets_sdp_line_num( in dce110_update_info_frame() 654 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame() 657 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame() 658 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame() 1147 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dce110_disable_stream() local 1153 pipe_ctx->stream_res.stream_enc->funcs->stop_hdmi_info_packets( in dce110_disable_stream() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
| H A D | dcn32_clk_mgr.c | 375 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn32_update_clocks_update_dentist() local 382 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn32_update_clocks_update_dentist() 384 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn32_update_clocks_update_dentist() 385 stream_enc); in dcn32_update_clocks_update_dentist() 428 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn32_update_clocks_update_dentist() local 436 if (!stream_enc->funcs->get_fifo_cal_average_level) in dcn32_update_clocks_update_dentist() 438 fifo_level = stream_enc->funcs->get_fifo_cal_average_level( in dcn32_update_clocks_update_dentist() 439 stream_enc); in dcn32_update_clocks_update_dentist()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/ |
| H A D | dcn10_resource.c | 934 if (pool->base.stream_enc[i] != NULL) { in dcn10_resource_destruct() 935 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn10_resource_destruct() 936 pool->base.stream_enc[i] = NULL; in dcn10_resource_destruct() 1272 pool->stream_enc[i]) { in dcn10_find_first_free_match_stream_enc_for_link() 1277 if (pool->stream_enc[i]->id != ENGINE_ID_VIRTUAL) in dcn10_find_first_free_match_stream_enc_for_link() 1280 if (link->ep_type == DISPLAY_ENDPOINT_PHY && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link() 1282 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link() 1284 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link() 1286 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link() 1295 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 D | dcn303_resource.c | 968 if (pool->stream_enc[i] != NULL) { in dcn303_resource_destruct() 969 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct() 970 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct() 971 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct() 973 if (pool->stream_enc[i]->afmt != NULL) { in dcn303_resource_destruct() 974 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn303_resource_destruct() 975 pool->stream_enc[i]->afmt = NULL; in dcn303_resource_destruct() 977 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn303_resource_destruct() 978 pool->stream_enc[i] = NULL; in dcn303_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/ |
| H A D | dcn302_resource.c | 1024 if (pool->stream_enc[i] != NULL) { in dcn302_resource_destruct() 1025 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct() 1026 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct() 1027 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct() 1029 if (pool->stream_enc[i]->afmt != NULL) { in dcn302_resource_destruct() 1030 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn302_resource_destruct() 1031 pool->stream_enc[i]->afmt = NULL; in dcn302_resource_destruct() 1033 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn302_resource_destruct() 1034 pool->stream_enc[i] = NULL; in dcn302_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/hpo/dcn31/ |
| H A D | dcn31_hpo_dp_link_encoder.c | 270 const struct hpo_dp_stream_encoder *stream_enc = stream_allocation->hpo_dp_stream_enc; in dcn31_fill_stream_allocation_row_info() local 272 if (stream_enc && (stream_enc->id >= ENGINE_ID_HPO_DP_0)) { in dcn31_fill_stream_allocation_row_info() 273 *src = stream_enc->id - ENGINE_ID_HPO_DP_0; in dcn31_fill_stream_allocation_row_info()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce100/ |
| H A D | dce100_resource.c | 820 if (pool->base.stream_enc[i] != NULL) in dce100_resource_destruct() 821 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce100_resource_destruct() 989 pool->stream_enc[i]) { in dce100_find_first_free_match_stream_enc_for_link() 994 if (pool->stream_enc[i]->id == preferred_engine) in dce100_find_first_free_match_stream_enc_for_link() 995 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link() 1013 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 D | dcn301_resource.c | 1070 if (pool->base.stream_enc[i] != NULL) { in dcn301_destruct() 1071 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct() 1072 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct() 1073 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct() 1075 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn301_destruct() 1076 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn301_destruct() 1077 pool->base.stream_enc[i]->afmt = NULL; in dcn301_destruct() 1079 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn301_destruct() 1080 pool->base.stream_enc[i] = NULL; in dcn301_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 478 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 …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
| H A D | dcn314_resource.c | 1437 if (pool->base.stream_enc[i] != NULL) { in dcn314_resource_destruct() 1438 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct() 1439 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn314_resource_destruct() 1440 pool->base.stream_enc[i]->vpg = NULL; in dcn314_resource_destruct() 1442 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn314_resource_destruct() 1443 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn314_resource_destruct() 1444 pool->base.stream_enc[i]->afmt = NULL; in dcn314_resource_destruct() 1446 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn314_resource_destruct() 1447 pool->base.stream_enc[i] = NULL; in dcn314_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
| H A D | dcn316_resource.c | 1374 if (pool->base.stream_enc[i] != NULL) { in dcn316_resource_destruct() 1375 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct() 1376 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn316_resource_destruct() 1377 pool->base.stream_enc[i]->vpg = NULL; in dcn316_resource_destruct() 1379 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn316_resource_destruct() 1380 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn316_resource_destruct() 1381 pool->base.stream_enc[i]->afmt = NULL; in dcn316_resource_destruct() 1383 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn316_resource_destruct() 1384 pool->base.stream_enc[i] = NULL; in dcn316_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| H A D | dcn351_resource.c | 1430 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/dcn31/ |
| H A D | dcn31_resource.c | 1378 if (pool->base.stream_enc[i] != NULL) { in dcn31_resource_destruct() 1379 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct() 1380 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn31_resource_destruct() 1381 pool->base.stream_enc[i]->vpg = NULL; in dcn31_resource_destruct() 1383 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn31_resource_destruct() 1384 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn31_resource_destruct() 1385 pool->base.stream_enc[i]->afmt = NULL; in dcn31_resource_destruct() 1387 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn31_resource_destruct() 1388 pool->base.stream_enc[i] = NULL; in dcn31_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
| H A D | dcn321_resource.c | 1367 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/dcn36/ |
| H A D | dcn36_resource.c | 1437 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/dcn35/ |
| H A D | dcn35_resource.c | 1450 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/dcn315/ |
| H A D | dcn315_resource.c | 1379 if (pool->base.stream_enc[i] != NULL) { in dcn315_resource_destruct() 1380 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct() 1381 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn315_resource_destruct() 1382 pool->base.stream_enc[i]->vpg = NULL; in dcn315_resource_destruct() 1384 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn315_resource_destruct() 1385 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn315_resource_destruct() 1386 pool->base.stream_enc[i]->afmt = NULL; in dcn315_resource_destruct() 1388 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn315_resource_destruct() 1389 pool->base.stream_enc[i] = NULL; in dcn315_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.c | 2774 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine) in dcn20_unblank_stream() 2775 pipe_ctx->stream_res.stream_enc->funcs->dp_set_odm_combine( in dcn20_unblank_stream() 2776 pipe_ctx->stream_res.stream_enc, params.opp_cnt > 1); in dcn20_unblank_stream() 2777 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, ¶ms); in dcn20_unblank_stream() 2808 if (pipe_ctx->stream_res.stream_enc == NULL) { in dcn20_reset_back_end_for_pipe() 3024 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_enable_stream() local 3051 dccg->funcs->disable_symclk_se(dccg, stream_enc->stream_enc_inst, in dcn20_enable_stream() 3054 dccg->funcs->enable_symclk_se(dccg, stream_enc->stream_enc_inst, in dcn20_enable_stream() 3098 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_program_dmdata_engine() local 3112 if (!stream_enc || !stream_enc->funcs->set_dynamic_metadata) in dcn20_program_dmdata_engine() [all …]
|