Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H A Ddml21_utils.c222 …memcpy(&pipe_ctx->hubp_regs, pln_prog->phantom_plane.pipe_regs[pipe_reg_index], sizeof(struct dml2… in dml21_program_dc_pipe()
287 struct dc_plane_state *phantom_plane; in dml21_add_phantom_plane() local
289 phantom_plane = dml_ctx->config.svp_pstate.callbacks.create_phantom_plane(dc, context, main_plane); in dml21_add_phantom_plane()
290 if (!phantom_plane) in dml21_add_phantom_plane()
293 phantom_plane->format = main_plane->format; in dml21_add_phantom_plane()
294 phantom_plane->rotation = main_plane->rotation; in dml21_add_phantom_plane()
295 phantom_plane->visible = main_plane->visible; in dml21_add_phantom_plane()
297 memcpy(&phantom_plane->address, &main_plane->address, sizeof(phantom_plane->address)); in dml21_add_phantom_plane()
298 memcpy(&phantom_plane->scaling_quality, &main_plane->scaling_quality, in dml21_add_phantom_plane()
299 sizeof(phantom_plane->scaling_quality)); in dml21_add_phantom_plane()
[all …]
H A Ddml21_wrapper_fpu.c100 if (pln_prog->phantom_plane.valid && dc_phantom_pipes[dc_pipe_index]) { in dml21_calculate_rq_and_dlg_params()
107 if (pln_prog->phantom_plane.valid) { in dml21_calculate_rq_and_dlg_params()
109 &pln_prog->phantom_plane.mcache_allocation, in dml21_calculate_rq_and_dlg_params()
322 if (pln_prog->phantom_plane.valid && in dml21_prepare_mcache_programming()
367 if (pln_prog->phantom_plane.valid && in dml21_prepare_mcache_programming()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4.c375 const struct dml2_plane_parameters *phantom_plane; in pack_mode_programming_params_with_implicit_subvp() local
479 phantom_plane = &svp_expanded_display_cfg->plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
483 programming->plane_programming[main_plane_index].phantom_plane.valid = true; in pack_mode_programming_params_with_implicit_subvp()
484 …memcpy(&programming->plane_programming[main_plane_index].phantom_plane.descriptor, phantom_plane, … in pack_mode_programming_params_with_implicit_subvp()
489 memcpy(&programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation, in pack_mode_programming_params_with_implicit_subvp()
492 … = 0; mcache_index < programming->plane_programming[main_plane_index].phantom_plane.mcache_allocat… in pack_mode_programming_params_with_implicit_subvp()
493 …programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation.global_mcache_ids… in pack_mode_programming_params_with_implicit_subvp()
494 …programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation.global_mcache_ids… in pack_mode_programming_params_with_implicit_subvp()
495 …programming->plane_programming[main_plane_index].phantom_plane.mcache_allocation.global_mcache_ids… in pack_mode_programming_params_with_implicit_subvp()
497 … = 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/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 …]