Displaying 4 results from an estimated 4 matches for "minor_id".
Did you mean:
minor_i
2018 Aug 28
0
[PATCH v2 1/4] drm/debugfs: Add support for dynamic debugfs initialization
...o_list *files, int count,
}
EXPORT_SYMBOL(drm_debugfs_create_files);
+int drm_debugfs_alloc(struct drm_minor *minor)
+{
+ INIT_LIST_HEAD(&minor->debugfs_callback_list);
+ mutex_init(&minor->debugfs_callback_lock);
+ return 0;
+}
+
int drm_debugfs_init(struct drm_minor *minor, int minor_id,
struct dentry *root)
{
struct drm_device *dev = minor->dev;
+ struct drm_debugfs_callback *pos, *tmp;
char name[64];
- int ret;
+ int ret = 0;
+
+ /* Don't allow any more callbacks to be registered while we setup */
+ mutex_lock(&minor->debugfs_callback_lock);
+ minor-&g...
2011 Oct 30
1
[PATCH] drm: serialize access to debugs_nodes.list
...tmp->info_ent = &files[i];
+ mutex_lock(&minor->debugfs_nodes.mutex);
list_add(&(tmp->list), &(minor->debugfs_nodes.list));
+ mutex_unlock(&minor->debugfs_nodes.mutex);
}
return 0;
@@ -149,6 +151,7 @@ int drm_debugfs_init(struct drm_minor *minor, int minor_id,
int ret;
INIT_LIST_HEAD(&minor->debugfs_nodes.list);
+ mutex_init(&minor->debugfs_nodes.mutex);
sprintf(name, "%d", minor_id);
minor->debugfs_root = debugfs_create_dir(name, root);
if (!minor->debugfs_root) {
@@ -194,6 +197,7 @@ int drm_debugfs_remove_file...
2018 Aug 28
4
[PATCH v2 0/4] drm/dp_mst: Add DP MST debugfs nodes for all drivers
This is the next version of my patch series for teaching DRM how to
automatically create debugfs nodes for drivers with MST topologies. This
was originally intended just for nouveau, but has since been expanded to
all DRM drivers.
Changes since previous version:
- Fix documentation error that got noticed by the kbuild bot in
"drm/dp_mst: Pass entire connector to
2013 Oct 06
40
[xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Greetings,
I got the below dmesg and the first bad commit is
commit cf39c8e5352b4fb9efedfe7e9acb566a85ed847c
Merge: 3398d25 23b7eaf
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed Sep 4 17:45:39 2013 -0700
Merge tag ''stable/for-linus-3.12-rc0-tag'' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull Xen updates from Konrad