drm/i915: EBUSY status handling added to i915_gem_fault().
[pandora-kernel.git] / drivers / gpu / drm / i915 / i915_gem.c
index dbe4dbe..5950ba3 100644 (file)
@@ -1259,6 +1259,11 @@ out:
        case 0:
        case -ERESTARTSYS:
        case -EINTR:
+       case -EBUSY:
+               /*
+                * EBUSY is ok: this just means that another thread
+                * already did the job.
+                */
                return VM_FAULT_NOPAGE;
        case -ENOMEM:
                return VM_FAULT_OOM;