Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/
A Ddml21_utils.c385 struct dc_plane_state *phantom_plane; in dml21_add_phantom_plane() local
388 if (!phantom_plane) in dml21_add_phantom_plane()
395 memcpy(&phantom_plane->address, &main_plane->address, sizeof(phantom_plane->address)); in dml21_add_phantom_plane()
398 memcpy(&phantom_plane->src_rect, &main_plane->src_rect, sizeof(phantom_plane->src_rect)); in dml21_add_phantom_plane()
399 memcpy(&phantom_plane->dst_rect, &main_plane->dst_rect, sizeof(phantom_plane->dst_rect)); in dml21_add_phantom_plane()
400 memcpy(&phantom_plane->clip_rect, &main_plane->clip_rect, sizeof(phantom_plane->clip_rect)); in dml21_add_phantom_plane()
402 sizeof(phantom_plane->plane_size)); in dml21_add_phantom_plane()
404 sizeof(phantom_plane->tiling_info)); in dml21_add_phantom_plane()
405 memcpy(&phantom_plane->dcc, &main_plane->dcc, sizeof(phantom_plane->dcc)); in dml21_add_phantom_plane()
412 phantom_plane->clip_rect.y = 0; in dml21_add_phantom_plane()
[all …]
A Ddml21_wrapper.c162 if (pln_prog->phantom_plane.valid && dc_phantom_pipes[dc_pipe_index]) { in dml21_calculate_rq_and_dlg_params()
336 if (pln_prog->phantom_plane.valid && in dml21_prepare_mcache_programming()
380 if (pln_prog->phantom_plane.valid && in dml21_prepare_mcache_programming()
/linux/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 …]
/linux/drivers/gpu/drm/amd/display/dc/core/
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/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,
/linux/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 …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
A Ddml2_core_dcn4.c258 const struct dml2_plane_parameters *phantom_plane; in pack_mode_programming_params_with_implicit_subvp() local
373 phantom_plane = &svp_expanded_display_cfg->plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
377 programming->plane_programming[main_plane_index].phantom_plane.valid = true; in pack_mode_programming_params_with_implicit_subvp()
378 …memcpy(&programming->plane_programming[main_plane_index].phantom_plane.descriptor, phantom_plane, … in pack_mode_programming_params_with_implicit_subvp()
383 …programming->plane_programming[main_plane_index].phantom_plane.pipe_regs[pipe_offset] = &programmi… in pack_mode_programming_params_with_implicit_subvp()
384 …memset(programming->plane_programming[main_plane_index].phantom_plane.pipe_regs[pipe_offset], 0, s… in pack_mode_programming_params_with_implicit_subvp()
388 …lean_me_up.mode_lib, programming->plane_programming[main_plane_index].phantom_plane.pipe_regs[pipe… in pack_mode_programming_params_with_implicit_subvp()
390 if (!(stream_already_populated_mask & (0x1 << phantom_plane->stream_index))) { in pack_mode_programming_params_with_implicit_subvp()
393 stream_already_populated_mask |= (0x1 << phantom_plane->stream_index); in pack_mode_programming_params_with_implicit_subvp()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
A Ddcn32_hwseq.c1421 struct dc_plane_state *phantom_plane = phantom_pipe->plane_state; in dcn32_update_phantom_vp_position() local
1430 phantom_plane->src_rect.x = pipe->plane_state->src_rect.x; in dcn32_update_phantom_vp_position()
1431 phantom_plane->src_rect.y = pipe->plane_state->src_rect.y; in dcn32_update_phantom_vp_position()
1432 phantom_plane->clip_rect.x = pipe->plane_state->clip_rect.x; in dcn32_update_phantom_vp_position()
1433 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position()
1434 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
A Ddml_top_types.h256 } phantom_plane; member

Completed in 28 milliseconds