/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
amdgpu_dc_debug.c | 324 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; local in function:context_timing_trace 328 if (pipe_ctx->stream == NULL || pipe_ctx->pipe_idx == underlay_idx) 331 pipe_ctx->stream_res.tg->funcs->get_position(pipe_ctx->stream_res.tg, &position); 336 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i] local in function:context_timing_trace [all...] |
amdgpu_dc_debug.c | 324 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; local in function:context_timing_trace 328 if (pipe_ctx->stream == NULL || pipe_ctx->pipe_idx == underlay_idx) 331 pipe_ctx->stream_res.tg->funcs->get_position(pipe_ctx->stream_res.tg, &position); 336 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i] local in function:context_timing_trace [all...] |
amdgpu_dc_surface.c | 161 struct pipe_ctx *pipe_ctx = local in function:dc_plane_get_status 162 &dc->current_state->res_ctx.pipe_ctx[i]; 164 if (pipe_ctx->plane_state != plane_state) 167 pipe_ctx->plane_state->status.is_flip_pending = false; 173 struct pipe_ctx *pipe_ctx = local in function:dc_plane_get_status 174 &dc->current_state->res_ctx.pipe_ctx[i]; 176 if (pipe_ctx->plane_state != plane_state) 179 dc->hwss.update_pending_status(pipe_ctx); [all...] |
amdgpu_dc_surface.c | 161 struct pipe_ctx *pipe_ctx = local in function:dc_plane_get_status 162 &dc->current_state->res_ctx.pipe_ctx[i]; 164 if (pipe_ctx->plane_state != plane_state) 167 pipe_ctx->plane_state->status.is_flip_pending = false; 173 struct pipe_ctx *pipe_ctx = local in function:dc_plane_get_status 174 &dc->current_state->res_ctx.pipe_ctx[i]; 176 if (pipe_ctx->plane_state != plane_state) 179 dc->hwss.update_pending_status(pipe_ctx); [all...] |
amdgpu_dc_stream.c | 239 static void delay_cursor_until_vupdate(struct pipe_ctx *pipe_ctx, struct dc *dc) 244 struct dc_stream_state *stream = pipe_ctx->stream; 250 vupdate_line = dc->hwss.get_vupdate_offset_from_vsync(pipe_ctx); 278 struct pipe_ctx *pipe_to_program = NULL; 299 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; local in function:dc_stream_set_cursor_attributes 301 if (pipe_ctx->stream != stream) 305 pipe_to_program = pipe_ctx; 346 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; local in function:dc_stream_set_cursor_position 544 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; local in function:dc_stream_send_dp_sdp 617 struct pipe_ctx *pipe_ctx = NULL; local in function:dc_stream_set_dynamic_metadata [all...] |
amdgpu_dc_stream.c | 239 static void delay_cursor_until_vupdate(struct pipe_ctx *pipe_ctx, struct dc *dc) 244 struct dc_stream_state *stream = pipe_ctx->stream; 250 vupdate_line = dc->hwss.get_vupdate_offset_from_vsync(pipe_ctx); 278 struct pipe_ctx *pipe_to_program = NULL; 299 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; local in function:dc_stream_set_cursor_attributes 301 if (pipe_ctx->stream != stream) 305 pipe_to_program = pipe_ctx; 346 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; local in function:dc_stream_set_cursor_position 544 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; local in function:dc_stream_send_dp_sdp 617 struct pipe_ctx *pipe_ctx = NULL; local in function:dc_stream_set_dynamic_metadata [all...] |
amdgpu_dc.c | 126 * struct pipe_ctx - A member of struct resource_context. Represents the 292 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; 319 struct pipe_ctx *pipe = 320 &dc->current_state->res_ctx.pipe_ctx[i]; 348 struct pipe_ctx *pipe; 353 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; 398 struct pipe_ctx *pipe; 402 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; 423 struct pipe_ctx *pipe_ctx local in function:dc_stream_set_dyn_expansion 1486 const struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:is_surface_in_context 2054 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_do_stream_update 2205 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2224 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2289 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2307 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2331 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2414 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dc_commit_updates_for_stream [all...] |
amdgpu_dc.c | 126 * struct pipe_ctx - A member of struct resource_context. Represents the 292 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; 319 struct pipe_ctx *pipe = 320 &dc->current_state->res_ctx.pipe_ctx[i]; 348 struct pipe_ctx *pipe; 353 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; 398 struct pipe_ctx *pipe; 402 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; 423 struct pipe_ctx *pipe_ctx local in function:dc_stream_set_dyn_expansion 1486 const struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:is_surface_in_context 2054 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_do_stream_update 2205 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2224 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2289 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2307 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2331 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; local in function:commit_planes_for_stream 2414 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dc_commit_updates_for_stream [all...] |
amdgpu_dc_link.c | 1467 static void enable_stream_features(struct pipe_ctx *pipe_ctx) 1469 struct dc_stream_state *stream = pipe_ctx->stream; 1490 struct pipe_ctx *pipe_ctx) 1492 struct dc_stream_state *stream = pipe_ctx->stream; 1512 if (pipe_ctx->stream->signal == SIGNAL_TYPE_EDP) { 1518 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk = 1532 pipe_ctx, 1533 pipe_ctx->stream->signal)) 2878 struct pipe_ctx *pipe_ctx; local in function:dc_link_reallocate_mst_payload [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/ |
dmub_psr.c | 107 struct pipe_ctx *pipe_ctx = NULL; local in function:dmub_setup_psr 112 res_ctx->pipe_ctx[i].stream && 113 res_ctx->pipe_ctx[i].stream->link && 114 res_ctx->pipe_ctx[i].stream->link == link && 115 res_ctx->pipe_ctx[i].stream->link->connector_signal == SIGNAL_TYPE_EDP) { 116 pipe_ctx = &res_ctx->pipe_ctx[i]; 121 if (!pipe_ctx || 122 !&pipe_ctx->plane_res | [all...] |
dmub_psr.c | 107 struct pipe_ctx *pipe_ctx = NULL; local in function:dmub_setup_psr 112 res_ctx->pipe_ctx[i].stream && 113 res_ctx->pipe_ctx[i].stream->link && 114 res_ctx->pipe_ctx[i].stream->link == link && 115 res_ctx->pipe_ctx[i].stream->link->connector_signal == SIGNAL_TYPE_EDP) { 116 pipe_ctx = &res_ctx->pipe_ctx[i]; 121 if (!pipe_ctx || 122 !&pipe_ctx->plane_res | [all...] |
dce_clk_mgr.c | 195 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:get_max_pixel_clock_for_all_paths 197 if (pipe_ctx->stream == NULL) 201 if (pipe_ctx->top_pipe) 204 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10 > max_pix_clk) 205 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10; 210 if (dc_is_dp_signal(pipe_ctx->stream->signal) && 211 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk > max_pix_clk) 212 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_sym_clk 509 const struct pipe_ctx *pipe_ctx = NULL; local in function:dce110_fill_display_configs [all...] |
dce_clk_mgr.c | 195 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:get_max_pixel_clock_for_all_paths 197 if (pipe_ctx->stream == NULL) 201 if (pipe_ctx->top_pipe) 204 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10 > max_pix_clk) 205 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10; 210 if (dc_is_dp_signal(pipe_ctx->stream->signal) && 211 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk > max_pix_clk) 212 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_sym_clk 509 const struct pipe_ctx *pipe_ctx = NULL; local in function:dce110_fill_display_configs [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/clk_mgr/dcn10/ |
amdgpu_rv1_clk_mgr.c | 107 struct pipe_ctx *pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; local in function:ramp_up_dispclk_with_dpp 109 if (!pipe_ctx->plane_state) 112 pipe_ctx->plane_res.dpp->funcs->dpp_dppclk_control( 113 pipe_ctx->plane_res.dpp,
|
amdgpu_rv1_clk_mgr.c | 107 struct pipe_ctx *pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; local in function:ramp_up_dispclk_with_dpp 109 if (!pipe_ctx->plane_state) 112 pipe_ctx->plane_res.dpp->funcs->dpp_dppclk_control( 113 pipe_ctx->plane_res.dpp,
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/clk_mgr/dce110/ |
amdgpu_dce110_clk_mgr.c | 137 const struct pipe_ctx *pipe_ctx = NULL; local in function:dce110_fill_display_configs 140 if (stream == context->res_ctx.pipe_ctx[k].stream) { 141 pipe_ctx = &context->res_ctx.pipe_ctx[k]; 145 ASSERT(pipe_ctx != NULL); 152 cfg->signal = pipe_ctx->stream->signal; 153 cfg->pipe_idx = pipe_ctx->stream_res.tg->inst;
|
amdgpu_dce110_clk_mgr.c | 137 const struct pipe_ctx *pipe_ctx = NULL; local in function:dce110_fill_display_configs 140 if (stream == context->res_ctx.pipe_ctx[k].stream) { 141 pipe_ctx = &context->res_ctx.pipe_ctx[k]; 145 ASSERT(pipe_ctx != NULL); 152 cfg->signal = pipe_ctx->stream->signal; 153 cfg->pipe_idx = pipe_ctx->stream_res.tg->inst;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/clk_mgr/dce100/ |
amdgpu_dce_clk_mgr.c | 176 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dce_get_max_pixel_clock_for_all_paths 178 if (pipe_ctx->stream == NULL) 182 if (pipe_ctx->top_pipe) 185 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10 > max_pix_clk) 186 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10; 191 if (dc_is_dp_signal(pipe_ctx->stream->signal) && 192 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk > max_pix_clk) 193 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_sym_clk [all...] |
amdgpu_dce_clk_mgr.c | 176 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dce_get_max_pixel_clock_for_all_paths 178 if (pipe_ctx->stream == NULL) 182 if (pipe_ctx->top_pipe) 185 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10 > max_pix_clk) 186 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10; 191 if (dc_is_dp_signal(pipe_ctx->stream->signal) && 192 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk > max_pix_clk) 193 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_sym_clk [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce100/ |
amdgpu_dce100_resource.c | 804 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); local in function:build_mapped_resource 806 if (!pipe_ctx) 809 dce110_resource_build_pipe_hw_param(pipe_ctx); 811 resource_build_info_frame(pipe_ctx); 825 if (context->res_ctx.pipe_ctx[i].stream)
|
amdgpu_dce100_resource.c | 804 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); local in function:build_mapped_resource 806 if (!pipe_ctx) 809 dce110_resource_build_pipe_hw_param(pipe_ctx); 811 resource_build_info_frame(pipe_ctx); 825 if (context->res_ctx.pipe_ctx[i].stream)
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce112/ |
amdgpu_dce112_resource.c | 850 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); local in function:build_mapped_resource 852 if (!pipe_ctx) 855 dce110_resource_build_pipe_hw_param(pipe_ctx); 857 resource_build_info_frame(pipe_ctx); 877 context->res_ctx.pipe_ctx, 941 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream( local in function:resource_map_phy_clock_resources 944 if (!pipe_ctx) 947 if (dc_is_dp_signal(pipe_ctx->stream->signal [all...] |
amdgpu_dce112_resource.c | 850 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); local in function:build_mapped_resource 852 if (!pipe_ctx) 855 dce110_resource_build_pipe_hw_param(pipe_ctx); 857 resource_build_info_frame(pipe_ctx); 877 context->res_ctx.pipe_ctx, 941 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream( local in function:resource_map_phy_clock_resources 944 if (!pipe_ctx) 947 if (dc_is_dp_signal(pipe_ctx->stream->signal [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/ |
amdgpu_dcn20_hwseq.c | 93 * gsl_0 <=> pipe_ctx->stream_res.gsl_group == 1 98 struct pipe_ctx *pipe_ctx, 110 if (pipe_ctx->stream_res.gsl_group > 0) 115 pipe_ctx->stream_res.gsl_group = group_idx; 137 group_idx = pipe_ctx->stream_res.gsl_group; 141 pipe_ctx->stream_res.gsl_group = 0; 165 if (pipe_ctx->stream_res.tg->funcs->set_gsl != NULL && 166 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select != NULL) { 167 pipe_ctx->stream_res.tg->funcs->set_gsl 1578 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_program_front_end_for_ctx 1627 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_program_front_end_for_ctx 1716 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_update_bandwidth 2095 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_reset_hw_ctx_wrap 2352 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_fpga_init_hw 2389 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_fpga_init_hw [all...] |
amdgpu_dcn20_hwseq.c | 93 * gsl_0 <=> pipe_ctx->stream_res.gsl_group == 1 98 struct pipe_ctx *pipe_ctx, 110 if (pipe_ctx->stream_res.gsl_group > 0) 115 pipe_ctx->stream_res.gsl_group = group_idx; 137 group_idx = pipe_ctx->stream_res.gsl_group; 141 pipe_ctx->stream_res.gsl_group = 0; 165 if (pipe_ctx->stream_res.tg->funcs->set_gsl != NULL && 166 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select != NULL) { 167 pipe_ctx->stream_res.tg->funcs->set_gsl 1578 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_program_front_end_for_ctx 1627 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_program_front_end_for_ctx 1716 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_update_bandwidth 2095 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_reset_hw_ctx_wrap 2352 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_fpga_init_hw 2389 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; local in function:dcn20_fpga_init_hw [all...] |