Home
last modified time | relevance | path

Searched refs:clip_rect (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c112 plane_state->clip_rect.x, in pre_surface_trace()
113 plane_state->clip_rect.y, in pre_surface_trace()
114 plane_state->clip_rect.width, in pre_surface_trace()
115 plane_state->clip_rect.height); in pre_surface_trace()
286 update->scaling_info->clip_rect.x, in update_surface_trace()
287 update->scaling_info->clip_rect.y, in update_surface_trace()
288 update->scaling_info->clip_rect.width, in update_surface_trace()
289 update->scaling_info->clip_rect.height, in update_surface_trace()
Ddc_resource.c572 clip.x = stream->src.x > plane_state->clip_rect.x ? in calculate_viewport()
573 stream->src.x : plane_state->clip_rect.x; in calculate_viewport()
576 plane_state->clip_rect.x + plane_state->clip_rect.width ? in calculate_viewport()
578 plane_state->clip_rect.x + plane_state->clip_rect.width - clip.x ; in calculate_viewport()
580 clip.y = stream->src.y > plane_state->clip_rect.y ? in calculate_viewport()
581 stream->src.y : plane_state->clip_rect.y; in calculate_viewport()
584 plane_state->clip_rect.y + plane_state->clip_rect.height ? in calculate_viewport()
586 plane_state->clip_rect.y + plane_state->clip_rect.height - clip.y ; in calculate_viewport()
659 struct rect surf_clip = plane_state->clip_rect; in calculate_recout()
Ddc.c1448 if (u->scaling_info->clip_rect.width != u->surface->clip_rect.width in get_scaling_info_update_type()
1449 || u->scaling_info->clip_rect.height != u->surface->clip_rect.height in get_scaling_info_update_type()
1474 || u->scaling_info->clip_rect.x != u->surface->clip_rect.x in get_scaling_info_update_type()
1475 || u->scaling_info->clip_rect.y != u->surface->clip_rect.y in get_scaling_info_update_type()
1681 surface->clip_rect = in copy_surface_update_to_plane()
1682 srf_update->scaling_info->clip_rect; in copy_surface_update_to_plane()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc.h721 struct rect clip_rect; member
793 struct rect clip_rect; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c2556 pipe_ctx->plane_state->clip_rect.x, in dce110_program_front_end_for_pipe()
2557 pipe_ctx->plane_state->clip_rect.y, in dce110_program_front_end_for_pipe()
2558 pipe_ctx->plane_state->clip_rect.width, in dce110_program_front_end_for_pipe()
2559 pipe_ctx->plane_state->clip_rect.height); in dce110_program_front_end_for_pipe()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2636 scaling_info->clip_rect = scaling_info->dst_rect; in fill_dc_scaling_info()
3068 dc_plane_state->clip_rect = scaling_info.clip_rect; in fill_dc_plane_attributes()