Home
last modified time | relevance | path

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

12

/Linux-v6.6/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-v6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.c663 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc()
668 layout->plane_size[1] = MSM_MEDIA_ALIGN(layout->plane_pitch[1] * in _dpu_format_get_plane_sizes_ubwc()
677 layout->plane_size[2] = MSM_MEDIA_ALIGN(layout->plane_pitch[2] * in _dpu_format_get_plane_sizes_ubwc()
682 layout->plane_size[3] = MSM_MEDIA_ALIGN(layout->plane_pitch[3] * in _dpu_format_get_plane_sizes_ubwc()
692 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc()
700 layout->plane_size[2] = MSM_MEDIA_ALIGN(layout->plane_pitch[2] * in _dpu_format_get_plane_sizes_ubwc()
706 layout->total_size += layout->plane_size[i]; in _dpu_format_get_plane_sizes_ubwc()
729 layout->plane_size[0] = width * height * layout->format->bpp; in _dpu_format_get_plane_sizes_linear()
750 layout->plane_size[0] = layout->plane_pitch[0] * height; in _dpu_format_get_plane_sizes_linear()
751 layout->plane_size[1] = layout->plane_pitch[1] * in _dpu_format_get_plane_sizes_linear()
[all …]
Ddpu_trace.h757 __entry->layout.plane_size[0],
759 __entry->layout.plane_size[1],
761 __entry->layout.plane_size[2],
763 __entry->layout.plane_size[3], __entry->multirect_index)
Ddpu_hw_mdss.h419 uint32_t plane_size[DPU_MAX_PLANES]; member
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c267 const struct plane_size *plane_size) in validate_dcc() argument
284 input.surface_size.width = plane_size->surface_size.width; in validate_dcc()
285 input.surface_size.height = plane_size->surface_size.height; in validate_dcc()
310 const struct plane_size *plane_size, in fill_gfx9_plane_attributes_from_modifiers() argument
350 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 amdgpu_dm_plane_fill_plane_buffer_attributes() argument
769 memset(plane_size, 0, sizeof(*plane_size)); in amdgpu_dm_plane_fill_plane_buffer_attributes()
778 plane_size->surface_size.x = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes()
779 plane_size->surface_size.y = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes()
780 plane_size->surface_size.width = fb->width; in amdgpu_dm_plane_fill_plane_buffer_attributes()
[all …]
Damdgpu_dm_plane.h48 struct plane_size *plane_size,
/Linux-v6.6/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-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h159 struct plane_size *plane_size,
Dhubp.h139 struct plane_size *plane_size,
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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.h709 struct plane_size *plane_size,
731 const struct plane_size *plane_size,
/Linux-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubp.c399 struct plane_size *plane_size, in hubp3_program_surface_config() argument
409 hubp2_program_size(hubp, format, plane_size, dcc); in hubp3_program_surface_config()
Ddcn30_hubp.h268 struct plane_size *plane_size,
/Linux-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc.h1198 struct plane_size plane_size; member
1257 struct plane_size plane_size; member
Ddc_hw_types.h138 struct plane_size { struct
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1529 pipes[pipe_cnt].pipe.src.surface_width_y = pln->plane_size.surface_size.width; in dcn20_populate_dml_pipes_from_context()
1530 pipes[pipe_cnt].pipe.src.surface_height_y = pln->plane_size.surface_size.height; in dcn20_populate_dml_pipes_from_context()
1531 pipes[pipe_cnt].pipe.src.surface_width_c = pln->plane_size.chroma_size.width; in dcn20_populate_dml_pipes_from_context()
1532 pipes[pipe_cnt].pipe.src.surface_height_c = pln->plane_size.chroma_size.height; in dcn20_populate_dml_pipes_from_context()
1535 pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; in dcn20_populate_dml_pipes_from_context()
1536 pipes[pipe_cnt].pipe.src.data_pitch_c = pln->plane_size.chroma_pitch; in dcn20_populate_dml_pipes_from_context()
1540 pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; in dcn20_populate_dml_pipes_from_context()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c320 &plane_state->plane_size, in dce60_program_front_end_for_pipe()

12