/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
H A D | dml21_utils.c | 154 global_sync = &stream_programming->phantom_stream.global_sync; in dml21_pipe_populate_global_sync() 247 struct dc_stream_state *phantom_stream; in dml21_add_phantom_stream() local 248 struct dml2_stream_parameters *phantom_stream_descriptor = &stream_programming->phantom_stream.descriptor; in dml21_add_phantom_stream() 250 phantom_stream = dml_ctx->config.svp_pstate.callbacks.create_phantom_stream(dc, context, main_stream); in dml21_add_phantom_stream() 251 if (!phantom_stream) in dml21_add_phantom_stream() 255 memcpy(&phantom_stream->timing, &main_stream->timing, sizeof(phantom_stream->timing)); in dml21_add_phantom_stream() 256 memcpy(&phantom_stream->src, &main_stream->src, sizeof(phantom_stream->src)); in dml21_add_phantom_stream() 257 memcpy(&phantom_stream in dml21_add_phantom_stream() 281 dml21_add_phantom_plane(struct dml2_context * dml_ctx,const struct dc * dc,struct dc_state * context,struct dc_stream_state * phantom_stream,struct dc_plane_state * main_plane,struct dml2_per_plane_programming * plane_programming) dml21_add_phantom_plane() argument 325 struct dc_stream_state *phantom_stream; dml21_handle_phantom_streams_planes() local 393 struct dc_stream_state *phantom_stream; dml21_build_fams2_programming() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_mall_phantom.c | 438 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 556 phantom_stream = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(context, subvp_pipe->stream); 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 in set_phantom_stream_timing() 718 struct dc_stream_state *phantom_stream = ctx->config.svp_pstate.callbacks.create_phantom_stream( enable_phantom_stream() local 738 enable_phantom_plane(struct dml2_context * ctx,struct dc_state * state,struct dc_stream_state * phantom_stream,unsigned int dc_pipe_idx) enable_phantom_plane() argument 786 struct dc_stream_state *phantom_stream = NULL; add_phantom_pipes_for_main_pipe() local 846 struct dc_stream_state *phantom_stream = NULL; dml2_svp_remove_all_phantom_pipes() local [all...] |
H A D | dml2_wrapper.h | 125 struct dc_stream_state *phantom_stream,
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_state.c | 48 struct dc_stream_state *phantom_stream) in dc_state_track_phantom_stream() argument 53 state->phantom_streams[state->phantom_stream_count++] = phantom_stream; in dc_state_track_phantom_stream() 58 static bool dc_state_untrack_phantom_stream(struct dc_state *state, struct dc_stream_state *phantom_stream) in dc_state_untrack_phantom_stream() argument 65 if (state->phantom_streams[i] == phantom_stream) { in dc_state_untrack_phantom_stream() 84 static bool dc_state_is_phantom_stream_tracked(struct dc_state *state, struct dc_stream_state *phantom_stream) in dc_state_is_phantom_stream_tracked() argument 89 if (state->phantom_streams[i] == phantom_stream) in dc_state_is_phantom_stream_tracked() 714 struct dc_stream_state *phantom_stream; in dc_state_create_phantom_stream() local 718 phantom_stream = dc_create_stream_for_sink(main_stream->sink); in dc_state_create_phantom_stream() 720 if (!phantom_stream) { in dc_state_create_phantom_stream() 726 dc_state_track_phantom_stream(state, phantom_stream); in dc_state_create_phantom_stream() 737 dc_state_release_phantom_stream(const struct dc * dc,struct dc_state * state,struct dc_stream_state * phantom_stream) dc_state_release_phantom_stream() argument 787 dc_state_add_phantom_stream(const struct dc * dc,struct dc_state * state,struct dc_stream_state * phantom_stream,struct dc_stream_state * main_stream) dc_state_add_phantom_stream() argument 822 dc_state_remove_phantom_stream(const struct dc * dc,struct dc_state * state,struct dc_stream_state * phantom_stream) dc_state_remove_phantom_stream() argument 846 dc_state_add_phantom_plane(const struct dc * dc,struct dc_stream_state * phantom_stream,struct dc_plane_state * phantom_plane,struct dc_state * state) dc_state_add_phantom_plane() argument 863 dc_state_remove_phantom_plane(const struct dc * dc,struct dc_stream_state * phantom_stream,struct dc_plane_state * phantom_plane,struct dc_state * state) dc_state_remove_phantom_plane() argument 872 dc_state_rem_all_phantom_planes_for_stream(const struct dc * dc,struct dc_stream_state * phantom_stream,struct dc_state * state,bool should_release_planes) dc_state_rem_all_phantom_planes_for_stream() argument 908 dc_state_add_all_phantom_planes_for_stream(const struct dc * dc,struct dc_stream_state * phantom_stream,struct dc_plane_state * const * phantom_planes,int plane_count,struct dc_state * state) dc_state_add_all_phantom_planes_for_stream() argument 922 struct dc_stream_state *phantom_stream = NULL; dc_state_remove_phantom_streams_and_planes() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_dcn4.c | 169 const struct dml2_stream_parameters *phantom_stream, int phantom_stream_index, const struct dml2_stream_parameters *main_stream) in create_phantom_plane_from_main_plane() argument 177 (double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16.0), in create_phantom_plane_from_main_plane() 180 (double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16.0), in create_phantom_plane_from_main_plane() 195 const struct dml2_stream_parameters *phantom_stream; in expand_implict_subvp() local 236 phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main_stream_index[main_plane->stream_index]]; in expand_implict_subvp() 238 main_plane, phantom_stream, scratch->svp_stream_index_from_main_stream_index[main_plane->stream_index], main_stream); in expand_implict_subvp() 263 const struct dml2_stream_parameters *phantom_stream; in pack_mode_programming_params_with_implicit_subvp() local 284 phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main_stream_index[stream_index]]; 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 in pack_mode_programming_params_with_implicit_subvp() [all...] |
H A D | dml2_core_utils.c | 588 const struct dml2_stream_parameters *phantom_stream, int phantom_stream_index, const struct dml2_stream_parameters *main_stream) in create_phantom_plane_from_main_plane() argument 596 (double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16.0), in create_phantom_plane_from_main_plane() 599 (double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16.0), in create_phantom_plane_from_main_plane() 614 const struct dml2_stream_parameters *phantom_stream; in dml2_core_utils_expand_implict_subvp() local 655 phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main_stream_index[main_plane->stream_index]]; in dml2_core_utils_expand_implict_subvp() 657 main_plane, phantom_stream, scratch->svp_stream_index_from_main_stream_index[main_plane->stream_index], main_stream); in dml2_core_utils_expand_implict_subvp()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
H A D | dcn32_resource.c | 1641 struct dc_stream_state *phantom_stream, in dcn32_enable_phantom_plane() argument 1674 phantom_plane->clip_rect.height = phantom_stream->src.height; in dcn32_enable_phantom_plane() 1676 dc_state_add_phantom_plane(dc, phantom_stream, phantom_plane, context); in dcn32_enable_phantom_plane() 1689 struct dc_stream_state *phantom_stream = NULL; in dcn32_enable_phantom_stream() local 1692 phantom_stream = dc_state_create_phantom_stream(dc, context, ref_pipe->stream); in dcn32_enable_phantom_stream() 1693 if (!phantom_stream) in dcn32_enable_phantom_stream() 1694 return phantom_stream; in dcn32_enable_phantom_stream() 1697 memcpy(&phantom_stream->timing, &ref_pipe->stream->timing, sizeof(phantom_stream->timing)); in dcn32_enable_phantom_stream() 1698 memcpy(&phantom_stream in dcn32_enable_phantom_stream() 1716 struct dc_stream_state *phantom_stream = NULL; dcn32_add_phantom_pipes() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.h | 42 struct dc_stream_state *phantom_stream,
|
H A D | dcn32_fpu.c | 449 * @phantom_stream: target phantom stream state 469 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() 537 phantom_stream->src.height = (double)phantom_vactive * (double)main_stream->src.height / (double)main_stream->dst.height; 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 in dcn32_set_phantom_stream_timing() 813 struct dc_stream_state *phantom_stream; subvp_drr_schedulable() local 915 struct dc_stream_state *phantom_stream; subvp_vblank_schedulable() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
H A D | dml_top_types.h | 281 } phantom_stream; member
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 581 struct dc_stream_state *phantom_stream = dc_state_get_paired_subvp_stream(context, subvp_pipe->stream); in populate_subvp_cmd_drr_info() local 597 if (!phantom_stream) in populate_subvp_cmd_drr_info() 600 phantom_timing = &phantom_stream->timing; in populate_subvp_cmd_drr_info() 784 struct dc_stream_state *phantom_stream = dc_state_get_paired_subvp_stream(context, subvp_pipe->stream); in populate_subvp_cmd_pipe_info() local 789 if (!phantom_stream) in populate_subvp_cmd_pipe_info() 792 phantom_timing = &phantom_stream->timing; in populate_subvp_cmd_pipe_info()
|