Lines Matching refs:cliprects
751 struct drm_clip_rect *cliprects = NULL;
861 if (args->num_cliprects > UINT_MAX / sizeof(*cliprects)) {
862 DRM_DEBUG("execbuf with %u cliprects\n",
867 cliprects = kcalloc(args->num_cliprects, sizeof(*cliprects),
869 if (cliprects == NULL) {
874 if (DRM_COPY_FROM_USER(cliprects,
877 sizeof(*cliprects) * args->num_cliprects)) {
1010 if (cliprects) {
1012 ret = i915_emit_box(dev, &cliprects[i],
1051 drm_free(cliprects, args->num_cliprects * sizeof(*cliprects),