]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/gpu/drm/i915/i915_drv.h
drm: Return EINVAL on duplicate objects in execbuffer object list
[linux-2.6-omap-h63xx.git] / drivers / gpu / drm / i915 / i915_drv.h
index 17fa40858d26147b5ae6ca041adb5984c05ac06a..9186d43be011beecc6b033a217b1712b24863de9 100644 (file)
@@ -457,6 +457,12 @@ struct drm_i915_gem_object {
 
        /** for phy allocated objects */
        struct drm_i915_gem_phys_object *phys_obj;
+
+       /**
+        * Used for checking the object doesn't appear more than once
+        * in an execbuffer object list.
+        */
+       int in_execbuffer;
 };
 
 /**