Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.c630 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc()
635 layout->plane_size[1] = MSM_MEDIA_ALIGN(layout->plane_pitch[1] * in _dpu_format_get_plane_sizes_ubwc()
644 layout->plane_size[2] = MSM_MEDIA_ALIGN(layout->plane_pitch[2] * in _dpu_format_get_plane_sizes_ubwc()
649 layout->plane_size[3] = MSM_MEDIA_ALIGN(layout->plane_pitch[3] * in _dpu_format_get_plane_sizes_ubwc()
659 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc()
667 layout->plane_size[2] = MSM_MEDIA_ALIGN(layout->plane_pitch[2] * in _dpu_format_get_plane_sizes_ubwc()
673 layout->total_size += layout->plane_size[i]; in _dpu_format_get_plane_sizes_ubwc()
696 layout->plane_size[0] = width * height * layout->format->bpp; in _dpu_format_get_plane_sizes_linear()
717 layout->plane_size[0] = layout->plane_pitch[0] * height; in _dpu_format_get_plane_sizes_linear()
718 layout->plane_size[1] = layout->plane_pitch[1] * in _dpu_format_get_plane_sizes_linear()
[all …]
Ddpu_hw_mdss.h416 uint32_t plane_size[DPU_MAX_PLANES]; member
Ddpu_trace.h781 __entry->layout.plane_size[0],
783 __entry->layout.plane_size[1],
785 __entry->layout.plane_size[2],
787 __entry->layout.plane_size[3], __entry->multirect_index)
/linux-6.1.9/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()
634 struct plane_size *plane_size, in dce_mi_program_surface_config() argument
643 program_size_and_rotation(dce_mi, rotation, plane_size); in dce_mi_program_surface_config()
655 struct plane_size *plane_size, in dce60_mi_program_surface_config() argument
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c253 const struct plane_size *plane_size) in validate_dcc() argument
270 input.surface_size.width = plane_size->surface_size.width; in validate_dcc()
271 input.surface_size.height = plane_size->surface_size.height; in validate_dcc()
296 const struct plane_size *plane_size, in fill_gfx9_plane_attributes_from_modifiers() argument
336 ret = validate_dcc(adev, format, rotation, tiling_info, dcc, address, plane_size); in fill_gfx9_plane_attributes_from_modifiers()
759 struct plane_size *plane_size, in fill_plane_buffer_attributes() argument
769 memset(plane_size, 0, sizeof(*plane_size)); in fill_plane_buffer_attributes()
778 plane_size->surface_size.x = 0; in fill_plane_buffer_attributes()
779 plane_size->surface_size.y = 0; in fill_plane_buffer_attributes()
780 plane_size->surface_size.width = fb->width; in fill_plane_buffer_attributes()
[all …]
Damdgpu_dm_plane.h48 struct plane_size *plane_size,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h159 struct plane_size *plane_size,
Dhubp.h139 struct plane_size *plane_size,
/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_mem_input_v.c233 const struct plane_size *plane_size) in program_size_and_rotation() argument
236 struct plane_size local_size = *plane_size; in program_size_and_rotation()
642 struct plane_size *plane_size, in dce_mem_input_v_program_surface_config() argument
651 program_size_and_rotation(mem_input110, rotation, plane_size); in dce_mem_input_v_program_surface_config()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.h327 const struct plane_size *plane_size,
343 struct plane_size *plane_size,
Ddcn20_hubp.c329 const struct plane_size *plane_size, in hubp2_program_size() argument
344 ASSERT(plane_size->chroma_pitch != 0); in hubp2_program_size()
347 pitch = plane_size->surface_pitch - 1; in hubp2_program_size()
349 pitch_c = plane_size->chroma_pitch - 1; in hubp2_program_size()
352 pitch = plane_size->surface_pitch - 1; in hubp2_program_size()
538 struct plane_size *plane_size, in hubp2_program_surface_config() argument
548 hubp2_program_size(hubp, format, plane_size, dcc); in hubp2_program_surface_config()
/linux-6.1.9/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.h707 struct plane_size *plane_size,
729 const struct plane_size *plane_size,
/linux-6.1.9/drivers/media/platform/mediatek/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
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubp.c403 struct plane_size *plane_size, in hubp3_program_surface_config() argument
413 hubp2_program_size(hubp, format, plane_size, dcc); in hubp3_program_surface_config()
Ddcn30_hubp.h268 struct plane_size *plane_size,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h1142 struct plane_size plane_size; member
1201 struct plane_size plane_size; member
Ddc_hw_types.h138 struct plane_size { struct
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c514 unsigned long plane_size = vb2_plane_size(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process() local
526 for (i = 0; i < plane_size; i += 2) { in vivid_sdr_cap_process()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1473 pipes[pipe_cnt].pipe.src.surface_width_y = pln->plane_size.surface_size.width; in dcn20_populate_dml_pipes_from_context()
1474 pipes[pipe_cnt].pipe.src.surface_height_y = pln->plane_size.surface_size.height; in dcn20_populate_dml_pipes_from_context()
1475 pipes[pipe_cnt].pipe.src.surface_width_c = pln->plane_size.chroma_size.width; in dcn20_populate_dml_pipes_from_context()
1476 pipes[pipe_cnt].pipe.src.surface_height_c = pln->plane_size.chroma_size.height; in dcn20_populate_dml_pipes_from_context()
1479 pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; in dcn20_populate_dml_pipes_from_context()
1480 pipes[pipe_cnt].pipe.src.data_pitch_c = pln->plane_size.chroma_pitch; in dcn20_populate_dml_pipes_from_context()
1484 pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; in dcn20_populate_dml_pipes_from_context()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c320 &plane_state->plane_size, in dce60_program_front_end_for_pipe()

12