Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/dce/
H 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 …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c269 const struct plane_size *plane_size) in amdgpu_dm_plane_validate_dcc() argument
289 input.surface_size.width = plane_size->surface_size.width; in amdgpu_dm_plane_validate_dcc()
290 input.surface_size.height = plane_size->surface_size.height; in amdgpu_dm_plane_validate_dcc()
315 const struct plane_size *plane_size, in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers() argument
355 ret = amdgpu_dm_plane_validate_dcc(adev, format, rotation, tiling_info, dcc, address, plane_size); in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers()
366 const struct plane_size *plane_size, in amdgpu_dm_plane_fill_gfx12_plane_attributes_from_modifiers() argument
395 ret = amdgpu_dm_plane_validate_dcc(adev, format, rotation, tiling_info, dcc, address, plane_size); in amdgpu_dm_plane_fill_gfx12_plane_attributes_from_modifiers()
845 struct plane_size *plane_size, in amdgpu_dm_plane_fill_plane_buffer_attributes() argument
854 memset(plane_size, 0, sizeof(*plane_size)); in amdgpu_dm_plane_fill_plane_buffer_attributes()
863 plane_size->surface_size.x = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes()
[all …]
H A Damdgpu_dm_plane.h51 struct plane_size *plane_size,
H A Damdgpu_dm.c6219 &plane_info->plane_size, in fill_dc_plane_info_and_addr()
6263 dc_plane_state->plane_size = plane_info.plane_size; in fill_dc_plane_attributes()
8043 dc_plane_state->plane_size.surface_pitch = ((stream->src.width + 255) / 256) * 256; in dm_validate_stream_and_context()
8044 dc_plane_state->plane_size.surface_size.height = stream->src.height; in dm_validate_stream_and_context()
8045 dc_plane_state->plane_size.surface_size.width = stream->src.width; in dm_validate_stream_and_context()
8046 dc_plane_state->plane_size.chroma_size.height = stream->src.height; in dm_validate_stream_and_context()
8047 dc_plane_state->plane_size.chroma_size.width = stream->src.width; in dm_validate_stream_and_context()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn201/
H 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()
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H 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()
/linux/drivers/media/usb/pwc/
H 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()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c598 const struct plane_size *plane_size, in hubp401_program_size() argument
613 ASSERT(plane_size->chroma_pitch != 0); in hubp401_program_size()
616 pitch = plane_size->surface_pitch - 1; in hubp401_program_size()
617 pitch_c = plane_size->chroma_pitch - 1; in hubp401_program_size()
619 pitch = plane_size->surface_pitch - 1; in hubp401_program_size()
633 struct plane_size *plane_size, in hubp401_program_surface_config() argument
643 hubp401_program_size(hubp, format, plane_size, dcc); in hubp401_program_surface_config()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H 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()
560 struct plane_size *plane_size, in hubp1_program_surface_config() argument
568 hubp1_program_size(hubp, format, plane_size, dcc); in hubp1_program_surface_config()
/linux/drivers/media/platform/mediatek/mdp/
H 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()
H A Dmtk_mdp_ipi.h99 int32_t plane_size[MTK_MDP_MAX_NUM_PLANE]; member
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H 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()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c436 surface->plane0.pitch = plane_state->plane_size.surface_pitch; in populate_dml21_surface_config_from_plane_state()
437 surface->plane1.pitch = plane_state->plane_size.chroma_pitch; in populate_dml21_surface_config_from_plane_state()
438 surface->plane0.height = plane_state->plane_size.surface_size.height; in populate_dml21_surface_config_from_plane_state()
439 surface->plane0.width = plane_state->plane_size.surface_size.width; in populate_dml21_surface_config_from_plane_state()
440 surface->plane1.height = plane_state->plane_size.chroma_size.height; in populate_dml21_surface_config_from_plane_state()
441 surface->plane1.width = plane_state->plane_size.chroma_size.width; in populate_dml21_surface_config_from_plane_state()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn30/
H 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()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_mdss.h328 uint32_t plane_size[DPU_MAX_PLANES]; member
H A Ddpu_trace.h797 __entry->layout.plane_size[0],
799 __entry->layout.plane_size[1],
801 __entry->layout.plane_size[2],
803 __entry->layout.plane_size[3], __entry->multirect_index)
/linux/drivers/media/platform/raspberrypi/pisp_be/
H A Dpisp_be.c1073 unsigned int bpl, plane_size; in pispbe_set_plane_params() local
1078 plane_size = bpl * f->fmt.pix_mp.height * in pispbe_set_plane_params()
1084 plane_size = max(p->sizeimage, plane_size >> 3); in pispbe_set_plane_params()
1087 p->sizeimage = plane_size; in pispbe_set_plane_params()
/linux/drivers/gpu/drm/amd/display/dc/hwss/
H A Dhw_sequencer.h165 struct plane_size plane_size; member
1945 struct plane_size plane_size,
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.c1912 unsigned int plane_size; in intel_remapped_info_size() local
1915 plane_size = rem_info->plane[i].size; in intel_remapped_info_size()
1917 plane_size = rem_info->plane[i].dst_stride * rem_info->plane[i].height; in intel_remapped_info_size()
1919 if (plane_size == 0) in intel_remapped_info_size()
1925 size += plane_size; in intel_remapped_info_size()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1474 struct plane_size plane_size; member
1547 struct plane_size plane_size; member
H A Ddc_hw_types.h142 struct plane_size { struct
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2742 if (u->plane_info->plane_size.surface_pitch != u->surface->plane_size.surface_pitch in get_plane_info_update_type()
2743 || u->plane_info->plane_size.chroma_pitch != u->surface->plane_size.chroma_pitch) { in get_plane_info_update_type()
3126 surface->plane_size = in copy_surface_update_to_plane()
3127 srf_update->plane_info->plane_size; in copy_surface_update_to_plane()
6644 if (pipe_ctx->plane_state->plane_size.surface_size.width > 0) { in dc_capture_register_software_state()
6645 state->hubp[i].surface_size_width = pipe_ctx->plane_state->plane_size.surface_size.width; in dc_capture_register_software_state()
6646 state->hubp[i].surface_size_height = pipe_ctx->plane_state->plane_size.surface_size.height; in dc_capture_register_software_state()
6663 state->hubp[i].surface_pitch = pipe_ctx->plane_state->plane_size.surface_pitch; in dc_capture_register_software_state()
6665 state->hubp[i].chroma_pitch = pipe_ctx->plane_state->plane_size.chroma_pitch; in dc_capture_register_software_state()
H A Ddc_hw_sequencer.c2029 struct plane_size size = params->program_surface_config_params.plane_size; in hwss_program_surface_config()
3881 struct plane_size plane_size, in hwss_add_hubp_program_surface_config() argument
3892 …q_state->steps[*seq_state->num_steps].params.program_surface_config_params.plane_size = plane_size; in hwss_add_hubp_program_surface_config()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c975 dc->hwss.does_plane_fit_in_mall(dc, plane->plane_size.surface_pitch, in dcn30_apply_idle_power_optimizations()
976 plane->plane_size.surface_size.height, plane->format, in dcn30_apply_idle_power_optimizations()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1663 memcpy(&phantom_plane->plane_size, &curr_pipe->plane_state->plane_size, in dcn32_enable_phantom_plane()
1664 sizeof(phantom_plane->plane_size)); in dcn32_enable_phantom_plane()

12