Home
last modified time | relevance | path

Searched refs:phantom_plane (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_utils.c285 struct dc_plane_state *phantom_plane; in dml21_add_phantom_plane() local
288 if (!phantom_plane) in dml21_add_phantom_plane()
295 memcpy(&phantom_plane->address, &main_plane->address, sizeof(phantom_plane->address)); in dml21_add_phantom_plane()
298 memcpy(&phantom_plane->src_rect, &main_plane->src_rect, sizeof(phantom_plane->src_rect)); in dml21_add_phantom_plane()
299 memcpy(&phantom_plane->dst_rect, &main_plane->dst_rect, sizeof(phantom_plane->dst_rect)); in dml21_add_phantom_plane()
300 memcpy(&phantom_plane->clip_rect, &main_plane->clip_rect, sizeof(phantom_plane->clip_rect)); in dml21_add_phantom_plane()
302 sizeof(phantom_plane->plane_size)); in dml21_add_phantom_plane()
304 sizeof(phantom_plane->tiling_info)); in dml21_add_phantom_plane()
305 memcpy(&phantom_plane->dcc, &main_plane->dcc, sizeof(phantom_plane->dcc)); in dml21_add_phantom_plane()
312 phantom_plane->clip_rect.y = 0; in dml21_add_phantom_plane()
[all …]
H A Ddml21_wrapper.c170 if (pln_prog->phantom_plane.valid && dc_phantom_pipes[dc_pipe_index]) { in dml21_calculate_rq_and_dlg_params()
177 if (pln_prog->phantom_plane.valid) { in dml21_calculate_rq_and_dlg_params()
179 &pln_prog->phantom_plane.mcache_allocation, in dml21_calculate_rq_and_dlg_params()
352 if (pln_prog->phantom_plane.valid && in dml21_prepare_mcache_programming()
396 if (pln_prog->phantom_plane.valid && in dml21_prepare_mcache_programming()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_mall_phantom.c747 phantom_plane = prev_phantom_plane; in enable_phantom_plane()
753 if (!phantom_plane) in enable_phantom_plane()
757 memcpy(&phantom_plane->address, &curr_pipe->plane_state->address, sizeof(phantom_plane->address)); in enable_phantom_plane()
760 …memcpy(&phantom_plane->src_rect, &curr_pipe->plane_state->src_rect, sizeof(phantom_plane->src_rect… in enable_phantom_plane()
761 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in enable_phantom_plane()
762 …memcpy(&phantom_plane->clip_rect, &curr_pipe->plane_state->clip_rect, sizeof(phantom_plane->clip_r… in enable_phantom_plane()
764 sizeof(phantom_plane->plane_size)); in enable_phantom_plane()
766 sizeof(phantom_plane->tiling_info)); in enable_phantom_plane()
767 memcpy(&phantom_plane->dcc, &curr_pipe->plane_state->dcc, sizeof(phantom_plane->dcc)); in enable_phantom_plane()
774 phantom_plane->clip_rect.y = 0; in enable_phantom_plane()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c96 struct dc_plane_state *phantom_plane) in dc_state_track_phantom_plane() argument
113 if (state->phantom_planes[i] == phantom_plane) { in dc_state_untrack_phantom_plane()
137 if (state->phantom_planes[i] == phantom_plane) in dc_state_is_phantom_plane_tracked()
761 if (!phantom_plane) { in dc_state_create_phantom_plane()
767 dc_state_track_phantom_plane(state, phantom_plane); in dc_state_create_phantom_plane()
769 phantom_plane->is_phantom = true; in dc_state_create_phantom_plane()
771 return phantom_plane; in dc_state_create_phantom_plane()
776 struct dc_plane_state *phantom_plane) in dc_state_release_phantom_plane() argument
785 dc_plane_state_release(phantom_plane); in dc_state_release_phantom_plane()
847 struct dc_plane_state *phantom_plane, in dc_state_add_phantom_plane() argument
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_dcn4.c261 const struct dml2_plane_parameters *phantom_plane; in pack_mode_programming_params_with_implicit_subvp() local
365 phantom_plane = &svp_expanded_display_cfg->plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
369 programming->plane_programming[main_plane_index].phantom_plane.valid = true; in pack_mode_programming_params_with_implicit_subvp()
370 …memcpy(&programming->plane_programming[main_plane_index].phantom_plane.descriptor, phantom_plane, … in pack_mode_programming_params_with_implicit_subvp()
375 memcpy(&programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation, in pack_mode_programming_params_with_implicit_subvp()
380 …programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation.global_mcache_ids… in pack_mode_programming_params_with_implicit_subvp()
381 …programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation.global_mcache_ids… in pack_mode_programming_params_with_implicit_subvp()
385 …programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation.global_mcache_ids… in pack_mode_programming_params_with_implicit_subvp()
386 …programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation.global_mcache_ids… in pack_mode_programming_params_with_implicit_subvp()
398 if (!(stream_already_populated_mask & (0x1 << phantom_plane->stream_index))) { in pack_mode_programming_params_with_implicit_subvp()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/
H A Ddc_state_priv.h60 struct dc_plane_state *phantom_plane);
74 struct dc_plane_state *phantom_plane,
80 struct dc_plane_state *phantom_plane,
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1649 phantom_plane = prev_phantom_plane; in dcn32_enable_phantom_plane()
1653 if (!phantom_plane) in dcn32_enable_phantom_plane()
1656 memcpy(&phantom_plane->address, &curr_pipe->plane_state->address, sizeof(phantom_plane->address)); in dcn32_enable_phantom_plane()
1659 …memcpy(&phantom_plane->src_rect, &curr_pipe->plane_state->src_rect, sizeof(phantom_plane->src_rect… in dcn32_enable_phantom_plane()
1660 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in dcn32_enable_phantom_plane()
1661 …memcpy(&phantom_plane->clip_rect, &curr_pipe->plane_state->clip_rect, sizeof(phantom_plane->clip_r… in dcn32_enable_phantom_plane()
1663 sizeof(phantom_plane->plane_size)); in dcn32_enable_phantom_plane()
1665 sizeof(phantom_plane->tiling_info)); in dcn32_enable_phantom_plane()
1666 memcpy(&phantom_plane->dcc, &curr_pipe->plane_state->dcc, sizeof(phantom_plane->dcc)); in dcn32_enable_phantom_plane()
1672 phantom_plane->clip_rect.y = 0; in dcn32_enable_phantom_plane()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c1427 struct dc_plane_state *phantom_plane = phantom_pipe->plane_state; in dcn32_update_phantom_vp_position() local
1436 phantom_plane->src_rect.x = pipe->plane_state->src_rect.x; in dcn32_update_phantom_vp_position()
1437 phantom_plane->src_rect.y = pipe->plane_state->src_rect.y; in dcn32_update_phantom_vp_position()
1438 phantom_plane->clip_rect.x = pipe->plane_state->clip_rect.x; in dcn32_update_phantom_vp_position()
1439 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position()
1440 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
H A Ddml_top_types.h245 } phantom_plane; member