Home
last modified time | relevance | path

Searched refs:phantom_stream (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_utils.c154 global_sync = &stream_programming->phantom_stream.global_sync; in dml21_pipe_populate_global_sync()
248 struct dc_stream_state *phantom_stream; in dml21_add_phantom_stream() local
249 …struct dml2_stream_parameters *phantom_stream_descriptor = &stream_programming->phantom_stream.des… in dml21_add_phantom_stream()
251phantom_stream = dml_ctx->config.svp_pstate.callbacks.create_phantom_stream(dc, context, main_stre… in dml21_add_phantom_stream()
252 if (!phantom_stream) in dml21_add_phantom_stream()
256 memcpy(&phantom_stream->timing, &main_stream->timing, sizeof(phantom_stream->timing)); in dml21_add_phantom_stream()
257 memcpy(&phantom_stream->src, &main_stream->src, sizeof(phantom_stream->src)); in dml21_add_phantom_stream()
258 memcpy(&phantom_stream->dst, &main_stream->dst, sizeof(phantom_stream->dst)); in dml21_add_phantom_stream()
261 phantom_stream->timing.v_front_porch = phantom_stream_descriptor->timing.v_front_porch; in dml21_add_phantom_stream()
262 phantom_stream->timing.v_addressable = phantom_stream_descriptor->timing.v_active; in dml21_add_phantom_stream()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c47 struct dc_stream_state *phantom_stream) in dc_state_track_phantom_stream() argument
52 state->phantom_streams[state->phantom_stream_count++] = phantom_stream; in dc_state_track_phantom_stream()
57 …ool dc_state_untrack_phantom_stream(struct dc_state *state, struct dc_stream_state *phantom_stream) in dc_state_untrack_phantom_stream() argument
64 if (state->phantom_streams[i] == phantom_stream) { in dc_state_untrack_phantom_stream()
83 … dc_state_is_phantom_stream_tracked(struct dc_state *state, struct dc_stream_state *phantom_stream) in dc_state_is_phantom_stream_tracked() argument
88 if (state->phantom_streams[i] == phantom_stream) in dc_state_is_phantom_stream_tracked()
718 struct dc_stream_state *phantom_stream; in dc_state_create_phantom_stream() local
722 phantom_stream = dc_create_stream_for_sink(main_stream->sink); in dc_state_create_phantom_stream()
724 if (!phantom_stream) { in dc_state_create_phantom_stream()
730 dc_state_track_phantom_stream(state, phantom_stream); in dc_state_create_phantom_stream()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_mall_phantom.c438 struct dc_stream_state *phantom_stream; in dml2_svp_drr_schedulable() local
461 phantom_stream = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(context, pipe->stream); in dml2_svp_drr_schedulable()
463 phantom_timing = &phantom_stream->timing; in dml2_svp_drr_schedulable()
524 struct dc_stream_state *phantom_stream; in subvp_vblank_schedulable() local
556phantom_stream = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(context, subvp_pipe->str… in subvp_vblank_schedulable()
558 phantom_timing = &phantom_stream->timing; in subvp_vblank_schedulable()
652 struct dc_stream_state *phantom_stream, in set_phantom_stream_timing() argument
689 phantom_stream->timing.v_front_porch = 1; in set_phantom_stream_timing()
691 line_time = phantom_stream->timing.h_total / ((double)phantom_stream->timing.pix_clk_100hz * 100); in set_phantom_stream_timing()
692 …fp_and_sync_width_time = (phantom_stream->timing.v_front_porch + phantom_stream->timing.v_sync_wid… in set_phantom_stream_timing()
[all …]
H A Ddml2_wrapper.h123 struct dc_stream_state *phantom_stream,
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_state_priv.h57 struct dc_stream_state *phantom_stream);
65 struct dc_stream_state *phantom_stream,
69 struct dc_stream_state *phantom_stream);
73 struct dc_stream_state *phantom_stream,
79 struct dc_stream_state *phantom_stream,
85 struct dc_stream_state *phantom_stream,
91 struct dc_stream_state *phantom_stream,
H A Ddc_dmub_srv.c567 …struct dc_stream_state *phantom_stream = dc_state_get_paired_subvp_stream(context, subvp_pipe->str… in populate_subvp_cmd_drr_info() local
583 if (!phantom_stream) in populate_subvp_cmd_drr_info()
586 phantom_timing = &phantom_stream->timing; in populate_subvp_cmd_drr_info()
770 …struct dc_stream_state *phantom_stream = dc_state_get_paired_subvp_stream(context, subvp_pipe->str… in populate_subvp_cmd_pipe_info() local
775 if (!phantom_stream) in populate_subvp_cmd_pipe_info()
778 phantom_timing = &phantom_stream->timing; in populate_subvp_cmd_pipe_info()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_dcn4.c170 …const struct dml2_stream_parameters *phantom_stream, int phantom_stream_index, const struct dml2_s… in create_phantom_plane_from_main_plane() argument
178 …(double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane()
181 …(double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane()
196 const struct dml2_stream_parameters *phantom_stream; in expand_implict_subvp() local
237phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main… in expand_implict_subvp()
239 …main_plane, phantom_stream, scratch->svp_stream_index_from_main_stream_index[main_plane->stream_in… in expand_implict_subvp()
263 const struct dml2_stream_parameters *phantom_stream; in pack_mode_programming_params_with_implicit_subvp() local
284phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main… in pack_mode_programming_params_with_implicit_subvp()
293 if (main_stream != phantom_stream) { in pack_mode_programming_params_with_implicit_subvp()
295 programming->stream_programming[stream_index].phantom_stream.enabled = true; in pack_mode_programming_params_with_implicit_subvp()
[all …]
H A Ddml2_core_utils.c587 …const struct dml2_stream_parameters *phantom_stream, int phantom_stream_index, const struct dml2_s… in create_phantom_plane_from_main_plane() argument
595 …(double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane()
598 …(double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane()
613 const struct dml2_stream_parameters *phantom_stream; in dml2_core_utils_expand_implict_subvp() local
654phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main… in dml2_core_utils_expand_implict_subvp()
656 …main_plane, phantom_stream, scratch->svp_stream_index_from_main_stream_index[main_plane->stream_in… in dml2_core_utils_expand_implict_subvp()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1640 struct dc_stream_state *phantom_stream, in dcn32_enable_phantom_plane() argument
1673 phantom_plane->clip_rect.height = phantom_stream->src.height; in dcn32_enable_phantom_plane()
1675 dc_state_add_phantom_plane(dc, phantom_stream, phantom_plane, context); in dcn32_enable_phantom_plane()
1688 struct dc_stream_state *phantom_stream = NULL; in dcn32_enable_phantom_stream() local
1691 phantom_stream = dc_state_create_phantom_stream(dc, context, ref_pipe->stream); in dcn32_enable_phantom_stream()
1692 if (!phantom_stream) in dcn32_enable_phantom_stream()
1693 return phantom_stream; in dcn32_enable_phantom_stream()
1696 memcpy(&phantom_stream->timing, &ref_pipe->stream->timing, sizeof(phantom_stream->timing)); in dcn32_enable_phantom_stream()
1697 memcpy(&phantom_stream->src, &ref_pipe->stream->src, sizeof(phantom_stream->src)); in dcn32_enable_phantom_stream()
1698 memcpy(&phantom_stream->dst, &ref_pipe->stream->dst, sizeof(phantom_stream->dst)); in dcn32_enable_phantom_stream()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.h42 struct dc_stream_state *phantom_stream,
H A Ddcn32_fpu.c469 struct dc_stream_state *phantom_stream, in dcn32_set_phantom_stream_timing() argument
529 phantom_stream->dst.y = 0; in dcn32_set_phantom_stream_timing()
530 phantom_stream->dst.height = phantom_vactive; in dcn32_set_phantom_stream_timing()
536 phantom_stream->src.y = 0; in dcn32_set_phantom_stream_timing()
537phantom_stream->src.height = (double)phantom_vactive * (double)main_stream->src.height / (double)m… in dcn32_set_phantom_stream_timing()
539 phantom_stream->timing.v_addressable = phantom_vactive; in dcn32_set_phantom_stream_timing()
540 phantom_stream->timing.v_front_porch = 1; in dcn32_set_phantom_stream_timing()
541 phantom_stream->timing.v_total = phantom_stream->timing.v_addressable + in dcn32_set_phantom_stream_timing()
542 phantom_stream->timing.v_front_porch + in dcn32_set_phantom_stream_timing()
543 phantom_stream->timing.v_sync_width + in dcn32_set_phantom_stream_timing()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
H A Ddml_top_types.h283 } phantom_stream; member