Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288094
b: refs/heads/master
c: 1f72dde
h: refs/heads/master
v: v3
  • Loading branch information
Inki Dae committed Feb 15, 2012
1 parent d31831a commit af79d51
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19ea1d9d79a81cb42fb8d8f6804cce889594b38f
refs/heads/master: 1f72dde1455b6c0082d3d57223b7545ea6916eb3
12 changes: 12 additions & 0 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,17 @@ static void exynos_drm_preclose(struct drm_device *dev,

}

static void exynos_drm_postclose(struct drm_device *dev, struct drm_file *file)
{
DRM_DEBUG_DRIVER("%s\n", __FILE__);

if (!file->driver_priv)
return;

kfree(file->driver_priv);
file->driver_priv = NULL;
}

static void exynos_drm_lastclose(struct drm_device *dev)
{
DRM_DEBUG_DRIVER("%s\n", __FILE__);
Expand Down Expand Up @@ -193,6 +204,7 @@ static struct drm_driver exynos_drm_driver = {
.unload = exynos_drm_unload,
.preclose = exynos_drm_preclose,
.lastclose = exynos_drm_lastclose,
.postclose = exynos_drm_postclose,
.get_vblank_counter = drm_vblank_count,
.enable_vblank = exynos_drm_crtc_enable_vblank,
.disable_vblank = exynos_drm_crtc_disable_vblank,
Expand Down

0 comments on commit af79d51

Please sign in to comment.