projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc91657
)
drm: Print device information again in debugfs
author
Daniel Vetter
<
[email protected]
>
Thu, 13 Oct 2016 14:13:44 +0000
(16:13 +0200)
committer
Dave Airlie
<
[email protected]
>
Mon, 17 Oct 2016 06:20:53 +0000
(16:20 +1000)
I was a bit over-eager in my cleanup in
commit
95c081c17f284de50eaca60d4d55643a64d39019
Author: Daniel Vetter <
[email protected]
>
Date: Tue Jun 21 10:54:12 2016 +0200
drm: Move master pointer from drm_minor to drm_device
Noticed by Chris Wilson.
Fixes: 95c081c17f28 ("drm: Move master pointer from drm_minor to drm_device")
Cc: Chris Wilson <
[email protected]
>
Cc: Chris Wilson <
[email protected]
>
Cc: Daniel Vetter <
[email protected]
>
Cc: Emil Velikov <
[email protected]
>
Cc: Julia Lawall <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Tested-by: Chris Wilson <
[email protected]
>
Reviewed-by: Emil Velikov <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/drm_info.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_info.c
b/drivers/gpu/drm/drm_info.c
index 1df2d33d0b40ed43e0cbd4623e014851b34ce581..ffb2ab389d1d14863ed1e69c17419d560910afe5 100644
(file)
--- a/
drivers/gpu/drm/drm_info.c
+++ b/
drivers/gpu/drm/drm_info.c
@@
-54,9
+54,6
@@
int drm_name_info(struct seq_file *m, void *data)
mutex_lock(&dev->master_mutex);
master = dev->master;
- if (!master)
- goto out_unlock;
-
seq_printf(m, "%s", dev->driver->name);
if (dev->dev)
seq_printf(m, " dev=%s", dev_name(dev->dev));
@@
-65,7
+62,6
@@
int drm_name_info(struct seq_file *m, void *data)
if (dev->unique)
seq_printf(m, " unique=%s", dev->unique);
seq_printf(m, "\n");
-out_unlock:
mutex_unlock(&dev->master_mutex);
return 0;