Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml2_mall_phantom.c740 struct dc_plane_state *phantom_plane = NULL; in enable_phantom_plane() local
746 phantom_plane = prev_phantom_plane; in enable_phantom_plane()
748 phantom_plane = ctx->config.svp_pstate.callbacks.create_phantom_plane( in enable_phantom_plane()
752 if (!phantom_plane) in enable_phantom_plane()
756 memcpy(&phantom_plane->address, &curr_pipe->plane_state->address, sizeof(phantom_plane->address)); in enable_phantom_plane()
757 memcpy(&phantom_plane->scaling_quality, &curr_pipe->plane_state->scaling_quality, in enable_phantom_plane()
758 sizeof(phantom_plane->scaling_quality)); in enable_phantom_plane()
759 …memcpy(&phantom_plane->src_rect, &curr_pipe->plane_state->src_rect, sizeof(phantom_plane->src_rect… in enable_phantom_plane()
760 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in enable_phantom_plane()
761 …memcpy(&phantom_plane->clip_rect, &curr_pipe->plane_state->clip_rect, sizeof(phantom_plane->clip_r… in enable_phantom_plane()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c97 struct dc_plane_state *phantom_plane) in dc_state_track_phantom_plane() argument
102 state->phantom_planes[state->phantom_plane_count++] = phantom_plane; in dc_state_track_phantom_plane()
107 …c bool dc_state_untrack_phantom_plane(struct dc_state *state, struct dc_plane_state *phantom_plane) in dc_state_untrack_phantom_plane() argument
114 if (state->phantom_planes[i] == phantom_plane) { in dc_state_untrack_phantom_plane()
133 …ool dc_state_is_phantom_plane_tracked(struct dc_state *state, struct dc_plane_state *phantom_plane) in dc_state_is_phantom_plane_tracked() argument
138 if (state->phantom_planes[i] == phantom_plane) in dc_state_is_phantom_plane_tracked()
752 struct dc_plane_state *phantom_plane = dc_create_plane_state(dc); in dc_state_create_phantom_plane() local
756 if (!phantom_plane) { in dc_state_create_phantom_plane()
762 dc_state_track_phantom_plane(state, phantom_plane); in dc_state_create_phantom_plane()
764 phantom_plane->is_phantom = true; in dc_state_create_phantom_plane()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4.c262 const struct dml2_plane_parameters *phantom_plane; in pack_mode_programming_params_with_implicit_subvp() local
366 phantom_plane = &svp_expanded_display_cfg->plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
370 programming->plane_programming[main_plane_index].phantom_plane.valid = true; in pack_mode_programming_params_with_implicit_subvp()
371 …memcpy(&programming->plane_programming[main_plane_index].phantom_plane.descriptor, phantom_plane, … in pack_mode_programming_params_with_implicit_subvp()
376 memcpy(&programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation, in pack_mode_programming_params_with_implicit_subvp()
379 … = 0; mcache_index < programming->plane_programming[main_plane_index].phantom_plane.mcache_allocat… 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()
382 …programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation.global_mcache_ids… in pack_mode_programming_params_with_implicit_subvp()
384 … = 0; mcache_index < programming->plane_programming[main_plane_index].phantom_plane.mcache_allocat… in pack_mode_programming_params_with_implicit_subvp()
[all …]
/linux/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/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1679 struct dc_plane_state *phantom_plane = NULL; in dcn32_enable_phantom_plane() local
1685 phantom_plane = prev_phantom_plane; in dcn32_enable_phantom_plane()
1687 phantom_plane = dc_state_create_phantom_plane(dc, context, curr_pipe->plane_state); in dcn32_enable_phantom_plane()
1689 if (!phantom_plane) in dcn32_enable_phantom_plane()
1692 memcpy(&phantom_plane->address, &curr_pipe->plane_state->address, sizeof(phantom_plane->address)); in dcn32_enable_phantom_plane()
1693 memcpy(&phantom_plane->scaling_quality, &curr_pipe->plane_state->scaling_quality, in dcn32_enable_phantom_plane()
1694 sizeof(phantom_plane->scaling_quality)); in dcn32_enable_phantom_plane()
1695 …memcpy(&phantom_plane->src_rect, &curr_pipe->plane_state->src_rect, sizeof(phantom_plane->src_rect… in dcn32_enable_phantom_plane()
1696 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in dcn32_enable_phantom_plane()
1697 …memcpy(&phantom_plane->clip_rect, &curr_pipe->plane_state->clip_rect, sizeof(phantom_plane->clip_r… in dcn32_enable_phantom_plane()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H 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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c1441 struct dc_plane_state *phantom_plane = phantom_pipe->plane_state; in dcn32_update_phantom_vp_position() local
1450 phantom_plane->src_rect.x = pipe->plane_state->src_rect.x; in dcn32_update_phantom_vp_position()
1451 phantom_plane->src_rect.y = pipe->plane_state->src_rect.y; in dcn32_update_phantom_vp_position()
1452 phantom_plane->clip_rect.x = pipe->plane_state->clip_rect.x; in dcn32_update_phantom_vp_position()
1453 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position()
1454 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()