Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_hw_sequencer.c1096 if (pipe_ctx->stream_res.audio && pipe_ctx->stream_res.audio->enabled == true) in dce110_enable_audio_stream()
1106 pipe_ctx->stream_res.audio->funcs->az_enable(pipe_ctx->stream_res.audio); in dce110_enable_audio_stream()
1143 if (pipe_ctx->stream_res.audio && pipe_ctx->stream_res.audio->enabled == false) in dce110_disable_audio_stream()
1451 pipe_ctx->stream_res.tg,
1475 pipe_ctx->stream_res.tg,
1482 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, true);
1615 pipe_ctx->stream_res.opp,
2181 pipe_ctx_old->stream_res.tg->funcs->set_blank(pipe_ctx_old->stream_res.tg, true);
2186 pipe_ctx_old->stream_res.tg->funcs->disable_crtc(pipe_ctx_old->stream_res.tg);
2451 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, blank_target);
[all …]
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()
1135 pipe_ctx->stream_res.tg = pool->timing_generators[underlay_idx]; in dce110_acquire_underlay()
1139 pipe_ctx->stream_res.opp = pool->opps[underlay_idx]; in dce110_acquire_underlay()
1150 pipe_ctx->stream_res.tg->inst, in dce110_acquire_underlay()
1158 pipe_ctx->stream_res.tg->funcs->program_timing(pipe_ctx->stream_res.tg, in dce110_acquire_underlay()
1167 pipe_ctx->stream_res.tg->funcs->enable_advanced_request( in dce110_acquire_underlay()
1168 pipe_ctx->stream_res.tg, in dce110_acquire_underlay()
1180 pipe_ctx->stream_res.tg->funcs->set_blank_color( in dce110_acquire_underlay()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_link_hwss.c456 (&pipes[i])->stream_res.audio->funcs->az_disable((&pipes[i])->stream_res.audio); in dp_retrain_link_dp_test()
480 if (pipes[i].stream_res.audio) { in dp_retrain_link_dp_test()
484 pipes[i].stream_res.audio); in dp_retrain_link_dp_test()
584 pipe_ctx->stream_res.stream_enc->funcs->dp_set_dsc_config(pipe_ctx->stream_res.stream_enc,
595 pipe_ctx->stream_res.tg->funcs->set_dsc_config(pipe_ctx->stream_res.tg,
602 pipe_ctx->stream_res.tg,
627 pipe_ctx->stream_res.dsc->funcs->dsc_disable(pipe_ctx->stream_res.dsc);
629 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc);
858 pipe_ctx->stream_res.tg->inst);
868 pipe_ctx->stream_res.tg->inst,
[all …]
A Ddc_resource.c1440 free_pipe->stream_res.tg = tail_pipe->stream_res.tg; in dc_add_plane_to_context()
1441 free_pipe->stream_res.abm = tail_pipe->stream_res.abm; in dc_add_plane_to_context()
1442 free_pipe->stream_res.opp = tail_pipe->stream_res.opp; in dc_add_plane_to_context()
1443 free_pipe->stream_res.stream_enc = tail_pipe->stream_res.stream_enc; in dc_add_plane_to_context()
1444 free_pipe->stream_res.audio = tail_pipe->stream_res.audio; in dc_add_plane_to_context()
1896 del_pipe->stream_res.audio, in dc_remove_stream_from_ctx()
2192 pipe_ctx->stream_res.abm = pool->multiple_abms[pipe_ctx->stream_res.tg->inst]; in resource_map_pool_resources()
2203 pipe_ctx->stream_res.audio ? pipe_ctx->stream_res.audio->inst : -1; in resource_map_pool_resources()
2821 if (pipe_ctx_old->stream_res.audio != pipe_ctx->stream_res.audio) in pipe_need_reprogram()
2828 if (pipe_ctx_old->stream_res.stream_enc != pipe_ctx->stream_res.stream_enc) in pipe_need_reprogram()
[all …]
A Ddc.c641 tg = pipe->stream_res.tg; in dc_stream_configure_crc()
677 tg = pipe->stream_res.tg; in dc_stream_get_crc()
1403 pipe_set[j]->stream_res.tg->funcs->is_blanked(pipe_set[j]->stream_res.tg); in program_timing_sync()
1433 pipe_set[j]->stream_res.tg->funcs->is_blanked(pipe_set[j]->stream_res.tg); in program_timing_sync()
2733 pipe_ctx->stream_res.opp->funcs->opp_program_fmt(pipe_ctx->stream_res.opp, in commit_planes_do_stream_update()
2737 odm_pipe->stream_res.opp->funcs->opp_program_fmt(odm_pipe->stream_res.opp, in commit_planes_do_stream_update()
2775 pipe_ctx->stream_res.audio->funcs->az_disable(pipe_ctx->stream_res.audio); in commit_planes_do_stream_update()
2792 if (pipe_ctx->stream_res.tg->funcs->is_blanked(pipe_ctx->stream_res.tg)) in commit_planes_do_stream_update()
3093 pipe_ctx->stream_res.tg->funcs->program_manual_trigger(pipe_ctx->stream_res.tg); in commit_planes_for_stream()
3874 if (pipe->stream_res.abm && pipe->stream_res.abm->funcs->set_abm_pause) in dc_notify_vsync_int_state()
[all …]
A Ddc_link.c2861 abm = pipe_ctx.stream_res.abm; in get_abm_from_stream_res()
4157 pipe_ctx->stream_res.stream_enc,
4158 pipe_ctx->stream_res.tg->inst,
4182 pipe_ctx->stream_res.stream_enc,
4194 pipe_ctx->stream_res.stream_enc,
4203 pipe_ctx->stream_res.tg->funcs->set_out_mux(pipe_ctx->stream_res.tg, otg_out_dest);
4208 pipe_ctx->stream_res.stream_enc,
4215 pipe_ctx->stream_res.stream_enc,
4244 pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc);
4304 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg,
[all …]
A Ddc_link_dp.c5074 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg,
5141 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg,
5254 pipes->stream_res.stream_enc->funcs->dp_blank(link, pipe_ctx->stream_res.stream_enc);
5408 pipe_ctx->stream_res.tg);
5411 pipe_ctx->stream_res.tg->funcs->lock(pipe_ctx->stream_res.tg);
5413 pipe_ctx->stream_res.stream_enc->funcs->dp_set_stream_attribute(pipe_ctx->stream_res.stream_enc,
5430 pipe_ctx->stream_res.tg->funcs->unlock(pipe_ctx->stream_res.tg);
5431 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg,
5433 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg,
5435 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg,
[all …]
A Ddc_debug.c326 pipe_ctx->stream_res.tg->funcs->get_position(pipe_ctx->stream_res.tg, &position); in context_timing_trace()
337 pipe_ctx->stream_res.tg->inst, in context_timing_trace()
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_hwseq.c597 memset(&pipe_ctx->stream_res, 0, sizeof(pipe_ctx->stream_res)); in dcn20_plane_atomic_disable()
997 struct stream_resource *stream_res = &pipe_ctx->stream_res; in dcn20_blank_pixel_data() local
1248 pipe->stream_res.tg->funcs->triplebuffer_lock(pipe->stream_res.tg); in dcn20_pipe_control_lock()
1250 pipe->stream_res.tg->funcs->triplebuffer_unlock(pipe->stream_res.tg); in dcn20_pipe_control_lock()
1253 pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); in dcn20_pipe_control_lock()
1255 pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); in dcn20_pipe_control_lock()
1300 || old_pipe->stream_res.opp != new_pipe->stream_res.opp) in dcn20_detect_pipe_changes()
1321 if (old_pipe->stream_res.opp != new_pipe->stream_res.opp) in dcn20_detect_pipe_changes()
1323 if (old_pipe->stream_res.tg != new_pipe->stream_res.tg) in dcn20_detect_pipe_changes()
1332 || old_pipe->stream_res.opp != new_pipe->stream_res.opp) in dcn20_detect_pipe_changes()
[all …]
A Ddcn20_resource.c1753 if (pipe_ctx->stream_res.dsc) in dcn20_add_dsc_to_stream_resource()
1759 if (!pipe_ctx->stream_res.dsc) { in dcn20_add_dsc_to_stream_resource()
1781 if (pipe_ctx->stream_res.dsc) in remove_dsc_from_stream_resource()
1903 next_odm_pipe->stream_res.dsc = NULL; in dcn20_split_stream_for_odm()
1958 next_odm_pipe->stream_res.opp = next_odm_pipe->top_pipe->stream_res.opp; in dcn20_split_stream_for_odm()
2499 if (!pipe_ctx->stream_res.dsc->funcs->dsc_validate_stream(pipe_ctx->stream_res.dsc, &dsc_cfg)) in dcn20_validate_dsc()
2607 if (odm_pipe->stream_res.dsc) in dcn20_merge_pipes_for_validate()
2611 memset(&odm_pipe->stream_res, 0, sizeof(odm_pipe->stream_res)); in dcn20_merge_pipes_for_validate()
2636 memset(&hsplit_pipe->stream_res, 0, sizeof(hsplit_pipe->stream_res)); in dcn20_merge_pipes_for_validate()
3330 idle_pipe->stream_res.tg = head_pipe->stream_res.tg; in dcn20_acquire_idle_pipe_for_layer()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_hwseq.c415 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
419 pipe_ctx->stream_res.stream_enc, in dcn31_update_info_frame()
531 pipe_ctx->stream_res.tg, in dcn31_reset_back_end_for_pipe()
533 pipe_ctx->stream_res.tg->funcs->disable_crtc(pipe_ctx->stream_res.tg); in dcn31_reset_back_end_for_pipe()
535 pipe_ctx->stream_res.tg->funcs->enable_optc_clock(pipe_ctx->stream_res.tg, false); in dcn31_reset_back_end_for_pipe()
542 pipe_ctx->stream_res.tg, NULL); in dcn31_reset_back_end_for_pipe()
554 else if (pipe_ctx->stream_res.audio) in dcn31_reset_back_end_for_pipe()
558 if (pipe_ctx->stream_res.audio) { in dcn31_reset_back_end_for_pipe()
560 pipe_ctx->stream_res.audio->funcs->az_disable(pipe_ctx->stream_res.audio); in dcn31_reset_back_end_for_pipe()
568 pipe_ctx->stream_res.audio = NULL; in dcn31_reset_back_end_for_pipe()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hw_sequencer.c942 !pipe_ctx->stream_res.tg->funcs->is_blanked(pipe_ctx->stream_res.tg)) { in dcn10_enable_stream_timing()
943 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, true); in dcn10_enable_stream_timing()
1015 pipe_ctx->stream_res.tg->funcs->disable_crtc(pipe_ctx->stream_res.tg); in dcn10_reset_back_end_for_pipe()
1236 memset(&pipe_ctx->stream_res, 0, sizeof(pipe_ctx->stream_res)); in dcn10_plane_atomic_disable()
1837 pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); in dcn10_pipe_control_lock()
1839 pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); in dcn10_pipe_control_lock()
1869 if (!pipe_ctx->stream_res.stream_enc || !pipe_ctx->stream_res.tg) in delay_cursor_until_vupdate()
2774 struct stream_resource *stream_res = &pipe_ctx->stream_res; in dcn10_blank_pixel_data() local
2792 stream_res->tg, in dcn10_blank_pixel_data()
2797 stream_res->tg->funcs->set_blank(stream_res->tg, blank); in dcn10_blank_pixel_data()
[all …]
A Ddcn10_resource.c1073 pixel_clk_params->controller_id = pipe_ctx->stream_res.tg->inst + 1; in get_pixel_clock_parameters()
1103 get_pixel_clock_parameters(pipe_ctx, &pipe_ctx->stream_res.pix_clk_params); in build_pipe_hw_param()
1107 &pipe_ctx->stream_res.pix_clk_params, in build_pipe_hw_param()
1168 idle_pipe->stream_res.tg = head_pipe->stream_res.tg; in dcn10_acquire_idle_pipe_for_layer()
1169 idle_pipe->stream_res.abm = head_pipe->stream_res.abm; in dcn10_acquire_idle_pipe_for_layer()
1170 idle_pipe->stream_res.opp = head_pipe->stream_res.opp; in dcn10_acquire_idle_pipe_for_layer()
/linux/drivers/gpu/drm/amd/display/dc/dce/
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()
A Ddmub_psr.c307 if (pipe_ctx->stream_res.opp) in dmub_psr_copy_settings()
308 copy_settings_data->opp_inst = pipe_ctx->stream_res.opp->inst; in dmub_psr_copy_settings()
311 if (pipe_ctx->stream_res.tg) in dmub_psr_copy_settings()
312 copy_settings_data->otg_inst = pipe_ctx->stream_res.tg->inst; in dmub_psr_copy_settings()
A Ddce_clk_mgr.c199 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10 > max_pix_clk) in get_max_pixel_clock_for_all_paths()
200 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10; in get_max_pixel_clock_for_all_paths()
206 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk > max_pix_clk) in get_max_pixel_clock_for_all_paths()
207 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_sym_clk; in get_max_pixel_clock_for_all_paths()
522 cfg->pipe_idx = pipe_ctx->stream_res.tg->inst; in dce110_fill_display_configs()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_hwseq.c176 if (pipe_ctx->stream_res.opp && pipe_ctx->stream_res.opp->ctx) { in dcn30_set_input_transfer_func()
677 pipe_ctx->stream_res.stream_enc, in dcn30_set_avmute()
688 if (pipe_ctx->stream_res.stream_enc == NULL) in dcn30_update_info_frame()
699 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
700 &pipe_ctx->stream_res.encoder_info_frame); in dcn30_update_info_frame()
703 pipe_ctx->stream_res.stream_enc, in dcn30_update_info_frame()
980 struct stream_resource *stream_res = &pipe_ctx->stream_res; in dcn30_set_disp_pattern_generator() local
986 stream_res->opp->funcs->opp_set_disp_pattern_generator(stream_res->opp, test_pattern, color_space, in dcn30_set_disp_pattern_generator()
990 if (stream_res->tg->funcs->is_tg_enabled(stream_res->tg)) { in dcn30_set_disp_pattern_generator()
991 if (stream_res->tg->funcs->is_locked(stream_res->tg)) in dcn30_set_disp_pattern_generator()
[all …]
A Ddcn30_resource.c1775 sec_pipe->stream_res.dsc = NULL; in dcn30_split_stream_for_mpc_or_odm()
1794 sec_pipe->stream_res.opp = pool->opps[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
1796 sec_pipe->stream_res.opp = sec_pipe->top_pipe->stream_res.opp; in dcn30_split_stream_for_mpc_or_odm()
1798 dcn20_acquire_dsc(dc, res_ctx, &sec_pipe->stream_res.dsc, pipe_idx); in dcn30_split_stream_for_mpc_or_odm()
1799 ASSERT(sec_pipe->stream_res.dsc); in dcn30_split_stream_for_mpc_or_odm()
1800 if (sec_pipe->stream_res.dsc == NULL) in dcn30_split_stream_for_mpc_or_odm()
1971 if (pipe->stream_res.dsc) in dcn30_internal_validate_bw()
1972 dcn20_release_dsc(&context->res_ctx, dc->res_pool, &pipe->stream_res.dsc); in dcn30_internal_validate_bw()
1974 memset(&pipe->stream_res, 0, sizeof(pipe->stream_res)); in dcn30_internal_validate_bw()
1989 memset(&pipe->stream_res, 0, sizeof(pipe->stream_res)); in dcn30_internal_validate_bw()
/linux/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_hwseq.c320 pipe_ctx->stream_res.tg = tg; in dcn201_init_hw()
329 pipe_ctx->stream_res.opp = NULL; in dcn201_init_hw()
334 pipe_ctx->stream_res.opp = res_pool->opps[i]; in dcn201_init_hw()
355 pipe_ctx->stream_res.tg = NULL; in dcn201_init_hw()
397 struct output_pixel_processor *opp = pipe_ctx->stream_res.opp; in dcn201_plane_atomic_disconnect()
534 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn201_update_mpcc()
557 pipe->stream_res.tg->funcs->triplebuffer_lock(pipe->stream_res.tg); in dcn201_pipe_control_lock()
559 pipe->stream_res.tg->funcs->triplebuffer_unlock(pipe->stream_res.tg); in dcn201_pipe_control_lock()
562 pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); in dcn201_pipe_control_lock()
564 pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); in dcn201_pipe_control_lock()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn21/
A Ddcn21_hwseq.c164 struct abm *abm = pipe_ctx->stream_res.abm; in dcn21_set_abm_immediate_disable()
165 uint32_t otg_inst = pipe_ctx->stream_res.tg->inst; in dcn21_set_abm_immediate_disable()
184 struct abm *abm = pipe_ctx->stream_res.abm; in dcn21_set_pipe()
185 uint32_t otg_inst = pipe_ctx->stream_res.tg->inst; in dcn21_set_pipe()
204 struct abm *abm = pipe_ctx->stream_res.abm; in dcn21_set_backlight_level()
205 uint32_t otg_inst = pipe_ctx->stream_res.tg->inst; in dcn21_set_backlight_level()
/linux/drivers/gpu/drm/amd/display/dc/dce60/
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/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
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/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
A Ddcn20_clk_mgr.c149 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_update_clocks_update_dentist()
167 pipe_ctx->stream_res.tg->inst); in dcn20_update_clocks_update_dentist()
179 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in dcn20_update_clocks_update_dentist()
195 pipe_ctx->stream_res.tg->inst); in dcn20_update_clocks_update_dentist()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
A Ddcn31_clk_mgr.c114 pipe->stream_res.tg->funcs->immediate_disable_crtc(pipe->stream_res.tg); in dcn31_disable_otg_wa()
116 pipe->stream_res.tg->funcs->enable_crtc(pipe->stream_res.tg); in dcn31_disable_otg_wa()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_debugfs.c1323 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_clock_en_read()
1510 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_slice_width_read()
1695 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_slice_height_read()
1876 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_bits_per_pixel_read()
2052 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_pic_width_read()
2109 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_pic_height_read()
2181 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_chunk_size_read()
2253 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_slice_bpg_offset_read()

Completed in 95 milliseconds

12