|
@@ -218,7 +218,11 @@ int drm_gem_name_info(struct seq_file *m, void *data)
|
|
|
struct drm_device *dev = node->minor->dev;
|
|
|
|
|
|
seq_printf(m, " name size handles refcount\n");
|
|
|
+
|
|
|
+ spin_lock(&dev->object_name_lock);
|
|
|
idr_for_each(&dev->object_name_idr, drm_gem_one_name_info, m);
|
|
|
+ spin_unlock(&dev->object_name_lock);
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|