| /drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
| A D | dml21_utils.c | 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->dst, &main_stream->dst, sizeof(phantom_stream->dst)); in dml21_add_phantom_stream() 265 phantom_stream->dst.y = 0; in dml21_add_phantom_stream() 266 phantom_stream->dst.height = stream_programming->phantom_stream.descriptor.timing.v_active; in dml21_add_phantom_stream() 268 phantom_stream->src.y = 0; in dml21_add_phantom_stream() 275 return phantom_stream; in dml21_add_phantom_stream() 349 if (!phantom_stream) in dml21_handle_phantom_streams_planes() 363 phantom_stream, in dml21_handle_phantom_streams_planes() [all …]
|
| /drivers/gpu/drm/amd/display/dc/dml2/ |
| A D | dml2_mall_phantom.c | 438 struct dc_stream_state *phantom_stream; in dml2_svp_drr_schedulable() local 691 line_time = phantom_stream->timing.h_total / ((double)phantom_stream->timing.pix_clk_100hz * 100); in set_phantom_stream_timing() 701 phantom_stream->dst.y = 0; in set_phantom_stream_timing() 703 phantom_stream->src.y = 0; in set_phantom_stream_timing() 708 phantom_stream->timing.v_total = phantom_stream->timing.v_addressable + in set_phantom_stream_timing() 724 memcpy(&phantom_stream->timing, &ref_pipe->stream->timing, sizeof(phantom_stream->timing)); in enable_phantom_stream() 725 memcpy(&phantom_stream->src, &ref_pipe->stream->src, sizeof(phantom_stream->src)); in enable_phantom_stream() 726 memcpy(&phantom_stream->dst, &ref_pipe->stream->dst, sizeof(phantom_stream->dst)); in enable_phantom_stream() 731 phantom_stream, in enable_phantom_stream() 733 return phantom_stream; in enable_phantom_stream() [all …]
|
| A D | dml2_wrapper.h | 125 struct dc_stream_state *phantom_stream,
|
| /drivers/gpu/drm/amd/display/dc/core/ |
| A D | dc_state.c | 48 struct dc_stream_state *phantom_stream) in dc_state_track_phantom_stream() argument 714 struct dc_stream_state *phantom_stream; in dc_state_create_phantom_stream() local 720 if (!phantom_stream) { in dc_state_create_phantom_stream() 728 phantom_stream->is_phantom = true; in dc_state_create_phantom_stream() 730 phantom_stream->dpms_off = true; in dc_state_create_phantom_stream() 732 return phantom_stream; in dc_state_create_phantom_stream() 737 struct dc_stream_state *phantom_stream) in dc_state_release_phantom_stream() argument 746 dc_stream_release(phantom_stream); in dc_state_release_phantom_stream() 787 struct dc_stream_state *phantom_stream, in dc_state_add_phantom_stream() argument 822 struct dc_stream_state *phantom_stream) in dc_state_remove_phantom_stream() argument [all …]
|
| /drivers/gpu/drm/amd/display/dc/ |
| A D | dc_state_priv.h | 57 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,
|
| A D | dc_dmub_srv.c | 581 …struct dc_stream_state *phantom_stream = dc_state_get_paired_subvp_stream(context, subvp_pipe->str… 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->str… 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()
|
| /drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
| A D | dml2_core_dcn4.c | 169 …const struct dml2_stream_parameters *phantom_stream, int phantom_stream_index, const struct dml2_s… in create_phantom_plane_from_main_plane() argument 177 …(double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane() 180 …(double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane() 195 const struct dml2_stream_parameters *phantom_stream; in expand_implict_subvp() local 238 …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 284 …phantom_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() 296 …memcpy(&programming->stream_programming[stream_index].phantom_stream.descriptor, phantom_stream, s… in pack_mode_programming_params_with_implicit_subvp() [all …]
|
| A D | dml2_core_utils.c | 588 …const struct dml2_stream_parameters *phantom_stream, int phantom_stream_index, const struct dml2_s… in create_phantom_plane_from_main_plane() argument 596 …(double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane() 599 …(double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16… 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… in dml2_core_utils_expand_implict_subvp() 657 …main_plane, phantom_stream, scratch->svp_stream_index_from_main_stream_index[main_plane->stream_in… in dml2_core_utils_expand_implict_subvp()
|
| /drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| 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() 1689 struct dc_stream_state *phantom_stream = NULL; in dcn32_enable_phantom_stream() local 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->src, &ref_pipe->stream->src, sizeof(phantom_stream->src)); in dcn32_enable_phantom_stream() 1699 memcpy(&phantom_stream->dst, &ref_pipe->stream->dst, sizeof(phantom_stream->dst)); in dcn32_enable_phantom_stream() 1705 return phantom_stream; in dcn32_enable_phantom_stream() 1716 struct dc_stream_state *phantom_stream = NULL; in dcn32_add_phantom_pipes() local [all …]
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| A D | dcn32_fpu.h | 42 struct dc_stream_state *phantom_stream,
|
| A D | dcn32_fpu.c | 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() 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() 813 struct dc_stream_state *phantom_stream; in subvp_drr_schedulable() local 853 phantom_timing = &phantom_stream->timing; in subvp_drr_schedulable() 915 struct dc_stream_state *phantom_stream; in subvp_vblank_schedulable() local [all …]
|
| /drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
| A D | dml_top_types.h | 281 } phantom_stream; member
|