diff options
author | Jerome Glisse <glisse@freedesktop.org> | 2008-11-06 00:40:06 +0100 |
---|---|---|
committer | Jerome Glisse <glisse@freedesktop.org> | 2008-11-06 00:40:06 +0100 |
commit | 273cc1a69887df2bccfab96120f992c506c9035e (patch) | |
tree | 8beb4d4256c597b8d4607ef96cd619a617e93e7f /linux-core | |
parent | 2d822542c74c9a38d18724f568642397b5a4d13d (diff) |
radeon: lib radeon add bo & cs gem backend
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_gem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drm_gem.c b/linux-core/drm_gem.c index 0cbf9cab..607c8b67 100644 --- a/linux-core/drm_gem.c +++ b/linux-core/drm_gem.c @@ -263,8 +263,9 @@ again: spin_lock(&dev->object_name_lock); if (obj->name) { + args->name = (uint64_t) obj->name; spin_unlock(&dev->object_name_lock); - return -EEXIST; + return 0; } ret = idr_get_new_above(&dev->object_name_idr, obj, 1, &obj->name); |