| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_damage_helper_test.c | 123 struct drm_rect clip; in drm_test_damage_iter_no_damage() local 130 drm_atomic_for_each_plane_damage(&iter, &clip) in drm_test_damage_iter_no_damage() 134 check_damage_clip(test, &clip, 0, 0, 2048, 2048); in drm_test_damage_iter_no_damage() 141 struct drm_rect clip; in drm_test_damage_iter_no_damage_fractional_src() local 150 drm_atomic_for_each_plane_damage(&iter, &clip) in drm_test_damage_iter_no_damage_fractional_src() 155 check_damage_clip(test, &clip, 3, 3, 1028, 772); in drm_test_damage_iter_no_damage_fractional_src() 162 struct drm_rect clip; in drm_test_damage_iter_no_damage_src_moved() local 170 drm_atomic_for_each_plane_damage(&iter, &clip) in drm_test_damage_iter_no_damage_src_moved() 174 check_damage_clip(test, &clip, 10, 10, 1034, 778); in drm_test_damage_iter_no_damage_src_moved() 181 struct drm_rect clip; in drm_test_damage_iter_no_damage_fractional_src_moved() local [all …]
|
| H A D | drm_format_helper_test.c | 106 struct drm_rect clip; member 129 .clip = DRM_RECT_INIT(0, 0, 1, 1), 196 .clip = DRM_RECT_INIT(1, 1, 1, 1), 270 .clip = DRM_RECT_INIT(1, 1, 2, 4), 424 .clip = DRM_RECT_INIT(0, 0, 3, 3), 575 const struct drm_rect *clip, int plane) in conversion_buf_size() argument 583 dst_pitch = drm_format_info_min_pitch(dst_fi, plane, drm_rect_width(clip)); in conversion_buf_size() 585 return dst_pitch * drm_rect_height(clip); in conversion_buf_size() 657 ¶ms->clip, 0); in drm_test_fb_xrgb8888_to_gray8() 671 drm_fb_xrgb8888_to_gray8(&dst, dst_pitch, &src, &fb, ¶ms->clip, &fmtcnv_state); in drm_test_fb_xrgb8888_to_gray8() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_fbdev_ttm.c | 68 struct drm_clip_rect *clip, in drm_fbdev_ttm_damage_blit_real() argument 72 size_t offset = clip->y1 * fb->pitches[0]; in drm_fbdev_ttm_damage_blit_real() 73 size_t len = clip->x2 - clip->x1; in drm_fbdev_ttm_damage_blit_real() 79 offset += clip->x1 / 8; in drm_fbdev_ttm_damage_blit_real() 80 len = DIV_ROUND_UP(len + clip->x1 % 8, 8); in drm_fbdev_ttm_damage_blit_real() 83 offset += clip->x1 / 4; in drm_fbdev_ttm_damage_blit_real() 84 len = DIV_ROUND_UP(len + clip->x1 % 4, 4); in drm_fbdev_ttm_damage_blit_real() 87 offset += clip->x1 / 2; in drm_fbdev_ttm_damage_blit_real() 88 len = DIV_ROUND_UP(len + clip in drm_fbdev_ttm_damage_blit_real() 107 drm_fbdev_ttm_damage_blit(struct drm_fb_helper * fb_helper,struct drm_clip_rect * clip) drm_fbdev_ttm_damage_blit() argument 142 drm_fbdev_ttm_helper_fb_dirty(struct drm_fb_helper * helper,struct drm_clip_rect * clip) drm_fbdev_ttm_helper_fb_dirty() argument [all...] |
| H A D | drm_fbdev_dma.c | 110 struct drm_clip_rect *clip, in drm_fbdev_dma_damage_blit_real() argument 114 size_t offset = clip->y1 * fb->pitches[0]; in drm_fbdev_dma_damage_blit_real() 115 size_t len = clip->x2 - clip->x1; in drm_fbdev_dma_damage_blit_real() 121 offset += clip->x1 / 8; in drm_fbdev_dma_damage_blit_real() 122 len = DIV_ROUND_UP(len + clip->x1 % 8, 8); in drm_fbdev_dma_damage_blit_real() 125 offset += clip->x1 / 4; in drm_fbdev_dma_damage_blit_real() 126 len = DIV_ROUND_UP(len + clip->x1 % 4, 4); in drm_fbdev_dma_damage_blit_real() 129 offset += clip->x1 / 2; in drm_fbdev_dma_damage_blit_real() 130 len = DIV_ROUND_UP(len + clip in drm_fbdev_dma_damage_blit_real() 149 drm_fbdev_dma_damage_blit(struct drm_fb_helper * fb_helper,struct drm_clip_rect * clip) drm_fbdev_dma_damage_blit() argument 169 drm_fbdev_dma_helper_fb_dirty(struct drm_fb_helper * helper,struct drm_clip_rect * clip) drm_fbdev_dma_helper_fb_dirty() argument [all...] |
| H A D | drm_rect.c | 55 static u32 clip_scaled(int src, int dst, int *clip) in clip_scaled() argument 63 *clip = min(*clip, dst); in clip_scaled() 65 tmp = mul_u32_u32(src, dst - *clip); in clip_scaled() 92 const struct drm_rect *clip) in drm_rect_clip_scaled() argument 96 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() 104 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled() 112 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled() 120 diff = dst->y2 - clip->y2; in drm_rect_clip_scaled()
|
| H A D | drm_fbdev_shmem.c | 107 struct drm_clip_rect *clip) in drm_fbdev_shmem_helper_fb_dirty() argument 113 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2)) in drm_fbdev_shmem_helper_fb_dirty() 117 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in drm_fbdev_shmem_helper_fb_dirty()
|
| H A D | drm_fb_helper.c | |
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_fbdev.c | 66 struct drm_clip_rect *clip) in msm_fbdev_fb_dirty() argument 72 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2)) in msm_fbdev_fb_dirty() 76 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in msm_fbdev_fb_dirty()
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | sharp-memory.c | 119 struct drm_rect clip, in sharp_memory_set_tx_buffer_addresses() argument 122 for (u32 line = 0; line < clip.y2; ++line) in sharp_memory_set_tx_buffer_addresses() 129 struct drm_rect clip, in sharp_memory_set_tx_buffer_data() argument 142 drm_fb_xrgb8888_to_mono(&dst, &pitch, vmap, fb, &clip, fmtcnv_state); in sharp_memory_set_tx_buffer_data() 150 struct drm_rect clip, in sharp_memory_update_display() argument 164 sharp_memory_set_tx_buffer_addresses(&tx_buffer[1], clip, pitch); in sharp_memory_update_display() 165 sharp_memory_set_tx_buffer_data(&tx_buffer[2], fb, vmap, clip, pitch, fmtcnv_state); in sharp_memory_update_display() 212 struct drm_rect clip; in sharp_memory_fb_dirty() local 216 clip.x1 = 0; in sharp_memory_fb_dirty() 217 clip in sharp_memory_fb_dirty() [all...] |
| /linux/drivers/media/platform/mediatek/mdp3/ |
| H A D | mdp_sm_mt8195.h | 46 u32 clip; member 107 u32 clip; member 120 u32 clip; member 153 u32 clip; member 204 u32 clip; member 230 u32 clip; member
|
| H A D | mdp_sm_mt8183.h | 46 u32 clip; member 67 u32 clip; member 81 u32 clip; member 99 u32 clip; member
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/ |
| H A D | ia_css_bnr.host.c | 31 to->clip = uDIGIT_FITTING(16384U, 16, SH_CSS_BAYER_BITS); in ia_css_bnr_encode() 56 "bnr_clip", bnr->clip); in ia_css_bnr_dump()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_kms.c | 449 * @vclips: Array of clip rects. 450 * @num_clips: Number of clip rects in @vclips. 1495 * @dest_x: X coordinate offset for the crtc / destination clip rects. 1496 * @dest_y: Y coordinate offset for the crtc / destination clip rects. 1498 * @increment: Integer with which to increment the clip counter when looping. 1499 * Used to skip a predetermined number of clip rects. 1556 * Select clip array type. Note that integer type in vmw_kms_helper_dirty() 1579 /* Skip this clip if it's outside the crtc region */ in vmw_kms_helper_dirty() 1599 dirty->clip(dirty); in vmw_kms_helper_dirty() 1735 struct drm_rect clip; 1746 struct drm_rect clip; vmw_du_helper_plane_update() local [all...] |
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_draw.c | 100 drawable->clip.type = SPICE_CLIP_TYPE_NONE; in make_drawable() 225 drawable->clip.type = SPICE_CLIP_TYPE_RECTS; in qxl_draw_dirty_fb() 226 drawable->clip.data = qxl_bo_physical_address(qdev, in qxl_draw_dirty_fb()
|
| H A D | qxl_dev.h | 684 struct qxl_clip clip; member 711 struct qxl_clip clip; member
|
| /linux/include/drm/ |
| H A D | drm_rect.h | 256 bool drm_rect_intersect(struct drm_rect *r, const struct drm_rect *clip); 258 const struct drm_rect *clip);
|
| H A D | drm_fb_helper.h | |
| /linux/drivers/gpu/drm/ast/ |
| H A D | ast_cursor.c | 193 const struct drm_rect *clip) in ast_cursor_plane_get_argb4444() argument 211 shadow_plane_state->data, fb, clip); in ast_cursor_plane_get_argb4444() 227 shadow_plane_state->data, fb, clip, in ast_cursor_plane_get_argb4444()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | dev-overlay.rst | 106 4. The framebuffer has an alpha channel that can be used to clip or 204 clip lists are not supported the driver ignores this field. Its 211 contain the number of clipping rectangles in the list. When clip 213 after calling :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` are undefined. When clip lists are 239 Applications need not create a clip list or bit mask. When they pass 321 regions need to be refreshed. The driver should clip out more pixels 327 ``height = y2 - y1``, so one cannot pass X11 clip lists directly.
|
| H A D | vidioc-g-fbuf.rst | 219 - The device supports clipping using a list of clip rectangles. 284 clip rectangles or a bitmap. These methods are negotiated with the 289 - Use the alpha channel of the framebuffer to clip or blend 305 framebuffer to clip or blend framebuffer pixels with video images,
|
| /linux/drivers/video/fbdev/ |
| H A D | cg6.c | 193 u32 clip; member 334 sbus_writel(0, &fbc->clip); in cg6_fillrect() 372 sbus_writel(0, &fbc->clip); in cg6_copyarea() 418 sbus_writel(0, &fbc->clip); in cg6_imageblit() 713 sbus_writel(0, &fbc->clip); in cg6_chip_init()
|
| /linux/Documentation/networking/ |
| H A D | tls-offload-reorder-bad.svg | 1 …="p.0"><path d="m0 0l960.0 0l0 720.0l-960.0 0l0 -720.0z" clip-rule="nonzero"/></clipPath><g clip-p…
|
| H A D | tls-offload-reorder-good.svg | 1 …="p.0"><path d="m0 0l960.0 0l0 720.0l-960.0 0l0 -720.0z" clip-rule="nonzero"/></clipPath><g clip-p…
|
| /linux/drivers/gpu/drm/sti/ |
| H A D | NOTES | 13 - The TV OUT pre-formats (convert, clip, round) the compositor output data
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | skl_universal_plane.c | 1521 const struct drm_rect *clip; in icl_plane_update_sel_fetch_noarm() 1528 clip = &plane_state->psr2_sel_fetch_area; in icl_plane_update_sel_fetch_noarm() 1533 y = (clip->y1 + plane_state->uapi.dst.y1); in icl_plane_update_sel_fetch_noarm() 1545 y = plane_state->view.color_plane[color_plane].y + clip->y1; in icl_plane_update_sel_fetch_noarm() 1547 y = plane_state->view.color_plane[color_plane].y + DIV_ROUND_UP(clip->y1, 2); 1554 val = (drm_rect_height(clip) - 1) << 16; in icl_plane_update_noarm() 1510 const struct drm_rect *clip; icl_plane_update_sel_fetch_noarm() local
|