Lines Matching refs:cliprects
845 struct drm_clip_rect *cliprects = NULL;
962 if (args->num_cliprects > UINT_MAX / sizeof(*cliprects)) {
963 DRM_DEBUG("execbuf with %u cliprects\n",
969 cliprects = malloc(args->num_cliprects * sizeof(*cliprects),
971 if (cliprects == NULL) {
976 if (copy_from_user(cliprects,
979 sizeof(*cliprects)*args->num_cliprects)) {
1100 if (cliprects) {
1102 ret = i915_emit_box(dev, &cliprects[i],
1150 free(cliprects, DRM_I915_GEM);