commit | b70d11da61d751ad968c6f686d83ac1b0ae41466 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@redhat.com> | Tue Mar 03 14:45:57 2009 -0500 |
committer | Eric Anholt <eric@anholt.net> | Tue Mar 10 13:11:11 2009 -0700 |
tree | 388afdd8b085860e1f5ac7e3bc50b6d56ab1325e | |
parent | 99adcd9d67aaf04e28f5ae96df280f236bde4b66 [diff] |
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 <krh@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>