Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c627 crtc_source_select.engine_id = pipe_ctx->stream_res.stream_enc->id; in bios_parser_crtc_source_select()
628 crtc_source_select.controller_id = pipe_ctx->stream_res.tg->inst + 1; in bios_parser_crtc_source_select()
673 if (pipe_ctx->stream_res.stream_enc == NULL) in dce110_update_info_frame()
683 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame()
684 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
685 &pipe_ctx->stream_res.encoder_info_frame); in dce110_update_info_frame()
687 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame()
688 pipe_ctx->stream_res.stream_enc, in dce110_update_info_frame()
689 &pipe_ctx->stream_res.encoder_info_frame); in dce110_update_info_frame()
703 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dce110_enable_stream()
[all …]
Ddce110_resource.c741 pixel_clk_params->controller_id = pipe_ctx->stream_res.tg->inst + 1; in get_pixel_clock_parameters()
762 get_pixel_clock_parameters(pipe_ctx, &pipe_ctx->stream_res.pix_clk_params); in dce110_resource_build_pipe_hw_param()
765 &pipe_ctx->stream_res.pix_clk_params, in dce110_resource_build_pipe_hw_param()
976 pipe_ctx->stream_res.tg = pool->timing_generators[underlay_idx]; in dce110_acquire_underlay()
980 pipe_ctx->stream_res.opp = pool->opps[underlay_idx]; in dce110_acquire_underlay()
991 pipe_ctx->stream_res.tg->inst, in dce110_acquire_underlay()
999 pipe_ctx->stream_res.tg->funcs->program_timing(pipe_ctx->stream_res.tg, in dce110_acquire_underlay()
1003 pipe_ctx->stream_res.tg->funcs->enable_advanced_request( in dce110_acquire_underlay()
1004 pipe_ctx->stream_res.tg, in dce110_acquire_underlay()
1016 pipe_ctx->stream_res.tg->funcs->set_blank_color( in dce110_acquire_underlay()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c644 pipe_ctx->stream_res.tg->funcs->enable_optc_clock(pipe_ctx->stream_res.tg, true); in dcn10_enable_stream_timing()
648 &pipe_ctx->stream_res.pix_clk_params, in dcn10_enable_stream_timing()
653 pipe_ctx->stream_res.tg->dlg_otg_param.vready_offset = pipe_ctx->pipe_dlg_param.vready_offset; in dcn10_enable_stream_timing()
654 pipe_ctx->stream_res.tg->dlg_otg_param.vstartup_start = pipe_ctx->pipe_dlg_param.vstartup_start; in dcn10_enable_stream_timing()
655 pipe_ctx->stream_res.tg->dlg_otg_param.vupdate_offset = pipe_ctx->pipe_dlg_param.vupdate_offset; in dcn10_enable_stream_timing()
656 pipe_ctx->stream_res.tg->dlg_otg_param.vupdate_width = pipe_ctx->pipe_dlg_param.vupdate_width; in dcn10_enable_stream_timing()
658 pipe_ctx->stream_res.tg->dlg_otg_param.signal = pipe_ctx->stream->signal; in dcn10_enable_stream_timing()
660 pipe_ctx->stream_res.tg->funcs->program_timing( in dcn10_enable_stream_timing()
661 pipe_ctx->stream_res.tg, in dcn10_enable_stream_timing()
669 inst_offset = reg_offsets[pipe_ctx->stream_res.tg->inst].fmt; in dcn10_enable_stream_timing()
[all …]
Ddcn10_resource.c922 pixel_clk_params->controller_id = pipe_ctx->stream_res.tg->inst + 1; in get_pixel_clock_parameters()
950 get_pixel_clock_parameters(pipe_ctx, &pipe_ctx->stream_res.pix_clk_params); in build_pipe_hw_param()
954 &pipe_ctx->stream_res.pix_clk_params, in build_pipe_hw_param()
1033 idle_pipe->stream_res.tg = head_pipe->stream_res.tg; in dcn10_acquire_idle_pipe_for_layer()
1034 idle_pipe->stream_res.abm = head_pipe->stream_res.abm; in dcn10_acquire_idle_pipe_for_layer()
1035 idle_pipe->stream_res.opp = head_pipe->stream_res.opp; in dcn10_acquire_idle_pipe_for_layer()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
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-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c78 pipes[i].stream_res.pix_clk_params.requested_pix_clk = in dp_enable_link_phy()
82 &pipes[i].stream_res.pix_clk_params, in dp_enable_link_phy()
283 pipes[i].stream_res.stream_enc != NULL && in dp_retrain_link_dp_test()
287 pipes[i].stream_res.stream_enc->funcs->dp_blank( in dp_retrain_link_dp_test()
288 pipes[i].stream_res.stream_enc); in dp_retrain_link_dp_test()
326 if (pipes[i].stream_res.audio) { in dp_retrain_link_dp_test()
329 pipes[i].stream_res.audio->funcs->az_enable( in dp_retrain_link_dp_test()
330 pipes[i].stream_res.audio); in dp_retrain_link_dp_test()
335 pipes[i].stream_res.stream_enc->funcs-> in dp_retrain_link_dp_test()
337 pipes[i].stream_res.stream_enc, false); in dp_retrain_link_dp_test()
Ddc.c202 if (pipe->stream == stream && pipe->stream_res.stream_enc) { in dc_stream_adjust_vmin_vmax()
229 if (pipe->stream == stream && pipe->stream_res.stream_enc) { in dc_stream_get_crtc_position()
283 tg = pipe->stream_res.tg; in dc_stream_configure_crc()
317 tg = pipe->stream_res.tg; in dc_stream_get_crc()
360 pipes->stream_res.opp->funcs-> in dc_stream_set_dither_option()
361 opp_program_bit_depth_reduction(pipes->stream_res.opp, &params); in dc_stream_set_dither_option()
798 …if (pipe_set[j]->stream_res.tg->funcs->is_blanked && !pipe_set[j]->stream_res.tg->funcs->is_blanke… in program_timing_sync()
811 …if (pipe_set[j]->stream_res.tg->funcs->is_blanked && !pipe_set[j]->stream_res.tg->funcs->is_blanke… in program_timing_sync()
1359 if (stream_update && stream_update->abm_level && pipe_ctx->stream_res.abm) { in commit_planes_for_stream()
1360 if (pipe_ctx->stream_res.tg->funcs->is_blanked) { in commit_planes_for_stream()
[all …]
Ddc_resource.c1272 pipe_ctx->stream_res.tg = pool->timing_generators[i]; in acquire_first_split_pipe()
1276 pipe_ctx->stream_res.opp = pool->opps[i]; in acquire_first_split_pipe()
1344 free_pipe->stream_res.tg = tail_pipe->stream_res.tg; in dc_add_plane_to_context()
1345 free_pipe->stream_res.abm = tail_pipe->stream_res.abm; in dc_add_plane_to_context()
1346 free_pipe->stream_res.opp = tail_pipe->stream_res.opp; in dc_add_plane_to_context()
1347 free_pipe->stream_res.stream_enc = tail_pipe->stream_res.stream_enc; in dc_add_plane_to_context()
1348 free_pipe->stream_res.audio = tail_pipe->stream_res.audio; in dc_add_plane_to_context()
1640 pipe_ctx->stream_res.tg = pool->timing_generators[i]; in acquire_first_free_pipe()
1646 pipe_ctx->stream_res.opp = pool->opps[i]; in acquire_first_free_pipe()
1777 ASSERT(del_pipe->stream_res.stream_enc); in dc_remove_stream_from_ctx()
[all …]
Ddc_debug.c329 pipe_ctx->stream_res.tg->funcs->get_position(pipe_ctx->stream_res.tg, &position); in context_timing_trace()
340 pipe_ctx->stream_res.tg->inst, in context_timing_trace()
Ddc_link_dp.c2557 pipe_ctx->stream_res.opp->funcs-> in set_crtc_test_pattern()
2558 opp_program_bit_depth_reduction(pipe_ctx->stream_res.opp, &params); in set_crtc_test_pattern()
2559 if (pipe_ctx->stream_res.tg->funcs->set_test_pattern) in set_crtc_test_pattern()
2560 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg, in set_crtc_test_pattern()
2570 pipe_ctx->stream_res.opp->funcs-> in set_crtc_test_pattern()
2571 opp_program_bit_depth_reduction(pipe_ctx->stream_res.opp, &params); in set_crtc_test_pattern()
2572 if (pipe_ctx->stream_res.tg->funcs->set_test_pattern) in set_crtc_test_pattern()
2573 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg, in set_crtc_test_pattern()
2649 pipes->stream_res.stream_enc->funcs->dp_blank(pipe_ctx->stream_res.stream_enc); in dc_link_dp_set_test_pattern()
Ddc_link.c1829 eng_id = pipe_ctx->stream_res.stream_enc->id; in enable_link_hdmi()
2086 res_ctx.pipe_ctx[i].stream_res.tg->inst + in dc_link_set_backlight_level()
2169 bpc = get_color_depth(pipe_ctx->stream_res.pix_clk_params.color_depth); in get_pbn_from_timing()
2170 kbps = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk * bpc * 3; in get_pbn_from_timing()
2248 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in allocate_mst_payload()
2268 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in allocate_mst_payload()
2328 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in deallocate_mst_payload()
2356 link, pipe_ctx->stream_res.stream_enc, &proposed_table); in deallocate_mst_payload()
2442 if (pipe_ctx->stream_res.tg->funcs->set_test_pattern) in core_link_enable_stream()
2443 pipe_ctx->stream_res.tg->funcs->set_test_pattern(pipe_ctx->stream_res.tg, in core_link_enable_stream()
Ddc_stream.c282 struct timing_generator *tg = res_ctx->pipe_ctx[i].stream_res.tg; in dc_stream_get_vblank_counter()
306 struct timing_generator *tg = res_ctx->pipe_ctx[i].stream_res.tg; in dc_stream_get_scanoutpos()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_hw_sequencer.c148 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk > max_pix_clk) in get_max_pixel_clock_for_all_paths()
150 pipe_ctx->stream_res.pix_clk_params.requested_pix_clk; in get_max_pixel_clock_for_all_paths()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h214 struct stream_resource stream_res; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/irq/dce110/
Dirq_service_dce110.c208 core_dc->current_state->res_ctx.pipe_ctx[pipe_offset].stream_res.tg; in dce110_vblank_set()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c1162 memset(&hsplit_pipe->stream_res, 0, sizeof(hsplit_pipe->stream_res)); in dcn_validate_bandwidth()