Home
last modified time | relevance | path

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

/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.c6175 &plane_info->plane_size, in fill_dc_plane_info_and_addr()
6219 dc_plane_state->plane_size = plane_info.plane_size; in fill_dc_plane_attributes()
7996 dc_plane_state->plane_size.surface_pitch = ((stream->src.width + 255) / 256) * 256; in dm_validate_stream_and_context()
7997 dc_plane_state->plane_size.surface_size.height = stream->src.height; in dm_validate_stream_and_context()
7998 dc_plane_state->plane_size.surface_size.width = stream->src.width; in dm_validate_stream_and_context()
7999 dc_plane_state->plane_size.chroma_size.height = stream->src.height; in dm_validate_stream_and_context()
8000 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/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/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/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/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
1932 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.h1451 struct plane_size plane_size; member
1524 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.c2741 if (u->plane_info->plane_size.surface_pitch != u->surface->plane_size.surface_pitch in get_plane_info_update_type()
2742 || u->plane_info->plane_size.chroma_pitch != u->surface->plane_size.chroma_pitch) { in get_plane_info_update_type()
3120 surface->plane_size = in copy_surface_update_to_plane()
3121 srf_update->plane_info->plane_size; in copy_surface_update_to_plane()
6580 if (pipe_ctx->plane_state->plane_size.surface_size.width > 0) { in dc_capture_register_software_state()
6581 state->hubp[i].surface_size_width = pipe_ctx->plane_state->plane_size.surface_size.width; in dc_capture_register_software_state()
6582 state->hubp[i].surface_size_height = pipe_ctx->plane_state->plane_size.surface_size.height; in dc_capture_register_software_state()
6599 state->hubp[i].surface_pitch = pipe_ctx->plane_state->plane_size.surface_pitch; in dc_capture_register_software_state()
6601 state->hubp[i].chroma_pitch = pipe_ctx->plane_state->plane_size.chroma_pitch; in dc_capture_register_software_state()
H A Ddc_hw_sequencer.c2027 struct plane_size size = params->program_surface_config_params.plane_size; in hwss_program_surface_config()
3879 struct plane_size plane_size, in hwss_add_hubp_program_surface_config() argument
3890 …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/dcn20/
H A Ddcn20_hwseq.c1843 struct plane_size size = plane_state->plane_size; in dcn20_update_dchubp_dpp()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c3715 struct plane_size size = plane_state->plane_size; in dcn401_update_dchubp_dpp_sequence()