/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/hwss/ |
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() 55 pipe_ctx->stream_res.stream_enc->id, true); in setup_dio_stream_encoder() 67 pipe_ctx->stream_res.pix_clk_params.dio_se_pix_per_cycle); in setup_dio_stream_encoder() 75 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in reset_dio_stream_encoder() 89 pipe_ctx->stream_res.stream_enc->id, in reset_dio_stream_encoder() 100 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in setup_dio_stream_attribute() 107 pipe_ctx->stream_res.tg->inst, in setup_dio_stream_attribute() 122 pipe_ctx->stream_res.audio != NULL); in setup_dio_stream_attribute() 206 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_setup( in setup_dio_audio_output() [all …]
|
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() 195 if (pipe_ctx->stream_res.audio) in disable_hpo_dp_audio_packet() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
D | dcn314_hwseq.c | 74 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in update_dsc_on_stream() 99 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in update_dsc_on_stream() 101 struct display_stream_compressor *odm_dsc = odm_pipe->stream_res.dsc; in update_dsc_on_stream() 105 odm_dsc->funcs->dsc_enable(odm_dsc, odm_pipe->stream_res.opp->inst); in update_dsc_on_stream() 113 DC_LOG_DSC("Setting optc DSC config for tg instance %d:", pipe_ctx->stream_res.tg->inst); in update_dsc_on_stream() 114 pipe_ctx->stream_res.tg->funcs->set_dsc_config(pipe_ctx->stream_res.tg, in update_dsc_on_stream() 120 pipe_ctx->stream_res.tg->funcs->set_dsc_config( in update_dsc_on_stream() 121 pipe_ctx->stream_res.tg, in update_dsc_on_stream() 125 dsc->funcs->dsc_disable(pipe_ctx->stream_res.dsc); in update_dsc_on_stream() 127 ASSERT(odm_pipe->stream_res.dsc); in update_dsc_on_stream() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
D | dce110_hwseq.c | 636 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame() 646 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame() 647 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame() 648 &pipe_ctx->stream_res.encoder_info_frame); in dce110_update_info_frame() 650 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dce110_update_info_frame() 651 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, in dce110_update_info_frame() 653 &pipe_ctx->stream_res.encoder_info_frame); in dce110_update_info_frame() 655 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame() 656 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
D | dcn31_hwseq.c | 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() 395 &pipe_ctx->stream_res.encoder_info_frame); in dcn31_update_info_frame() 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() 399 &pipe_ctx->stream_res.encoder_info_frame); in dcn31_update_info_frame() 402 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dcn31_update_info_frame() 403 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dcn31_update_info_frame() 404 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
D | dcn35_hwseq.c | 322 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in update_dsc_on_stream() 340 DC_LOG_DSC("DSC is NULL for tg instance %d:", pipe_ctx->stream_res.tg->inst); in update_dsc_on_stream() 347 DC_LOG_DSC("DSC has been disabled for tg instance %d:", pipe_ctx->stream_res.tg->inst); in update_dsc_on_stream() 362 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in update_dsc_on_stream() 364 struct display_stream_compressor *odm_dsc = odm_pipe->stream_res.dsc; in update_dsc_on_stream() 368 odm_dsc->funcs->dsc_enable(odm_dsc, odm_pipe->stream_res.opp->inst); in update_dsc_on_stream() 376 DC_LOG_DSC("Setting optc DSC config for tg instance %d:", pipe_ctx->stream_res.tg->inst); in update_dsc_on_stream() 377 pipe_ctx->stream_res.tg->funcs->set_dsc_config(pipe_ctx->stream_res.tg, in update_dsc_on_stream() 383 pipe_ctx->stream_res.tg->funcs->set_dsc_config( in update_dsc_on_stream() 384 pipe_ctx->stream_res.tg, in update_dsc_on_stream() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
D | dcn20_hwseq.c | 221 if (pipe_ctx->stream_res.gsl_group > 0) in dcn20_setup_gsl_group_as_lock() 226 pipe_ctx->stream_res.gsl_group = group_idx; in dcn20_setup_gsl_group_as_lock() 248 group_idx = pipe_ctx->stream_res.gsl_group; in dcn20_setup_gsl_group_as_lock() 252 pipe_ctx->stream_res.gsl_group = 0; in dcn20_setup_gsl_group_as_lock() 276 if (pipe_ctx->stream_res.tg->funcs->set_gsl != NULL && in dcn20_setup_gsl_group_as_lock() 277 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select != NULL) { in dcn20_setup_gsl_group_as_lock() 278 pipe_ctx->stream_res.tg->funcs->set_gsl( in dcn20_setup_gsl_group_as_lock() 279 pipe_ctx->stream_res.tg, in dcn20_setup_gsl_group_as_lock() 282 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select( in dcn20_setup_gsl_group_as_lock() 283 pipe_ctx->stream_res.tg, group_idx, enable ? 4 : 0); in dcn20_setup_gsl_group_as_lock() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/accessories/ |
D | link_dp_cts.c | 428 struct output_pixel_processor *opp = pipe_ctx->stream_res.opp; in set_crtc_test_pattern() 436 controller_test_pattern = pipe_ctx->stream_res.test_pattern_params.test_pattern; in set_crtc_test_pattern() 447 if (pipe_ctx->stream_res.tg->funcs->set_test_pattern) { in set_crtc_test_pattern() 449 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg, in set_crtc_test_pattern() 455 controller_color_space = pipe_ctx->stream_res.test_pattern_params.color_space; in set_crtc_test_pattern() 464 tp_params = &odm_pipe->stream_res.test_pattern_params; in set_crtc_test_pattern() 465 odm_opp = odm_pipe->stream_res.opp; in set_crtc_test_pattern() 486 if (pipe_ctx->stream_res.tg->funcs->set_test_pattern) { in set_crtc_test_pattern() 488 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg, in set_crtc_test_pattern() 496 tp_params = &odm_pipe->stream_res.test_pattern_params; in set_crtc_test_pattern() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
D | dcn10_hwseq.c | 109 tg = pipe_ctx->stream_res.tg; in dcn10_lock_all_pipes() 599 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn10_did_underflow_occur() 982 pipe_ctx->stream_res.tg->funcs->enable_optc_clock(pipe_ctx->stream_res.tg, true); in dcn10_enable_stream_timing() 986 &pipe_ctx->stream_res.pix_clk_params, in dcn10_enable_stream_timing() 1001 pipe_ctx->stream_res.tg->funcs->program_timing( in dcn10_enable_stream_timing() 1002 pipe_ctx->stream_res.tg, in dcn10_enable_stream_timing() 1016 inst_offset = reg_offsets[pipe_ctx->stream_res.tg->inst].fmt; in dcn10_enable_stream_timing() 1018 pipe_ctx->stream_res.opp->funcs->opp_program_fmt( in dcn10_enable_stream_timing() 1019 pipe_ctx->stream_res.opp, in dcn10_enable_stream_timing() 1035 if (pipe_ctx->stream_res.tg->funcs->set_blank_color) in dcn10_enable_stream_timing() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
D | dcn32_hwseq.c | 407 pipe->stream_res.tg->funcs->wait_for_state(pipe->stream_res.tg, CRTC_STATE_VBLANK); in dcn32_subvp_pipe_control_lock() 442 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_mpc_shaper_3dlut() 478 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_mcm_luts() 549 if (pipe_ctx->stream_res.opp && in dcn32_set_input_transfer_func() 550 pipe_ctx->stream_res.opp->ctx && in dcn32_set_input_transfer_func() 562 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_output_transfer_func() 1009 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in dcn32_update_dsc_on_stream() 1038 DC_LOG_DSC("DSC is NULL for tg instance %d:", pipe_ctx->stream_res.tg->inst); in dcn32_update_dsc_on_stream() 1045 DC_LOG_DSC("DSC has been disabled for tg instance %d:", pipe_ctx->stream_res.tg->inst); in dcn32_update_dsc_on_stream() 1063 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in dcn32_update_dsc_on_stream() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce/ |
D | dce_hwseq.c | 56 if (lock && pipe->stream_res.tg->funcs->is_blanked && in dce_pipe_control_lock() 57 pipe->stream_res.tg->funcs->is_blanked(pipe->stream_res.tg)) in dce_pipe_control_lock() 60 val = REG_GET_4(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], in dce_pipe_control_lock() 71 REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, in dce_pipe_control_lock() 76 REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, in dce_pipe_control_lock() 82 uint32_t value = REG_READ(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst]); in dce_pipe_control_lock() 83 REG_WRITE(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst], value); in dce_pipe_control_lock()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dpms.c | 669 config.otg_inst = (uint8_t) pipe_ctx->stream_res.tg->inst; in update_psp_stream_config() 672 config.dig_fe = (uint8_t) pipe_ctx->stream_res.stream_enc->stream_enc_inst; in update_psp_stream_config() 675 config.stream_enc_idx = pipe_ctx->stream_res.stream_enc->id - ENGINE_ID_DIGA; in update_psp_stream_config() 678 pipe_ctx->stream_res.hpo_dp_stream_enc->id - ENGINE_ID_HPO_DP_0; in update_psp_stream_config() 783 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in link_set_dsc_on_stream() 823 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in link_set_dsc_on_stream() 825 struct display_stream_compressor *odm_dsc = odm_pipe->stream_res.dsc; in link_set_dsc_on_stream() 830 odm_dsc->funcs->dsc_enable(odm_dsc, odm_pipe->stream_res.opp->inst); in link_set_dsc_on_stream() 839 …DC_LOG_DSC("Setting stream encoder DSC config for engine %d:", (int)pipe_ctx->stream_res.stream_en… in link_set_dsc_on_stream() 841 if (pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config) in link_set_dsc_on_stream() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
D | dcn401_hwseq.c | 85 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn401_program_gamut_remap() 672 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn401_set_mcm_luts() 717 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn401_set_output_transfer_func() 785 opp_inst[i] = opp_heads[i]->stream_res.opp->inst; in enable_stream_timing_calc() 832 dc->res_pool->dccg, pipe_ctx->stream_res.tg->inst, in dcn401_enable_stream_timing() 841 pipe_ctx->stream_res.tg->funcs->set_odm_combine( in dcn401_enable_stream_timing() 842 pipe_ctx->stream_res.tg, in dcn401_enable_stream_timing() 850 pipe_ctx->stream_res.tg->funcs->enable_optc_clock(pipe_ctx->stream_res.tg, true); in dcn401_enable_stream_timing() 854 &pipe_ctx->stream_res.pix_clk_params, in dcn401_enable_stream_timing() 864 pipe_ctx->stream_res.tg->funcs->program_timing( in dcn401_enable_stream_timing() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
D | dcn30_hwseq.c | 248 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_mpc_shaper_3dlut() 325 if (pipe_ctx->stream_res.opp && pipe_ctx->stream_res.opp->ctx) { in dcn30_set_input_transfer_func() 342 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_program_gamut_remap() 378 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_output_transfer_func() 818 if (dc_is_hdmi_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL) { in dcn30_set_avmute() 819 pipe_ctx->stream_res.stream_enc->funcs->set_avmute( in dcn30_set_avmute() 820 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute() 824 if (enable && pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg)) { in dcn30_set_avmute() 825 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE); in dcn30_set_avmute() 826 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK); in dcn30_set_avmute() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn201/ |
D | dcn201_hwseq.c | 310 pipe_ctx->stream_res.tg = tg; in dcn201_init_hw() 319 pipe_ctx->stream_res.opp = NULL; in dcn201_init_hw() 324 pipe_ctx->stream_res.opp = res_pool->opps[i]; in dcn201_init_hw() 345 pipe_ctx->stream_res.tg = NULL; in dcn201_init_hw() 385 struct output_pixel_processor *opp = pipe_ctx->stream_res.opp; in dcn201_plane_atomic_disconnect() 431 struct mpc_tree *mpc_tree_params = &(pipe_ctx->stream_res.opp->mpc_tree_params); in dcn201_update_mpcc() 521 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn201_update_mpcc() 542 pipe->stream_res.tg->funcs->triplebuffer_lock(pipe->stream_res.tg); in dcn201_pipe_control_lock() 544 pipe->stream_res.tg->funcs->triplebuffer_unlock(pipe->stream_res.tg); in dcn201_pipe_control_lock() 547 pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); in dcn201_pipe_control_lock() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 1456 params = &opp_heads[i]->stream_res.test_pattern_params; in resource_build_test_pattern_params() 2095 if (otg_master->stream_res.tg) in resource_get_odm_slice_dst_width() 2097 otg_master->stream_res.tg->funcs->is_two_pixels_per_container(timing) || in resource_get_odm_slice_dst_width() 2137 struct output_pixel_processor *opp = opp_head->stream_res.opp; in resource_get_odm_slice_src_rect() 2214 if (opp_head_a->stream_res.opp != opp_head_b->stream_res.opp) in resource_is_odm_topology_changed() 2257 pipe->stream_res.opp->inst, in resource_log_pipe() 2258 pipe->stream_res.tg->inst); in resource_log_pipe() 2264 pipe->stream_res.opp->inst, in resource_log_pipe() 2265 pipe->stream_res.opp->inst, in resource_log_pipe() 2266 pipe->stream_res.tg->inst); in resource_log_pipe() [all …]
|
D | dc.c | 406 if (pipe->stream == stream && pipe->stream_res.tg) { in set_long_vtotal() 464 if (pipe->stream == stream && pipe->stream_res.tg) { in dc_stream_adjust_vmin_vmax() 501 if (pipe->stream == stream && pipe->stream_res.tg) { in dc_stream_get_last_used_drr_vtotal() 505 if (pipe->stream_res.tg->funcs->get_last_used_drr_vtotal) { in dc_stream_get_last_used_drr_vtotal() 506 pipe->stream_res.tg->funcs->get_last_used_drr_vtotal(pipe->stream_res.tg, refresh_rate); in dc_stream_get_last_used_drr_vtotal() 534 if (pipe->stream == stream && pipe->stream_res.stream_enc) { in dc_stream_get_crtc_position() 602 mux_mapping.otg_output_num = pipe->stream_res.tg->inst; in dc_stream_forward_crc_window() 680 tg = pipe->stream_res.tg; in dc_stream_configure_crc() 721 tg = pipe->stream_res.tg; in dc_stream_get_crc() 742 pipe_ctx->stream_res.opp->dyn_expansion = option; in dc_stream_set_dyn_expansion() [all …]
|
D | dc_hw_sequencer.c | 710 …block_sequence[*num_steps].params.set_output_csc_params.opp_id = current_mpc_pipe->stream_res.opp-… in hwss_build_fast_sequence() 717 …equence[*num_steps].params.set_ocsc_default_params.opp_id = current_mpc_pipe->stream_res.opp->inst; in hwss_build_fast_sequence() 874 if (pipe_ctx->stream_res.tg->funcs->program_manual_trigger) in hwss_program_manual_trigger() 875 pipe_ctx->stream_res.tg->funcs->program_manual_trigger(pipe_ctx->stream_res.tg); in hwss_program_manual_trigger() 1006 hws->funcs.wait_for_blank_complete(opp_head->stream_res.opp); in hwss_wait_for_all_blank_complete() 1021 tg = otg_master->stream_res.tg; in hwss_wait_for_odm_update_pending_complete() 1074 if (pipe_ctx->stream_res.tg->funcs->wait_drr_doublebuffer_pending_clear) in hwss_wait_for_outstanding_hw_updates() 1075 pipe_ctx->stream_res.tg->funcs->wait_drr_doublebuffer_pending_clear(pipe_ctx->stream_res.tg); in hwss_wait_for_outstanding_hw_updates()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 128 params.inst = pipe_ctx->stream_res.tg->inst; in dce60_enable_fbc() 192 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, blank_target); in dce60_program_surface_visibility() 200 uint32_t color_value = MAX_TG_COLOR_VALUE * (4 - pipe_ctx->stream_res.tg->inst) / 4; in dce60_get_surface_visual_confirm_color() 251 if (pipe_ctx->stream_res.tg->funcs->set_overscan_blank_color) { in dce60_program_scaler() 260 pipe_ctx->stream_res.tg->funcs->set_overscan_blank_color( in dce60_program_scaler() 261 pipe_ctx->stream_res.tg, in dce60_program_scaler()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn21/ |
D | dcn21_hwseq.c | 181 struct abm *abm = pipe_ctx->stream_res.abm; in dcn21_set_abm_immediate_disable() 182 uint32_t otg_inst = pipe_ctx->stream_res.tg->inst; in dcn21_set_abm_immediate_disable() 214 struct abm *abm = pipe_ctx->stream_res.abm; in dcn21_set_pipe() 215 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn21_set_pipe() 249 struct abm *abm = pipe_ctx->stream_res.abm; in dcn21_set_backlight_level() 250 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn21_set_backlight_level()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
D | dcn20_resource.c | 1238 pixel_clk_params->controller_id = pipe_ctx->stream_res.tg->inst + 1; in get_pixel_clock_parameters() 1254 …else if (pipe_ctx->stream_res.tg->funcs->is_two_pixels_per_container(&stream->timing) || opp_cnt =… in get_pixel_clock_parameters() 1264 if ((pipe_ctx->stream_res.tg->funcs->is_two_pixels_per_container && in get_pixel_clock_parameters() 1265 pipe_ctx->stream_res.tg->funcs->is_two_pixels_per_container(&pipe_ctx->stream->timing)) || in get_pixel_clock_parameters() 1284 get_pixel_clock_parameters(pipe_ctx, &pipe_ctx->stream_res.pix_clk_params); in dcn20_build_pipe_pix_clk_params() 1287 &pipe_ctx->stream_res.pix_clk_params, in dcn20_build_pipe_pix_clk_params() 1332 … display_stream_compressor *dsc_old = dc->current_state->res_ctx.pipe_ctx[pipe_idx].stream_res.dsc; in dcn20_acquire_dsc() 1393 if (pipe_ctx->stream_res.dsc) in dcn20_add_dsc_to_stream_resource() 1396 dcn20_acquire_dsc(dc, &dc_ctx->res_ctx, &pipe_ctx->stream_res.dsc, i); in dcn20_add_dsc_to_stream_resource() 1399 if (!pipe_ctx->stream_res.dsc) { in dcn20_add_dsc_to_stream_resource() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/ |
D | dcn35_clk_mgr.c | 143 old_pipe->stream_res.tg == new_pipe->stream_res.tg && in dcn35_disable_otg_wa() 148 new_pipe->stream_res.stream_enc && in dcn35_disable_otg_wa() 149 new_pipe->stream_res.stream_enc->funcs->is_fifo_enabled && in dcn35_disable_otg_wa() 150 new_pipe->stream_res.stream_enc->funcs->is_fifo_enabled(new_pipe->stream_res.stream_enc); in dcn35_disable_otg_wa() 155 if (pipe->stream_res.tg && pipe->stream_res.tg->funcs->immediate_disable_crtc) in dcn35_disable_otg_wa() 156 pipe->stream_res.tg->funcs->immediate_disable_crtc(pipe->stream_res.tg); in dcn35_disable_otg_wa() 160 pipe->stream_res.tg->funcs->enable_crtc(pipe->stream_res.tg); in dcn35_disable_otg_wa() 179 if (pipe_ctx->stream_res.tg && in dcn35_update_clocks_update_dtb_dto() 180 !(tg_mask & (1 << pipe_ctx->stream_res.tg->inst))) { in dcn35_update_clocks_update_dtb_dto() 181 tg_mask |= (1 << pipe_ctx->stream_res.tg->inst); in dcn35_update_clocks_update_dtb_dto() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
D | dce_clk_mgr.c | 180 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10 > max_pix_clk) in dce_get_max_pixel_clock_for_all_paths() 181 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10; in dce_get_max_pixel_clock_for_all_paths() 187 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk > max_pix_clk) in dce_get_max_pixel_clock_for_all_paths() 188 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_sym_clk; in dce_get_max_pixel_clock_for_all_paths()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
D | dce110_resource.c | 895 pixel_clk_params->controller_id = pipe_ctx->stream_res.tg->inst + 1; in get_pixel_clock_parameters() 919 get_pixel_clock_parameters(pipe_ctx, &pipe_ctx->stream_res.pix_clk_params); in dce110_resource_build_pipe_hw_param() 922 &pipe_ctx->stream_res.pix_clk_params, in dce110_resource_build_pipe_hw_param() 1137 pipe_ctx->stream_res.tg = pool->timing_generators[underlay_idx]; in dce110_acquire_underlay() 1141 pipe_ctx->stream_res.opp = pool->opps[underlay_idx]; in dce110_acquire_underlay() 1152 pipe_ctx->stream_res.tg->inst, in dce110_acquire_underlay() 1160 pipe_ctx->stream_res.tg->funcs->program_timing(pipe_ctx->stream_res.tg, in dce110_acquire_underlay() 1170 pipe_ctx->stream_res.tg->funcs->enable_advanced_request( in dce110_acquire_underlay() 1171 pipe_ctx->stream_res.tg, in dce110_acquire_underlay() 1183 pipe_ctx->stream_res.tg->funcs->set_blank_color( in dce110_acquire_underlay() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
D | dcn316_clk_mgr.c | 118 if (pipe->stream_res.tg && pipe->stream_res.tg->funcs->immediate_disable_crtc) in dcn316_disable_otg_wa() 119 pipe->stream_res.tg->funcs->immediate_disable_crtc(pipe->stream_res.tg); in dcn316_disable_otg_wa() 123 pipe->stream_res.tg->funcs->enable_crtc(pipe->stream_res.tg); in dcn316_disable_otg_wa()
|