projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b93658f
)
drm/vgem: switch to postclose
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 8 Mar 2017 14:12:50 +0000
(15:12 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 14 Mar 2017 13:38:33 +0000
(14:38 +0100)
I didn't spot anything that would require ordering here (well not
anywhere else either), and I'm trying to unify at least modern drivers
on one close hook.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/20170308141257.12119-18-daniel.vetter@ffwll.ch
drivers/gpu/drm/vgem/vgem_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/vgem/vgem_drv.c
b/drivers/gpu/drm/vgem/vgem_drv.c
index 477e07f0ecb674e906994595e60a948e79896c30..461712e2f0d12f472f97d63869c36da954714a99 100644
(file)
--- a/
drivers/gpu/drm/vgem/vgem_drv.c
+++ b/
drivers/gpu/drm/vgem/vgem_drv.c
@@
-103,7
+103,7
@@
static int vgem_open(struct drm_device *dev, struct drm_file *file)
return 0;
}
-static void vgem_p
re
close(struct drm_device *dev, struct drm_file *file)
+static void vgem_p
ost
close(struct drm_device *dev, struct drm_file *file)
{
struct vgem_file *vfile = file->driver_priv;
@@
-302,7
+302,7
@@
static int vgem_prime_mmap(struct drm_gem_object *obj,
static struct drm_driver vgem_driver = {
.driver_features = DRIVER_GEM | DRIVER_PRIME,
.open = vgem_open,
- .p
reclose = vgem_pre
close,
+ .p
ostclose = vgem_post
close,
.gem_free_object_unlocked = vgem_gem_free_object,
.gem_vm_ops = &vgem_gem_vm_ops,
.ioctls = vgem_ioctls,