projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm: Move master pointer from drm_minor to drm_device
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
drm_lock.c
diff --git
a/drivers/gpu/drm/drm_lock.c
b/drivers/gpu/drm/drm_lock.c
index
0fb8f9e
..
ae0a4d3
100644
(file)
--- a/
drivers/gpu/drm/drm_lock.c
+++ b/
drivers/gpu/drm/drm_lock.c
@@
-334,7
+334,7
@@
void drm_legacy_lock_release(struct drm_device *dev, struct file *filp)
struct drm_file *file_priv = filp->private_data;
/* if the master has gone away we can't do anything with the lock */
- if (!
file_priv->minor
->master)
+ if (!
dev
->master)
return;
if (drm_legacy_i_have_hw_lock(dev, file_priv)) {