On Sun, Jul 21, 2013 at 07:08:16PM -0700, Ben Widawsky wrote:
> @@ -4054,7 +4051,7 @@ void i915_gem_free_object(struct drm_gem_object 
> *gem_obj)
>  struct i915_vma *i915_gem_vma_create(struct drm_i915_gem_object *obj,
>                                    struct i915_address_space *vm)
>  {
> -     struct i915_vma *vma = kzalloc(sizeof(*vma), GFP_KERNEL);
> +     struct i915_vma *vma = kzalloc(sizeof(*vma), GFP_ATOMIC);

Hmm, possibly best to erradicate the allocations from underneath the
spinlock as the number may be rather large.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to