projects
/
GitHub
/
LineageOS
/
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:
f0e73ff
)
drm/tegra: switch to postclose
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 8 May 2017 08:26:31 +0000
(10:26 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 9 May 2017 11:21:54 +0000
(13:21 +0200)
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: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-tegra@vger.kernel.org
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/20170508082633.4214-2-daniel.vetter@ffwll.ch
drivers/gpu/drm/tegra/drm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/drm.c
b/drivers/gpu/drm/tegra/drm.c
index dba4e090d3dff8e07828ae9d293c77f60d8d6e0f..3b419f9dbf4d5fd6a6e2a50f98fa03fc5b299c84 100644
(file)
--- a/
drivers/gpu/drm/tegra/drm.c
+++ b/
drivers/gpu/drm/tegra/drm.c
@@
-804,7
+804,7
@@
static const struct file_operations tegra_drm_fops = {
.llseek = noop_llseek,
};
-static void tegra_drm_p
re
close(struct drm_device *drm, struct drm_file *file)
+static void tegra_drm_p
ost
close(struct drm_device *drm, struct drm_file *file)
{
struct tegra_drm_file *fpriv = file->driver_priv;
struct tegra_drm_context *context, *tmp;
@@
-868,7
+868,7
@@
static struct drm_driver tegra_drm_driver = {
.load = tegra_drm_load,
.unload = tegra_drm_unload,
.open = tegra_drm_open,
- .p
reclose = tegra_drm_pre
close,
+ .p
ostclose = tegra_drm_post
close,
.lastclose = tegra_drm_lastclose,
#if defined(CONFIG_DEBUG_FS)