Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c122 plane_state->plane_size.surface_size.x, in pre_surface_trace()
123 plane_state->plane_size.surface_size.y, in pre_surface_trace()
124 plane_state->plane_size.surface_size.width, in pre_surface_trace()
125 plane_state->plane_size.surface_size.height, in pre_surface_trace()
126 plane_state->plane_size.surface_pitch); in pre_surface_trace()
213 update->plane_info->plane_size.surface_pitch, in update_surface_trace()
214 update->plane_info->plane_size.surface_size.height, in update_surface_trace()
215 update->plane_info->plane_size.surface_size.width, in update_surface_trace()
216 update->plane_info->plane_size.surface_size.x, in update_surface_trace()
217 update->plane_info->plane_size.surface_size.y, in update_surface_trace()
Ddc.c1767 if (u->plane_info->plane_size.surface_pitch != u->surface->plane_size.surface_pitch in get_plane_info_update_type()
1768 || u->plane_info->plane_size.chroma_pitch != u->surface->plane_size.chroma_pitch) { in get_plane_info_update_type()
2084 surface->plane_size = in copy_surface_update_to_plane()
2085 srf_update->plane_info->plane_size; in copy_surface_update_to_plane()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.c629 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc()
634 layout->plane_size[1] = MSM_MEDIA_ALIGN(layout->plane_pitch[1] * in _dpu_format_get_plane_sizes_ubwc()
643 layout->plane_size[2] = MSM_MEDIA_ALIGN(layout->plane_pitch[2] * in _dpu_format_get_plane_sizes_ubwc()
648 layout->plane_size[3] = MSM_MEDIA_ALIGN(layout->plane_pitch[3] * in _dpu_format_get_plane_sizes_ubwc()
658 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc()
666 layout->plane_size[2] = MSM_MEDIA_ALIGN(layout->plane_pitch[2] * in _dpu_format_get_plane_sizes_ubwc()
672 layout->total_size += layout->plane_size[i]; in _dpu_format_get_plane_sizes_ubwc()
695 layout->plane_size[0] = width * height * layout->format->bpp; in _dpu_format_get_plane_sizes_linear()
716 layout->plane_size[0] = layout->plane_pitch[0] * height; in _dpu_format_get_plane_sizes_linear()
717 layout->plane_size[1] = layout->plane_pitch[1] * in _dpu_format_get_plane_sizes_linear()
[all …]
Ddpu_hw_mdss.h391 uint32_t plane_size[DPU_MAX_PLANES]; member
Ddpu_trace.h788 __entry->layout.plane_size[0],
790 __entry->layout.plane_size[1],
792 __entry->layout.plane_size[2],
794 __entry->layout.plane_size[3], __entry->multirect_index)
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_mem_input.c488 const struct plane_size *plane_size) in program_size_and_rotation() argument
490 const struct rect *in_rect = &plane_size->surface_size; in program_size_and_rotation()
491 struct rect hw_rect = plane_size->surface_size; in program_size_and_rotation()
520 GRPH_PITCH, plane_size->surface_pitch); in program_size_and_rotation()
530 const struct plane_size *plane_size) in dce60_program_size() argument
532 struct rect hw_rect = plane_size->surface_size; in dce60_program_size()
550 GRPH_PITCH, plane_size->surface_pitch); in dce60_program_size()
632 struct plane_size *plane_size, in dce_mi_program_surface_config() argument
641 program_size_and_rotation(dce_mi, rotation, plane_size); in dce_mi_program_surface_config()
653 struct plane_size *plane_size, in dce60_mi_program_surface_config() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h155 struct plane_size *plane_size,
Dhubp.h134 struct plane_size *plane_size,
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_mem_input_v.c232 const struct plane_size *plane_size) in program_size_and_rotation() argument
235 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.h320 const struct plane_size *plane_size,
336 struct plane_size *plane_size,
Ddcn20_hubp.c330 const struct plane_size *plane_size, in hubp2_program_size() argument
347 ASSERT(plane_size->chroma_pitch != 0); in hubp2_program_size()
350 pitch = plane_size->surface_pitch - 1; in hubp2_program_size()
352 pitch_c = plane_size->chroma_pitch - 1; in hubp2_program_size()
355 pitch = plane_size->surface_pitch - 1; in hubp2_program_size()
543 struct plane_size *plane_size, in hubp2_program_surface_config() argument
553 hubp2_program_size(hubp, format, plane_size, dcc); in hubp2_program_surface_config()
Ddcn20_resource.c2290 pipes[pipe_cnt].pipe.src.surface_width_y = pln->plane_size.surface_size.width;
2291 pipes[pipe_cnt].pipe.src.surface_height_y = pln->plane_size.surface_size.height;
2292 pipes[pipe_cnt].pipe.src.surface_width_c = pln->plane_size.chroma_size.width;
2293 pipes[pipe_cnt].pipe.src.surface_height_c = pln->plane_size.chroma_size.height;
2300 pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch;
2301 pipes[pipe_cnt].pipe.src.data_pitch_c = pln->plane_size.chroma_pitch;
2305 pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch;
Ddcn20_hwseq.c1541 struct plane_size size = plane_state->plane_size; in dcn20_update_dchubp_dpp()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
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()
539 struct plane_size *plane_size, in hubp1_program_surface_config() argument
547 hubp1_program_size(hubp, format, plane_size, dcc); in hubp1_program_surface_config()
Ddcn10_hubp.h693 struct plane_size *plane_size,
715 const struct plane_size *plane_size,
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
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()
Dmtk_mdp_ipi.h99 int32_t plane_size[MTK_MDP_MAX_NUM_PLANE]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubp.c409 struct plane_size *plane_size, in hubp3_program_surface_config() argument
419 hubp2_program_size(hubp, format, plane_size, dcc); in hubp3_program_surface_config()
Ddcn30_hubp.h263 struct plane_size *plane_size,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc.h834 struct plane_size plane_size; member
886 struct plane_size plane_size; member
Ddc_hw_types.h143 struct plane_size { struct
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3849 const struct plane_size *plane_size, in fill_plane_dcc_attributes() argument
3879 input.surface_size.width = plane_size->surface_size.width; in fill_plane_dcc_attributes()
3880 input.surface_size.height = plane_size->surface_size.height; in fill_plane_dcc_attributes()
3916 struct plane_size *plane_size, in fill_plane_buffer_attributes() argument
3926 memset(plane_size, 0, sizeof(*plane_size)); in fill_plane_buffer_attributes()
3933 plane_size->surface_size.x = 0; in fill_plane_buffer_attributes()
3934 plane_size->surface_size.y = 0; in fill_plane_buffer_attributes()
3935 plane_size->surface_size.width = fb->width; in fill_plane_buffer_attributes()
3936 plane_size->surface_size.height = fb->height; in fill_plane_buffer_attributes()
3937 plane_size->surface_pitch = in fill_plane_buffer_attributes()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c510 unsigned long plane_size = vb2_plane_size(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process() local
522 for (i = 0; i < plane_size; i += 2) { in vivid_sdr_cap_process()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c320 &plane_state->plane_size, in dce60_program_front_end_for_pipe()

12