/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_debug.c | 107 plane_state->dst_rect.x, in pre_surface_trace() 108 plane_state->dst_rect.y, in pre_surface_trace() 109 plane_state->dst_rect.width, in pre_surface_trace() 110 plane_state->dst_rect.height, in pre_surface_trace() 281 update->scaling_info->dst_rect.x, in update_surface_trace() 282 update->scaling_info->dst_rect.y, in update_surface_trace() 283 update->scaling_info->dst_rect.width, in update_surface_trace() 284 update->scaling_info->dst_rect.height, in update_surface_trace()
|
H A D | dc.c | 2462 if (u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type() 2463 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type() 2469 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type() 2470 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type() 2471 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type() 2472 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type() 2497 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type() 2498 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type() 2759 surface->dst_rect = in copy_surface_update_to_plane() 2760 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane() [all …]
|
H A D | dc_resource.c | 1193 plane_state->dst_rect.width); in calculate_scaling_ratios() 1196 plane_state->dst_rect.height); in calculate_scaling_ratios() 1309 pipe_ctx, &plane_state->dst_rect); in calculate_inits_and_viewports() 1397 if (!plane_state->dst_rect.width || in resource_build_scaling_params() 1398 !plane_state->dst_rect.height || in resource_build_scaling_params() 1526 plane_state->dst_rect.height, in resource_build_scaling_params() 1527 plane_state->dst_rect.width, in resource_build_scaling_params() 1528 plane_state->dst_rect.x, in resource_build_scaling_params() 1529 plane_state->dst_rect.y, in resource_build_scaling_params() 3969 plane_state->dst_rect.width == 0 || plane_state->dst_rect.height == 0) in dc_validate_plane()
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.c | 131 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw() 172 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk() 173 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk() 539 u32 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler() 540 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler() 578 struct drm_rect *dst_rect, in _dpu_plane_color_fill_pipe() argument 591 pipe_cfg.dst_rect = *dst_rect; in _dpu_plane_color_fill_pipe() 596 drm_rect_width(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe() 598 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe() 635 _dpu_plane_color_fill_pipe(pstate, &pstate->pipe, &pstate->pipe_cfg.dst_rect, in _dpu_plane_color_fill() [all …]
|
H A D | dpu_hw_sspp.c | 440 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_sspp_setup_rects() 441 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects() 442 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
|
H A D | dpu_hw_sspp.h | 163 struct drm_rect dst_rect; member
|
H A D | dpu_trace.h | 622 __field_struct( struct drm_rect, dst_rect ) 636 __entry->dst_rect = drm_plane_state_dest(state); 651 DRM_RECT_ARG(&__entry->dst_rect),
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-hw.c | 766 struct v4l2_rect dst_rect = dst->crop; in bdisp_hw_build_node() local 782 dst_rect.left += dst_x_offset; in bdisp_hw_build_node() 783 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node() 839 dst_rect.height /= 2; in bdisp_hw_build_node() 840 dst_rect.width /= 2; in bdisp_hw_build_node() 841 dst_rect.left /= 2; in bdisp_hw_build_node() 842 dst_rect.top /= 2; in bdisp_hw_build_node() 847 node->txy = cfg->vflip ? (dst_rect.height - 1) : dst_rect.top; in bdisp_hw_build_node() 850 dst_rect.left; in bdisp_hw_build_node() 852 node->tsz = dst_rect.height << 16 | dst_rect.width; in bdisp_hw_build_node()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/glmark2/files/ |
H A D | 0001-fix-dispmanx-build.patch | 63 - egl_dispmanx_window.width = dst_rect.width; 64 - egl_dispmanx_window.height = dst_rect.height; 66 + priv->egl_dispmanx_window.width = dst_rect.width; 67 + priv->egl_dispmanx_window.height = dst_rect.height;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/ |
H A D | dce60_hw_sequencer.c | 357 pipe_ctx->plane_state->dst_rect.x, in dce60_program_front_end_for_pipe() 358 pipe_ctx->plane_state->dst_rect.y, in dce60_program_front_end_for_pipe() 359 pipe_ctx->plane_state->dst_rect.width, in dce60_program_front_end_for_pipe() 360 pipe_ctx->plane_state->dst_rect.height, in dce60_program_front_end_for_pipe()
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 1090 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info() 1091 scaling_info->dst_rect.y = state->crtc_y; in amdgpu_dm_plane_fill_dc_scaling_info() 1096 scaling_info->dst_rect.width = state->crtc_w; in amdgpu_dm_plane_fill_dc_scaling_info() 1101 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info() 1104 scaling_info->clip_rect = scaling_info->dst_rect; in amdgpu_dm_plane_fill_dc_scaling_info() 1115 scale_w = scaling_info->dst_rect.width * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info() 1121 scale_h = scaling_info->dst_rect.height * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
|
H A D | amdgpu_dm_trace.h | 427 __entry->dst_x = plane_state->dst_rect.x; 428 __entry->dst_y = plane_state->dst_rect.y; 429 __entry->dst_w = plane_state->dst_rect.width; 430 __entry->dst_h = plane_state->dst_rect.height;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 239 if (pipe->stream->timing.v_addressable != pipe->plane_state->dst_rect.height && in dcn32_is_center_timing() 615 pipe->plane_state->dst_rect.width == width && in dcn32_check_native_scaling_for_res() 616 pipe->plane_state->dst_rect.height == height) in dcn32_check_native_scaling_for_res()
|
H A D | dcn32_hwseq.c | 1370 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position() 1371 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
|
H A D | dcn32_resource.c | 1652 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in dcn32_enable_phantom_plane()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | dcn314_fpu.c | 351 (pipe->plane_state->src_rect.height < pipe->plane_state->dst_rect.height || in dcn314_populate_dml_pipes_from_context_fpu() 352 pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) in dcn314_populate_dml_pipes_from_context_fpu()
|
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
H A D | 0002-wayland-Add-support-for-the-Wayland-winsys.patch | 451 + VC_RECT_T dst_rect; 458 + dst_rect.x = 0; 459 + dst_rect.y = 0; 460 + dst_rect.width = 1; 461 + dst_rect.height = 1; 463 + element = vc_dispmanx_element_add(update, display, 0/*layer*/, &dst_rect,
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 1200 struct rect dst_rect; member 1281 struct rect dst_rect; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer.c | 3421 int x_plane = pipe_ctx->plane_state->dst_rect.x; in dcn10_set_cursor_position() 3422 int y_plane = pipe_ctx->plane_state->dst_rect.y; in dcn10_set_cursor_position() 3452 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position() 3454 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position() 3457 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position() 3459 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position()
|
H A D | dcn10_resource.c | 1186 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global() 1187 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.c | 1040 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane() 1041 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
|
H A D | dce110_hw_sequencer.c | 2775 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe() 2776 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe() 2777 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe() 2778 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn315/ |
H A D | dcn315_resource.c | 1647 != res_ctx->pipe_ctx[i].plane_state->dst_rect.width || in allow_pixel_rate_crb() 1649 != res_ctx->pipe_ctx[i].plane_state->dst_rect.height))) in allow_pixel_rate_crb()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_resource.c | 1662 (pipe->plane_state->src_rect.height < pipe->plane_state->dst_rect.height || in dcn31_populate_dml_pipes_from_context() 1663 pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) in dcn31_populate_dml_pipes_from_context()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 718 (pipe->plane_state->dst_rect.width <= 16 || in hack_bounding_box() 719 pipe->plane_state->dst_rect.height <= 16 || in hack_bounding_box()
|