| /linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
| 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 | 906 if (pool->base.stream_enc[i] != NULL) { in dcn10_resource_destruct() 907 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn10_resource_destruct() 908 pool->base.stream_enc[i] = NULL; in dcn10_resource_destruct() 1239 pool->stream_enc[i]) { in dcn10_find_first_free_match_stream_enc_for_link() 1244 if (pool->stream_enc[i]->id != ENGINE_ID_VIRTUAL) in dcn10_find_first_free_match_stream_enc_for_link() 1247 if (link->ep_type == DISPLAY_ENDPOINT_PHY && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link() 1249 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link() 1251 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link() 1253 return pool->stream_enc[i]; in dcn10_find_first_free_match_stream_enc_for_link() 1262 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 | 940 if (pool->stream_enc[i] != NULL) { in dcn303_resource_destruct() 941 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct() 942 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct() 943 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct() 945 if (pool->stream_enc[i]->afmt != NULL) { in dcn303_resource_destruct() 946 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn303_resource_destruct() 947 pool->stream_enc[i]->afmt = NULL; in dcn303_resource_destruct() 949 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn303_resource_destruct() 950 pool->stream_enc[i] = NULL; in dcn303_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/ |
| H A D | dcn302_resource.c | 996 if (pool->stream_enc[i] != NULL) { in dcn302_resource_destruct() 997 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct() 998 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct() 999 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct() 1001 if (pool->stream_enc[i]->afmt != NULL) { in dcn302_resource_destruct() 1002 kfree(DCN30_AFMT_FROM_AFMT(pool->stream_enc[i]->afmt)); in dcn302_resource_destruct() 1003 pool->stream_enc[i]->afmt = NULL; in dcn302_resource_destruct() 1005 kfree(DCN10STRENC_FROM_STRENC(pool->stream_enc[i])); in dcn302_resource_destruct() 1006 pool->stream_enc[i] = NULL; in dcn302_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/ |
| H A D | dcn301_resource.c | 1042 if (pool->base.stream_enc[i] != NULL) { in dcn301_destruct() 1043 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct() 1044 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct() 1045 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct() 1047 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn301_destruct() 1048 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn301_destruct() 1049 pool->base.stream_enc[i]->afmt = NULL; in dcn301_destruct() 1051 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn301_destruct() 1052 pool->base.stream_enc[i] = NULL; in dcn301_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce100/ |
| H A D | dce100_resource.c | 822 if (pool->base.stream_enc[i] != NULL) in dce100_resource_destruct() 823 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce100_resource_destruct() 991 pool->stream_enc[i]) { in dce100_find_first_free_match_stream_enc_for_link() 996 if (pool->stream_enc[i]->id == preferred_engine) in dce100_find_first_free_match_stream_enc_for_link() 997 return pool->stream_enc[i]; in dce100_find_first_free_match_stream_enc_for_link() 1015 return pool->stream_enc[j]; in dce100_find_first_free_match_stream_enc_for_link()
|
| /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/dcn316/ |
| H A D | dcn316_resource.c | 1346 if (pool->base.stream_enc[i] != NULL) { in dcn316_resource_destruct() 1347 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct() 1348 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn316_resource_destruct() 1349 pool->base.stream_enc[i]->vpg = NULL; in dcn316_resource_destruct() 1351 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn316_resource_destruct() 1352 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn316_resource_destruct() 1353 pool->base.stream_enc[i]->afmt = NULL; in dcn316_resource_destruct() 1355 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn316_resource_destruct() 1356 pool->base.stream_enc[i] = NULL; in dcn316_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
| H A D | dcn314_resource.c | 1409 if (pool->base.stream_enc[i] != NULL) { in dcn314_resource_destruct() 1410 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct() 1411 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn314_resource_destruct() 1412 pool->base.stream_enc[i]->vpg = NULL; in dcn314_resource_destruct() 1414 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn314_resource_destruct() 1415 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn314_resource_destruct() 1416 pool->base.stream_enc[i]->afmt = NULL; in dcn314_resource_destruct() 1418 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn314_resource_destruct() 1419 pool->base.stream_enc[i] = NULL; in dcn314_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1351 if (pool->base.stream_enc[i] != NULL) { in dcn315_resource_destruct() 1352 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct() 1353 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn315_resource_destruct() 1354 pool->base.stream_enc[i]->vpg = NULL; in dcn315_resource_destruct() 1356 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn315_resource_destruct() 1357 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn315_resource_destruct() 1358 pool->base.stream_enc[i]->afmt = NULL; in dcn315_resource_destruct() 1360 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn315_resource_destruct() 1361 pool->base.stream_enc[i] = NULL; in dcn315_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| H A D | dcn31_resource.c | 1350 if (pool->base.stream_enc[i] != NULL) { in dcn31_resource_destruct() 1351 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct() 1352 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn31_resource_destruct() 1353 pool->base.stream_enc[i]->vpg = NULL; in dcn31_resource_destruct() 1355 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn31_resource_destruct() 1356 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn31_resource_destruct() 1357 pool->base.stream_enc[i]->afmt = NULL; in dcn31_resource_destruct() 1359 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn31_resource_destruct() 1360 pool->base.stream_enc[i] = NULL; in dcn31_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/ |
| H A D | dcn36_resource.c | 1407 if (pool->base.stream_enc[i] != NULL) { in dcn36_resource_destruct() 1408 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn36_resource_destruct() 1409 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn36_resource_destruct() 1410 pool->base.stream_enc[i]->vpg = NULL; in dcn36_resource_destruct() 1412 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn36_resource_destruct() 1413 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn36_resource_destruct() 1414 pool->base.stream_enc[i]->afmt = NULL; in dcn36_resource_destruct() 1416 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn36_resource_destruct() 1417 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 | 1420 if (pool->base.stream_enc[i] != NULL) { in dcn35_resource_destruct() 1421 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn35_resource_destruct() 1422 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn35_resource_destruct() 1423 pool->base.stream_enc[i]->vpg = NULL; in dcn35_resource_destruct() 1425 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn35_resource_destruct() 1426 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn35_resource_destruct() 1427 pool->base.stream_enc[i]->afmt = NULL; in dcn35_resource_destruct() 1429 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn35_resource_destruct() 1430 pool->base.stream_enc[i] = NULL; in dcn35_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| H A D | dcn351_resource.c | 1400 if (pool->base.stream_enc[i] != NULL) { in dcn351_resource_destruct() 1401 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn351_resource_destruct() 1402 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn351_resource_destruct() 1403 pool->base.stream_enc[i]->vpg = NULL; in dcn351_resource_destruct() 1405 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn351_resource_destruct() 1406 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn351_resource_destruct() 1407 pool->base.stream_enc[i]->afmt = NULL; in dcn351_resource_destruct() 1409 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn351_resource_destruct() 1410 pool->base.stream_enc[i] = NULL; in dcn351_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
| H A D | dcn321_resource.c | 1337 if (pool->base.stream_enc[i] != NULL) { in dcn321_resource_destruct() 1338 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn321_resource_destruct() 1339 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn321_resource_destruct() 1340 pool->base.stream_enc[i]->vpg = NULL; in dcn321_resource_destruct() 1342 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn321_resource_destruct() 1343 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn321_resource_destruct() 1344 pool->base.stream_enc[i]->afmt = NULL; in dcn321_resource_destruct() 1346 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn321_resource_destruct() 1347 pool->base.stream_enc[i] = NULL; in dcn321_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
| H A D | dce110_resource.c | 854 if (pool->base.stream_enc[i] != NULL) in dce110_resource_destruct() 855 kfree(DCE110STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dce110_resource_destruct() 1216 pool->stream_enc[i]) { in dce110_find_first_free_match_stream_enc_for_link() 1221 if (pool->stream_enc[i]->id == in dce110_find_first_free_match_stream_enc_for_link() 1223 return pool->stream_enc[i]; in dce110_find_first_free_match_stream_enc_for_link() 1232 return pool->stream_enc[j]; in dce110_find_first_free_match_stream_enc_for_link()
|
| /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 …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/ |
| H A D | dcn401_resource.c | 1392 if (pool->base.stream_enc[i] != NULL) { in dcn401_resource_destruct() 1393 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn401_resource_destruct() 1394 kfree(DCN31_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn401_resource_destruct() 1395 pool->base.stream_enc[i]->vpg = NULL; in dcn401_resource_destruct() 1397 if (pool->base.stream_enc[i]->afmt != NULL) { in dcn401_resource_destruct() 1398 kfree(DCN30_AFMT_FROM_AFMT(pool->base.stream_enc[i]->afmt)); in dcn401_resource_destruct() 1399 pool->base.stream_enc[i]->afmt = NULL; in dcn401_resource_destruct() 1401 kfree(DCN10STRENC_FROM_STRENC(pool->base.stream_enc[i])); in dcn401_resource_destruct() 1402 pool->base.stream_enc[i] = NULL; in dcn401_resource_destruct()
|