Home
last modified time | relevance | path

Searched refs:stream_res (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
H A Ddcn314_hwseq.c114 pipe_ctx->stream_res.tg->funcs->set_dsc_config(pipe_ctx->stream_res.tg, in update_dsc_on_stream()
121 pipe_ctx->stream_res.tg, in update_dsc_on_stream()
128 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); in update_dsc_on_stream()
172 pipe_ctx->stream_res.tg, in dcn314_update_odm()
191 odm_pipe->stream_res.opp, in dcn314_update_odm()
195 if (pipe_ctx->stream_res.dsc) { in dcn314_update_odm()
376 …&& pipe->stream_res.tg->inst == pipe->stream_res.stream_enc->funcs->dig_source_otg(pipe->stream_re… in dcn314_is_pipe_dig_fifo_on()
381 && pipe->stream_res.stream_enc->funcs->is_fifo_enabled(pipe->stream_res.stream_enc); in dcn314_is_pipe_dig_fifo_on()
405 pipe->stream_res.tg->funcs->disable_crtc(pipe->stream_res.tg); in dcn314_resync_fifo_dccg_dio()
432 pipe->stream_res.tg, in dcn314_resync_fifo_dccg_dio()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dio.c103 pipe_ctx->stream_res.stream_enc->id, in reset_dio_stream_encoder()
121 pipe_ctx->stream_res.tg->inst, in setup_dio_stream_attribute()
136 pipe_ctx->stream_res.audio != NULL); in setup_dio_stream_attribute()
255 pipe_ctx->stream_res.stream_enc, in setup_dio_audio_output()
260 pipe_ctx->stream_res.stream_enc, in setup_dio_audio_output()
270 pipe_ctx->stream_res.stream_enc); in enable_dio_audio_packet()
273 pipe_ctx->stream_res.stream_enc, false); in enable_dio_audio_packet()
284 pipe_ctx->stream_res.stream_enc, true); in disable_dio_audio_packet()
286 if (pipe_ctx->stream_res.audio) { in disable_dio_audio_packet()
289 pipe_ctx->stream_res.stream_enc); in disable_dio_audio_packet()
[all …]
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()
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()
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/hwss/dce110/
H A Ddce110_hwseq.c1091 if (pipe_ctx->stream_res.audio && pipe_ctx->stream_res.audio->enabled == true) in dce110_enable_audio_stream()
1101 pipe_ctx->stream_res.audio->funcs->az_enable(pipe_ctx->stream_res.audio); in dce110_enable_audio_stream()
1127 if (pipe_ctx->stream_res.audio && pipe_ctx->stream_res.audio->enabled == false) in dce110_disable_audio_stream()
1504 pipe_ctx->stream_res.tg, in program_scaler()
1528 pipe_ctx->stream_res.tg, in dce110_enable_stream_timing()
1535 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, true); in dce110_enable_stream_timing()
1622 pipe_ctx->stream_res.opp, in dce110_apply_single_controller_ctx_to_hw()
2300 pipe_ctx_old->stream_res.tg->funcs->set_blank(pipe_ctx_old->stream_res.tg, true); in dce110_reset_hw_ctx_wrap()
2305 pipe_ctx_old->stream_res.tg->funcs->disable_crtc(pipe_ctx_old->stream_res.tg); in dce110_reset_hw_ctx_wrap()
2579 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, blank_target); in program_surface_visibility()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
H A Ddcn31_hwseq.c396 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
411 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
415 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
534 pipe_ctx->stream_res.tg, in dcn31_reset_back_end_for_pipe()
537 pipe_ctx->stream_res.tg->funcs->disable_crtc(pipe_ctx->stream_res.tg); in dcn31_reset_back_end_for_pipe()
539 pipe_ctx->stream_res.tg->funcs->enable_optc_clock(pipe_ctx->stream_res.tg, false); in dcn31_reset_back_end_for_pipe()
556 else if (pipe_ctx->stream_res.audio) in dcn31_reset_back_end_for_pipe()
560 if (pipe_ctx->stream_res.audio) { in dcn31_reset_back_end_for_pipe()
562 pipe_ctx->stream_res.audio->funcs->az_disable(pipe_ctx->stream_res.audio); in dcn31_reset_back_end_for_pipe()
570 pipe_ctx->stream_res.audio = NULL; in dcn31_reset_back_end_for_pipe()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c379 pipe_ctx->stream_res.tg->funcs->set_dsc_config(pipe_ctx->stream_res.tg, in update_dsc_on_stream()
386 pipe_ctx->stream_res.tg, in update_dsc_on_stream()
393 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); in update_dsc_on_stream()
437 pipe_ctx->stream_res.tg, in dcn35_update_odm()
456 odm_pipe->stream_res.opp, in dcn35_update_odm()
912 pipe_ctx->stream_res.opp, in dcn35_enable_plane()
965 memset(&pipe_ctx->stream_res, 0, sizeof(pipe_ctx->stream_res)); in dcn35_plane_atomic_disable()
1148 cur_pipe->stream_res.opp != new_pipe->stream_res.opp && in dcn35_calc_blocks_to_ungate()
1153 cur_pipe->stream_res.dsc != new_pipe->stream_res.dsc && in dcn35_calc_blocks_to_ungate()
1158 cur_pipe->stream_res.tg != new_pipe->stream_res.tg && in dcn35_calc_blocks_to_ungate()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c723 memset(&pipe_ctx->stream_res, 0, sizeof(pipe_ctx->stream_res)); in dcn20_plane_atomic_disable()
1203 struct stream_resource *stream_res = &pipe_ctx->stream_res; in dcn20_blank_pixel_data() local
1459 pipe->stream_res.tg->funcs->triplebuffer_lock(pipe->stream_res.tg); in dcn20_pipe_control_lock()
1461 pipe->stream_res.tg->funcs->triplebuffer_unlock(pipe->stream_res.tg); in dcn20_pipe_control_lock()
1464 pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); in dcn20_pipe_control_lock()
1469 pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); in dcn20_pipe_control_lock()
1573 if (old_pipe->stream_res.opp != new_pipe->stream_res.opp) in dcn20_detect_pipe_changes()
1575 if (old_pipe->stream_res.tg != new_pipe->stream_res.tg) in dcn20_detect_pipe_changes()
1584 || old_pipe->stream_res.opp != new_pipe->stream_res.opp) in dcn20_detect_pipe_changes()
2014 pipe_ctx->stream_res.abm->funcs->set_abm_level(pipe_ctx->stream_res.abm, in dcn20_program_pipe()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/link/accessories/
H A Dlink_dp_cts.c449 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg, in set_crtc_test_pattern()
465 odm_opp = odm_pipe->stream_res.opp; 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()
497 odm_opp = odm_pipe->stream_res.opp; in set_crtc_test_pattern()
832 pipe_ctx->stream_res.tg); in dp_set_test_pattern()
835 pipe_ctx->stream_res.tg->funcs->lock(pipe_ctx->stream_res.tg); in dp_set_test_pattern()
858 pipe_ctx->stream_res.tg->funcs->unlock(pipe_ctx->stream_res.tg); in dp_set_test_pattern()
859 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, in dp_set_test_pattern()
861 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, in dp_set_test_pattern()
863 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, in dp_set_test_pattern()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c781 pipe_ctx->stream_res.tg->funcs->enable_optc_clock(pipe_ctx->stream_res.tg, true); in dcn401_enable_stream_timing()
800 pipe_ctx->stream_res.tg, in dcn401_enable_stream_timing()
1523 if (old_pipe->stream_res.dsc && !new_pipe->stream_res.dsc) in update_dsc_for_odm_change()
1742 pipe_ctx->stream_res.tg->funcs->unlock(pipe_ctx->stream_res.tg); in dcn401_perform_3dlut_wa_unlock()
1754 pipe_ctx->stream_res.tg->funcs->unlock(pipe_ctx->stream_res.tg); in dcn401_perform_3dlut_wa_unlock()
1796 pipe_ctx->stream_res.audio->funcs->az_disable(pipe_ctx->stream_res.audio); in dcn401_reset_back_end_for_pipe()
1816 pipe_ctx->stream_res.tg->funcs->disable_crtc(pipe_ctx->stream_res.tg); in dcn401_reset_back_end_for_pipe()
2042 pipe_ctx->stream_res.abm->funcs->set_abm_level(pipe_ctx->stream_res.abm, in dcn401_program_pipe()
2526 if (old_pipe->stream_res.opp != new_pipe->stream_res.opp) in dcn401_detect_pipe_changes()
2528 if (old_pipe->stream_res.tg != new_pipe->stream_res.tg) in dcn401_detect_pipe_changes()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c1042 !pipe_ctx->stream_res.tg->funcs->is_blanked(pipe_ctx->stream_res.tg)) { in dcn10_enable_stream_timing()
1043 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, true); in dcn10_enable_stream_timing()
1113 pipe_ctx->stream_res.tg->funcs->disable_crtc(pipe_ctx->stream_res.tg); in dcn10_reset_back_end_for_pipe()
1330 memset(&pipe_ctx->stream_res, 0, sizeof(pipe_ctx->stream_res)); in dcn10_plane_atomic_disable()
1948 pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); in dcn10_pipe_control_lock()
1950 pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); in dcn10_pipe_control_lock()
1985 if (!pipe_ctx->stream_res.stream_enc || !pipe_ctx->stream_res.tg) in delay_cursor_until_vupdate()
2931 struct stream_resource *stream_res = &pipe_ctx->stream_res; in dcn10_blank_pixel_data() local
2949 stream_res->tg, in dcn10_blank_pixel_data()
2954 stream_res->tg->funcs->set_blank(stream_res->tg, blank); in dcn10_blank_pixel_data()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c409 pipe->stream_res.tg->funcs->wait_for_state(pipe->stream_res.tg, CRTC_STATE_VBLANK); in dcn32_subvp_pipe_control_lock()
1081 pipe_ctx->stream_res.tg->funcs->set_dsc_config(pipe_ctx->stream_res.tg, in dcn32_update_dsc_on_stream()
1088 pipe_ctx->stream_res.tg, in dcn32_update_dsc_on_stream()
1095 odm_pipe->stream_res.dsc->funcs->dsc_disconnect(odm_pipe->stream_res.dsc); in dcn32_update_dsc_on_stream()
1139 pipe_ctx->stream_res.tg, in dcn32_update_odm()
1258 pipe->stream_res.tg->funcs->disable_crtc(pipe->stream_res.tg); in dcn32_resync_fifo_dccg_dio()
1285 pipe->stream_res.tg, in dcn32_resync_fifo_dccg_dio()
1289 pipe->stream_res.tg->funcs->enable_crtc(pipe->stream_res.tg); in dcn32_resync_fifo_dccg_dio()
1753 if (cur_pipe->stream_res.tg == new_pipe->stream_res.tg) in dcn32_is_pipe_topology_transition_seamless()
1762 if (cur_pipe->stream_res.opp == new_pipe->stream_res.opp) in dcn32_is_pipe_topology_transition_seamless()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dce/
H A Ddce_hwseq.c56 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.15/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c866 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc, in link_set_dsc_on_stream()
877 pipe_ctx->stream_res.tg->funcs->set_dsc_config(pipe_ctx->stream_res.tg, in link_set_dsc_on_stream()
884 pipe_ctx->stream_res.tg, in link_set_dsc_on_stream()
907 odm_pipe->stream_res.dsc->funcs->dsc_disconnect(odm_pipe->stream_res.dsc); in link_set_dsc_on_stream()
929 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); in link_set_dsc_on_stream()
1367 pipe_ctx->stream_res.stream_enc, in deallocate_mst_payload()
1776 pipe_ctx->stream_res.stream_enc, in link_reduce_mst_payload()
1848 pipe_ctx->stream_res.stream_enc, in link_increase_mst_payload()
2435 pipe_ctx->stream_res.tg->funcs->set_out_mux(pipe_ctx->stream_res.tg, OUT_MUX_DIO); in link_set_dpms_off()
2502 pipe_ctx->stream_res.tg->funcs->set_out_mux(pipe_ctx->stream_res.tg, otg_out_dest); in link_set_dpms_on()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c332 if (pipe_ctx->stream_res.opp && pipe_ctx->stream_res.opp->ctx) { in dcn30_set_input_transfer_func()
826 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute()
830 if (enable && pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg)) { in dcn30_set_avmute()
831 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE); in dcn30_set_avmute()
832 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK); in dcn30_set_avmute()
833 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE); in dcn30_set_avmute()
834 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK); in dcn30_set_avmute()
835 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE); in dcn30_set_avmute()
858 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
863 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c310 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()
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()
549 pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); in dcn201_pipe_control_lock()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c2175 if (otg_master->stream_res.tg) in resource_get_odm_slice_dst_width()
2294 if (opp_head_a->stream_res.opp != opp_head_b->stream_res.opp) in resource_is_odm_topology_changed()
2337 pipe->stream_res.opp->inst, in resource_log_pipe()
3696 pipe_ctx->stream_res.tg->funcs->get_optc_source(pipe_ctx->stream_res.tg, in acquire_resource_from_hw_enabled_state()
3984 pipe_ctx->stream_res.abm = pool->multiple_abms[pipe_ctx->stream_res.tg->inst]; in resource_map_pool_resources()
3992 pipe_ctx->stream_res.audio ? pipe_ctx->stream_res.audio->inst : -1; in resource_map_pool_resources()
4903 if (pipe_ctx_old->stream_res.audio != pipe_ctx->stream_res.audio) in pipe_need_reprogram()
4910 if (pipe_ctx_old->stream_res.stream_enc != pipe_ctx->stream_res.stream_enc) in pipe_need_reprogram()
4923 if (pipe_ctx_old->stream_res.dsc != pipe_ctx->stream_res.dsc) in pipe_need_reprogram()
4926 if (pipe_ctx_old->stream_res.hpo_dp_stream_enc != pipe_ctx->stream_res.hpo_dp_stream_enc) in pipe_need_reprogram()
[all …]
H A Ddc.c725 tg = pipe->stream_res.tg; in dc_stream_configure_crc()
767 tg = pipe->stream_res.tg; in dc_stream_get_crc()
1597 pipe_set[j]->stream_res.tg->funcs->is_blanked(pipe_set[j]->stream_res.tg); in program_timing_sync()
1644 pipe_set[j]->stream_res.tg->funcs->is_blanked(pipe_set[j]->stream_res.tg); in program_timing_sync()
3521 pipe_ctx->stream_res.opp->funcs->opp_program_fmt(pipe_ctx->stream_res.opp, in commit_planes_do_stream_update()
3525 odm_pipe->stream_res.opp->funcs->opp_program_fmt(odm_pipe->stream_res.opp, in commit_planes_do_stream_update()
3582 pipe_ctx->stream_res.audio->funcs->az_disable(pipe_ctx->stream_res.audio); in commit_planes_do_stream_update()
3605 if (pipe_ctx->stream_res.tg->funcs->is_blanked(pipe_ctx->stream_res.tg)) in commit_planes_do_stream_update()
6133 if (pipe->stream_res.abm && pipe->stream_res.abm->funcs->set_abm_pause) in dc_notify_vsync_int_state()
6134 …pipe->stream_res.abm->funcs->set_abm_pause(pipe->stream_res.abm, !enable, i, pipe->stream_res.tg->… in dc_notify_vsync_int_state()
[all …]
H A Ddc_hw_sequencer.c668 if (pipe_ctx && pipe_ctx->stream_res.tg && in set_drr_and_clear_adjust_pending()
669 pipe_ctx->stream_res.tg->funcs->set_drr) in set_drr_and_clear_adjust_pending()
670 pipe_ctx->stream_res.tg->funcs->set_drr( in set_drr_and_clear_adjust_pending()
671 pipe_ctx->stream_res.tg, params); in set_drr_and_clear_adjust_pending()
837 …block_sequence[*num_steps].params.set_output_csc_params.opp_id = current_mpc_pipe->stream_res.opp-… in hwss_build_fast_sequence()
844 …equence[*num_steps].params.set_ocsc_default_params.opp_id = current_mpc_pipe->stream_res.opp->inst; in hwss_build_fast_sequence()
1001 if (pipe_ctx->stream_res.tg->funcs->program_manual_trigger) in hwss_program_manual_trigger()
1002 pipe_ctx->stream_res.tg->funcs->program_manual_trigger(pipe_ctx->stream_res.tg); in hwss_program_manual_trigger()
1136 hws->funcs.wait_for_blank_complete(opp_head->stream_res.opp); in hwss_wait_for_all_blank_complete()
1151 tg = otg_master->stream_res.tg; in hwss_wait_for_odm_update_pending_complete()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn21/
H A Ddcn21_hwseq.c181 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()
248 struct abm *abm = pipe_ctx->stream_res.abm; in dcn21_set_backlight_level()
249 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn21_set_backlight_level()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_hw_sequencer.c128 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.15/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1393 if (pipe_ctx->stream_res.dsc) in dcn20_add_dsc_to_stream_resource()
1399 if (!pipe_ctx->stream_res.dsc) { in dcn20_add_dsc_to_stream_resource()
1421 if (pipe_ctx->stream_res.dsc) in remove_dsc_from_stream_resource()
1496 next_odm_pipe->stream_res.dsc = NULL; in dcn20_split_stream_for_odm()
1522 next_odm_pipe->stream_res.opp = next_odm_pipe->top_pipe->stream_res.opp; in dcn20_split_stream_for_odm()
1672 if (!pipe_ctx->stream_res.dsc->funcs->dsc_validate_stream(pipe_ctx->stream_res.dsc, &dsc_cfg)) in dcn20_validate_dsc()
1780 if (odm_pipe->stream_res.dsc) in dcn20_merge_pipes_for_validate()
1784 memset(&odm_pipe->stream_res, 0, sizeof(odm_pipe->stream_res)); in dcn20_merge_pipes_for_validate()
1809 memset(&hsplit_pipe->stream_res, 0, sizeof(hsplit_pipe->stream_res)); in dcn20_merge_pipes_for_validate()
2161 sec_dpp_pipe->stream_res.tg = opp_head->stream_res.tg; in dcn20_acquire_free_pipe_for_layer()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c221 old_pipe->stream_res.tg == new_pipe->stream_res.tg && in dcn35_disable_otg_wa()
226 new_pipe->stream_res.stream_enc && in dcn35_disable_otg_wa()
227 new_pipe->stream_res.stream_enc->funcs->is_fifo_enabled && in dcn35_disable_otg_wa()
228 new_pipe->stream_res.stream_enc->funcs->is_fifo_enabled(new_pipe->stream_res.stream_enc); in dcn35_disable_otg_wa()
241 if (pipe->stream_res.tg && pipe->stream_res.tg->funcs->immediate_disable_crtc) in dcn35_disable_otg_wa()
242 pipe->stream_res.tg->funcs->immediate_disable_crtc(pipe->stream_res.tg); in dcn35_disable_otg_wa()
246 pipe->stream_res.tg->funcs->enable_crtc(pipe->stream_res.tg); in dcn35_disable_otg_wa()
265 if (pipe_ctx->stream_res.tg && in dcn35_update_clocks_update_dtb_dto()
266 !(tg_mask & (1 << pipe_ctx->stream_res.tg->inst))) { in dcn35_update_clocks_update_dtb_dto()
267 tg_mask |= (1 << pipe_ctx->stream_res.tg->inst); in dcn35_update_clocks_update_dtb_dto()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
H A Ddce_clk_mgr.c180 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.15/drivers/gpu/drm/amd/display/dc/resource/dce110/
H A Ddce110_resource.c895 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.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
H A Ddcn316_clk_mgr.c118 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()

123