Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/dml2/dml21/
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 …]
A Ddml21_wrapper.c134 if (pln_prog->phantom_plane.valid && dc_phantom_pipes[dc_pipe_index]) { in dml21_calculate_rq_and_dlg_params()
141 if (pln_prog->phantom_plane.valid) { in dml21_calculate_rq_and_dlg_params()
143 &pln_prog->phantom_plane.mcache_allocation, in dml21_calculate_rq_and_dlg_params()
355 if (pln_prog->phantom_plane.valid && in dml21_prepare_mcache_programming()
399 if (pln_prog->phantom_plane.valid && in dml21_prepare_mcache_programming()
/drivers/gpu/drm/amd/display/dc/dml2/
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 …]
/drivers/gpu/drm/amd/display/dc/core/
A Ddc_state.c97 struct dc_plane_state *phantom_plane) in dc_state_track_phantom_plane() argument
114 if (state->phantom_planes[i] == phantom_plane) { in dc_state_untrack_phantom_plane()
138 if (state->phantom_planes[i] == phantom_plane) in dc_state_is_phantom_plane_tracked()
757 if (!phantom_plane) { in dc_state_create_phantom_plane()
763 dc_state_track_phantom_plane(state, phantom_plane); in dc_state_create_phantom_plane()
765 phantom_plane->is_phantom = true; in dc_state_create_phantom_plane()
767 return phantom_plane; in dc_state_create_phantom_plane()
772 struct dc_plane_state *phantom_plane) in dc_state_release_phantom_plane() argument
781 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 …]
/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
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 …]
/drivers/gpu/drm/amd/display/dc/
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,
/drivers/gpu/drm/amd/display/dc/resource/dcn32/
A Ddcn32_resource.c1650 phantom_plane = prev_phantom_plane; in dcn32_enable_phantom_plane()
1654 if (!phantom_plane) in dcn32_enable_phantom_plane()
1657 memcpy(&phantom_plane->address, &curr_pipe->plane_state->address, sizeof(phantom_plane->address)); in dcn32_enable_phantom_plane()
1660 …memcpy(&phantom_plane->src_rect, &curr_pipe->plane_state->src_rect, sizeof(phantom_plane->src_rect… in dcn32_enable_phantom_plane()
1661 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in dcn32_enable_phantom_plane()
1662 …memcpy(&phantom_plane->clip_rect, &curr_pipe->plane_state->clip_rect, sizeof(phantom_plane->clip_r… in dcn32_enable_phantom_plane()
1664 sizeof(phantom_plane->plane_size)); in dcn32_enable_phantom_plane()
1666 sizeof(phantom_plane->tiling_info)); in dcn32_enable_phantom_plane()
1667 memcpy(&phantom_plane->dcc, &curr_pipe->plane_state->dcc, sizeof(phantom_plane->dcc)); in dcn32_enable_phantom_plane()
1673 phantom_plane->clip_rect.y = 0; in dcn32_enable_phantom_plane()
[all …]
/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
A Ddcn32_hwseq.c1431 struct dc_plane_state *phantom_plane = phantom_pipe->plane_state; in dcn32_update_phantom_vp_position() local
1440 phantom_plane->src_rect.x = pipe->plane_state->src_rect.x; in dcn32_update_phantom_vp_position()
1441 phantom_plane->src_rect.y = pipe->plane_state->src_rect.y; in dcn32_update_phantom_vp_position()
1442 phantom_plane->clip_rect.x = pipe->plane_state->clip_rect.x; in dcn32_update_phantom_vp_position()
1443 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position()
1444 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
A Ddml_top_types.h247 } phantom_plane; member

Completed in 27 milliseconds