Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_drawable.c88 drm_free(info->rects, info->num_rects * sizeof(struct drm_clip_rect), in drm_rmdraw()
103 struct drm_clip_rect *rects; in drm_update_drawable_info() local
122 rects = NULL; in drm_update_drawable_info()
124 rects = drm_alloc(update->num * sizeof(struct drm_clip_rect), in drm_update_drawable_info()
127 rects = info->rects; in drm_update_drawable_info()
129 if (update->num && !rects) { in drm_update_drawable_info()
135 if (update->num && DRM_COPY_FROM_USER(rects, in drm_update_drawable_info()
139 sizeof(*rects))) { in drm_update_drawable_info()
147 if (rects != info->rects) { in drm_update_drawable_info()
148 drm_free(info->rects, info->num_rects * in drm_update_drawable_info()
[all …]