Searched refs:phantom_stream (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_utils.c | 155 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() 251 …phantom_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/dml2_0/dml21/src/dml2_core/ |
| H A D | dml2_core_dcn4.c | 282 …const struct dml2_stream_parameters *phantom_stream, int phantom_stream_index, const struct dml2_s… in create_phantom_plane_from_main_plane() argument 291 …(double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane() 294 …(double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane() 309 const struct dml2_stream_parameters *phantom_stream; in expand_implict_subvp() local 350 …phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main… in expand_implict_subvp() 352 …main_plane, phantom_stream, scratch->svp_stream_index_from_main_stream_index[main_plane->stream_in… in expand_implict_subvp() 377 const struct dml2_stream_parameters *phantom_stream; in pack_mode_programming_params_with_implicit_subvp() local 398 …phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main… in pack_mode_programming_params_with_implicit_subvp() 407 if (main_stream != phantom_stream) { in pack_mode_programming_params_with_implicit_subvp() 409 programming->stream_programming[stream_index].phantom_stream.enabled = true; in pack_mode_programming_params_with_implicit_subvp() [all …]
|
| H A D | dml2_core_utils.c | 589 …const struct dml2_stream_parameters *phantom_stream, int phantom_stream_index, const struct dml2_s… in create_phantom_plane_from_main_plane() argument 598 …(double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane() 601 …(double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane() 616 const struct dml2_stream_parameters *phantom_stream; in dml2_core_utils_expand_implict_subvp() local 657 …phantom_stream = &svp_expanded_display_cfg->stream_descriptors[scratch->svp_stream_index_from_main… in dml2_core_utils_expand_implict_subvp() 659 …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 D | dcn32_resource.c | 1681 struct dc_stream_state *phantom_stream, in dcn32_enable_phantom_plane() argument 1715 phantom_plane->clip_rect.height = phantom_stream->src.height; in dcn32_enable_phantom_plane() 1717 dc_state_add_phantom_plane(dc, phantom_stream, phantom_plane, context); in dcn32_enable_phantom_plane() 1730 struct dc_stream_state *phantom_stream = NULL; in dcn32_enable_phantom_stream() local 1733 phantom_stream = dc_state_create_phantom_stream(dc, context, ref_pipe->stream); in dcn32_enable_phantom_stream() 1734 if (!phantom_stream) in dcn32_enable_phantom_stream() 1735 return phantom_stream; in dcn32_enable_phantom_stream() 1738 memcpy(&phantom_stream->timing, &ref_pipe->stream->timing, sizeof(phantom_stream->timing)); in dcn32_enable_phantom_stream() 1739 memcpy(&phantom_stream->src, &ref_pipe->stream->src, sizeof(phantom_stream->src)); in dcn32_enable_phantom_stream() 1740 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 D | dcn32_fpu.c | 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)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 …]
|