Home
last modified time | relevance | path

Searched refs:plane_size (Results 1 – 25 of 44) sorted by relevance

12

/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_formats.c165 layout->total_size += layout->plane_size[i]; in _dpu_format_populate_plane_sizes_ubwc()
185 layout->plane_size[0] = fb->width * fb->height * fmt->bpp; in _dpu_format_populate_plane_sizes_linear()
207 layout->plane_size[1] = layout->plane_pitch[1] * in _dpu_format_populate_plane_sizes_linear()
212 layout->plane_size[1] *= 2; in _dpu_format_populate_plane_sizes_linear()
217 layout->plane_size[2] = layout->plane_size[1]; in _dpu_format_populate_plane_sizes_linear()
239 layout->total_size += layout->plane_size[i]; in _dpu_format_populate_plane_sizes_linear()
312 layout->plane_addr[0] = base_addr + layout->plane_size[2]; in _dpu_format_populate_addrs_ubwc()
315 layout->plane_addr[1] = base_addr + layout->plane_size[0] in _dpu_format_populate_addrs_ubwc()
316 + layout->plane_size[2] + layout->plane_size[3]; in _dpu_format_populate_addrs_ubwc()
325 layout->plane_addr[3] = base_addr + layout->plane_size[0] in _dpu_format_populate_addrs_ubwc()
[all …]
A Ddpu_hw_mdss.h320 uint32_t plane_size[DPU_MAX_PLANES]; member
/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_plane.c268 const struct plane_size *plane_size) in amdgpu_dm_plane_validate_dcc() argument
314 const struct plane_size *plane_size, in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers() argument
365 const struct plane_size *plane_size, in amdgpu_dm_plane_fill_gfx12_plane_attributes_from_modifiers() argument
844 struct plane_size *plane_size, in amdgpu_dm_plane_fill_plane_buffer_attributes() argument
853 memset(plane_size, 0, sizeof(*plane_size)); in amdgpu_dm_plane_fill_plane_buffer_attributes()
866 plane_size->surface_pitch = in amdgpu_dm_plane_fill_plane_buffer_attributes()
880 plane_size->surface_pitch = in amdgpu_dm_plane_fill_plane_buffer_attributes()
883 plane_size->chroma_size.x = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes()
884 plane_size->chroma_size.y = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes()
889 plane_size->chroma_pitch = in amdgpu_dm_plane_fill_plane_buffer_attributes()
[all …]
A Damdgpu_dm_plane.h51 struct plane_size *plane_size,
/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_mem_input.c487 const struct plane_size *plane_size) in program_size_and_rotation() argument
489 const struct rect *in_rect = &plane_size->surface_size; in program_size_and_rotation()
490 struct rect hw_rect = plane_size->surface_size; in program_size_and_rotation()
519 GRPH_PITCH, plane_size->surface_pitch); in program_size_and_rotation()
529 const struct plane_size *plane_size) in dce60_program_size() argument
531 struct rect hw_rect = plane_size->surface_size; in dce60_program_size()
549 GRPH_PITCH, plane_size->surface_pitch); in dce60_program_size()
654 struct plane_size *plane_size, in dce_mi_program_surface_config() argument
663 program_size_and_rotation(dce_mi, rotation, plane_size); in dce_mi_program_surface_config()
674 struct plane_size *plane_size, in dce60_mi_program_surface_config() argument
[all …]
/drivers/gpu/drm/amd/display/dc/core/
A Ddc_debug.c90 update->plane_info->plane_size.surface_pitch, in update_surface_trace()
91 update->plane_info->plane_size.surface_size.height, in update_surface_trace()
92 update->plane_info->plane_size.surface_size.width, in update_surface_trace()
93 update->plane_info->plane_size.surface_size.x, in update_surface_trace()
94 update->plane_info->plane_size.surface_size.y, in update_surface_trace()
/drivers/gpu/drm/amd/display/dc/hubp/dcn201/
A Ddcn201_hubp.c46 struct plane_size *plane_size, in hubp201_program_surface_config() argument
54 hubp1_program_size(hubp, format, plane_size, dcc); in hubp201_program_surface_config()
/drivers/gpu/drm/amd/display/dc/hubp/dcn35/
A Ddcn35_hubp.h69 struct plane_size *plane_size,
A Ddcn35_hubp.c176 struct plane_size *plane_size, in hubp35_program_surface_config() argument
186 hubp2_program_size(hubp, format, plane_size, dcc); in hubp35_program_surface_config()
/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_mem_input_v.c231 const struct plane_size *plane_size) in program_size_and_rotation() argument
234 struct plane_size local_size = *plane_size; in program_size_and_rotation()
640 struct plane_size *plane_size, in dce_mem_input_v_program_surface_config() argument
649 program_size_and_rotation(mem_input110, rotation, plane_size); in dce_mem_input_v_program_surface_config()
/drivers/media/usb/pwc/
A Dpwc-dec23.c656 unsigned int plane_size; in pwc_dec23_decompress() local
662 plane_size = pdev->height * pdev->width; in pwc_dec23_decompress()
665 pout_planar_u = dst + plane_size; in pwc_dec23_decompress()
666 pout_planar_v = dst + plane_size + plane_size / 4; in pwc_dec23_decompress()
/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
A Ddcn401_hubp.c561 const struct plane_size *plane_size, in hubp401_program_size() argument
576 ASSERT(plane_size->chroma_pitch != 0); in hubp401_program_size()
579 pitch = plane_size->surface_pitch - 1; in hubp401_program_size()
580 pitch_c = plane_size->chroma_pitch - 1; in hubp401_program_size()
582 pitch = plane_size->surface_pitch - 1; in hubp401_program_size()
596 struct plane_size *plane_size, in hubp401_program_surface_config() argument
606 hubp401_program_size(hubp, format, plane_size, dcc); in hubp401_program_surface_config()
A Ddcn401_hubp.h285 const struct plane_size *plane_size,
292 struct plane_size *plane_size,
/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
A Ddcn10_hubp.c166 const struct plane_size *plane_size, in hubp1_program_size() argument
176 ASSERT(plane_size->chroma_pitch != 0); in hubp1_program_size()
179 pitch = plane_size->surface_pitch - 1; in hubp1_program_size()
181 pitch_c = plane_size->chroma_pitch - 1; in hubp1_program_size()
184 pitch = plane_size->surface_pitch - 1; in hubp1_program_size()
559 struct plane_size *plane_size, in hubp1_program_surface_config() argument
567 hubp1_program_size(hubp, format, plane_size, dcc); in hubp1_program_surface_config()
A Ddcn10_hubp.h729 struct plane_size *plane_size,
751 const struct plane_size *plane_size,
/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dmem_input.h168 struct plane_size *plane_size,
A Dhubp.h196 struct plane_size *plane_size,
/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
A Ddcn20_hubp.h369 const struct plane_size *plane_size,
385 struct plane_size *plane_size,
A Ddcn20_hubp.c331 const struct plane_size *plane_size, in hubp2_program_size() argument
346 ASSERT(plane_size->chroma_pitch != 0); in hubp2_program_size()
349 pitch = plane_size->surface_pitch - 1; in hubp2_program_size()
351 pitch_c = plane_size->chroma_pitch - 1; in hubp2_program_size()
354 pitch = plane_size->surface_pitch - 1; in hubp2_program_size()
554 struct plane_size *plane_size, in hubp2_program_surface_config() argument
564 hubp2_program_size(hubp, format, plane_size, dcc); in hubp2_program_surface_config()
/drivers/media/platform/mediatek/mdp/
A Dmtk_mdp_regs.c101 src_buf->plane_size[i] = frame->payload[i]; in mtk_mdp_hw_set_in_image_format()
131 dst_buf->plane_size[i] = frame->payload[i]; in mtk_mdp_hw_set_out_image_format()
A Dmtk_mdp_ipi.h99 int32_t plane_size[MTK_MDP_MAX_NUM_PLANE]; member
/drivers/gpu/drm/amd/display/dc/hubp/dcn30/
A Ddcn30_hubp.c415 struct plane_size *plane_size, in hubp3_program_surface_config() argument
425 hubp2_program_size(hubp, format, plane_size, dcc); in hubp3_program_surface_config()
A Ddcn30_hubp.h268 struct plane_size *plane_size,
/drivers/gpu/drm/amd/display/dc/dml2/dml21/
A Ddml21_utils.c301 memcpy(&phantom_plane->plane_size, &main_plane->plane_size, in dml21_add_phantom_plane()
302 sizeof(phantom_plane->plane_size)); in dml21_add_phantom_plane()
A Ddml21_translation_helper.c784 surface->plane0.pitch = plane_state->plane_size.surface_pitch; in populate_dml21_surface_config_from_plane_state()
785 surface->plane1.pitch = plane_state->plane_size.chroma_pitch; in populate_dml21_surface_config_from_plane_state()
786 surface->plane0.height = plane_state->plane_size.surface_size.height; in populate_dml21_surface_config_from_plane_state()
787 surface->plane0.width = plane_state->plane_size.surface_size.width; in populate_dml21_surface_config_from_plane_state()
788 surface->plane1.height = plane_state->plane_size.chroma_size.height; in populate_dml21_surface_config_from_plane_state()
789 surface->plane1.width = plane_state->plane_size.chroma_size.width; in populate_dml21_surface_config_from_plane_state()

Completed in 59 milliseconds

12