| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_mem_input.c | 487 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 D | amdgpu_dm_plane.c | 269 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 D | amdgpu_dm_plane.h | 51 struct plane_size *plane_size,
|
| H A D | amdgpu_dm.c | 6219 &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 D | dcn201_hubp.c | 46 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 D | dce110_mem_input_v.c | 231 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 D | pwc-dec23.c | 656 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 D | dcn401_hubp.c | 598 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 D | dcn10_hubp.c | 166 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 D | mtk_mdp_regs.c | 101 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 D | mtk_mdp_ipi.h | 99 int32_t plane_size[MTK_MDP_MAX_NUM_PLANE]; member
|
| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
| H A D | dcn20_hubp.c | 331 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 D | dml21_translation_helper.c | 436 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 D | dcn30_hubp.c | 415 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 D | dpu_hw_mdss.h | 328 uint32_t plane_size[DPU_MAX_PLANES]; member
|
| H A D | dpu_trace.h | 797 __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 D | pisp_be.c | 1073 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 D | hw_sequencer.h | 165 struct plane_size plane_size; member 1945 struct plane_size plane_size,
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_fb.c | 1912 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 D | dc.h | 1474 struct plane_size plane_size; member 1547 struct plane_size plane_size; member
|
| H A D | dc_hw_types.h | 142 struct plane_size { struct
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 2742 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 D | dc_hw_sequencer.c | 2029 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 D | dcn30_hwseq.c | 975 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 D | dcn32_resource.c | 1663 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()
|