Home
last modified time | relevance | path

Searched refs:rects (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/ !
Ddrm_damage_helper.c113 struct drm_mode_rect *rects = NULL; in drm_atomic_helper_dirtyfb() local
140 rects = kcalloc(num_clips, sizeof(*rects), GFP_KERNEL); in drm_atomic_helper_dirtyfb()
141 if (!rects) { in drm_atomic_helper_dirtyfb()
146 convert_clip_rect_to_rect(clips, rects, num_clips, inc); in drm_atomic_helper_dirtyfb()
148 num_clips * sizeof(*rects), in drm_atomic_helper_dirtyfb()
149 rects); in drm_atomic_helper_dirtyfb()
191 kfree(rects); in drm_atomic_helper_dirtyfb()
/linux-5.19.10/drivers/gpu/drm/qxl/ !
Dqxl_draw.c145 struct qxl_rect *rects; in qxl_draw_dirty_fb() local
217 rects = drawable_set_clipping(qdev, num_clips, clips_bo); in qxl_draw_dirty_fb()
218 if (!rects) { in qxl_draw_dirty_fb()
245 rects[i].left = clips_ptr->x1; in qxl_draw_dirty_fb()
246 rects[i].right = clips_ptr->x2; in qxl_draw_dirty_fb()
247 rects[i].top = clips_ptr->y1; in qxl_draw_dirty_fb()
248 rects[i].bottom = clips_ptr->y2; in qxl_draw_dirty_fb()
/linux-5.19.10/drivers/gpu/drm/vmwgfx/ !
Dvmwgfx_kms.c1698 struct drm_rect *rects) in vmw_kms_check_display_memory() argument
1711 (drm_rect_width(&rects[i]) > dev_priv->stdu_max_width || in vmw_kms_check_display_memory()
1712 drm_rect_height(&rects[i]) > dev_priv->stdu_max_height)) { in vmw_kms_check_display_memory()
1718 if (rects[i].x2 > bounding_box.x2) in vmw_kms_check_display_memory()
1719 bounding_box.x2 = rects[i].x2; in vmw_kms_check_display_memory()
1721 if (rects[i].y2 > bounding_box.y2) in vmw_kms_check_display_memory()
1722 bounding_box.y2 = rects[i].y2; in vmw_kms_check_display_memory()
1724 total_pixels += (u64) drm_rect_width(&rects[i]) * in vmw_kms_check_display_memory()
1725 (u64) drm_rect_height(&rects[i]); in vmw_kms_check_display_memory()
1849 struct drm_rect *rects; in vmw_kms_check_topology() local
[all …]
/linux-5.19.10/drivers/staging/media/ipu3/ !
Dipu3-v4l2.c65 struct v4l2_rect *rects[IPU3_CSS_RECTS] = { NULL }; in imgu_subdev_s_stream() local
106 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_subdev_s_stream()
107 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_subdev_s_stream()
108 rects[IPU3_CSS_RECT_GDC] = &imgu_sd->rect.gdc; in imgu_subdev_s_stream()
110 r = imgu_css_fmt_set(&imgu->css, fmts, rects, pipe); in imgu_subdev_s_stream()
667 struct v4l2_rect *rects[IPU3_CSS_RECTS] = { NULL }; in imgu_fmt() local
729 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_fmt()
730 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_fmt()
731 rects[IPU3_CSS_RECT_GDC] = &imgu_sd->rect.gdc; in imgu_fmt()
735 rects[IPU3_CSS_RECT_GDC]->width = pad_fmt.width; in imgu_fmt()
[all …]
Dipu3-css.h172 struct v4l2_rect *rects[IPU3_CSS_RECTS],
176 struct v4l2_rect *rects[IPU3_CSS_RECTS],
Dipu3.c456 struct v4l2_rect *rects[IPU3_CSS_RECTS] = { NULL }; in imgu_video_nodes_init() local
486 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_pipe->imgu_sd.rect.eff; in imgu_video_nodes_init()
487 rects[IPU3_CSS_RECT_BDS] = &imgu_pipe->imgu_sd.rect.bds; in imgu_video_nodes_init()
488 imgu_css_fmt_set(&imgu->css, fmts, rects, j); in imgu_video_nodes_init()
Dipu3-css.c1553 struct v4l2_rect rects[IPU3_CSS_RECTS]) in imgu_css_find_binary()
1676 struct v4l2_rect *rects[IPU3_CSS_RECTS], in imgu_css_fmt_try()
1732 if (rects[i]) { in imgu_css_fmt_try()
1734 rnames[i], rects[i]->width, rects[i]->height); in imgu_css_fmt_try()
1735 r[i].width = rects[i]->width; in imgu_css_fmt_try()
1736 r[i].height = rects[i]->height; in imgu_css_fmt_try()
1815 if (rects[i]) in imgu_css_fmt_try()
1816 *rects[i] = r[i]; in imgu_css_fmt_try()
1832 struct v4l2_rect *rects[IPU3_CSS_RECTS], in imgu_css_fmt_set()
1841 if (rects[i]) in imgu_css_fmt_set()
[all …]
/linux-5.19.10/drivers/media/i2c/ !
Ds5k5baf.c1442 static void s5k5baf_set_rect_and_adjust(struct v4l2_rect **rects, in s5k5baf_set_rect_and_adjust() argument
1449 *rects[first] = *v; in s5k5baf_set_rect_and_adjust()
1451 r = rects[i]; in s5k5baf_set_rect_and_adjust()
1452 br = rects[i - 1]; in s5k5baf_set_rect_and_adjust()
1455 *v = *rects[first]; in s5k5baf_set_rect_and_adjust()
1470 struct v4l2_rect **rects; in s5k5baf_set_selection() local
1484 rects = (struct v4l2_rect * []) { in s5k5baf_set_selection()
1493 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection()
1497 rects = (struct v4l2_rect * []) { in s5k5baf_set_selection()
1516 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection()
/linux-5.19.10/include/uapi/drm/ !
Dvmwgfx_drm.h830 __u64 rects; member
Ddrm.h108 struct drm_clip_rect *rects; member
/linux-5.19.10/tools/include/uapi/drm/ !
Ddrm.h108 struct drm_clip_rect *rects; member