From: Kristian Høgsberg Date: Tue, 3 Mar 2009 19:45:57 +0000 (-0500) Subject: drm: Return EINVAL on duplicate objects in execbuffer object list X-Git-Tag: v2.6.29-rc8~26^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b70d11da61d751ad968c6f686d83ac1b0ae41466;p=pandora-kernel.git drm: Return EINVAL on duplicate objects in execbuffer object list If userspace passes an object list with the same object appearing more than once, we end up hitting the BUG_ON() in i915_gem_object_set_to_gpu_domain() as it gets called a second time for the same object. Signed-off-by: Kristian Høgsberg Signed-off-by: Eric Anholt --- Reading git-diff-tree failed