Hi, 2012/9/6 Mandeep Singh Baines <msb at chromium.org>: > The double invocations are incorrect but seem to be safe so I don't > think this will fix any bugs. > > Before: > > [ 7.639366] drm_prime_init_file ee3675d0 > [ 7.639377] drm_prime_init_file ee3675d0 > [ 7.639507] drm_prime_destroy_file ee3675d0 > [ 7.639518] drm_prime_destroy_file ee3675d0 > [ 7.639802] drm_prime_init_file ee372390 > [ 7.639810] drm_prime_init_file ee372390 > [ 8.473316] drm_prime_init_file ee356390 > [ 8.473331] drm_prime_init_file ee356390 > > After: > > [ 6.363842] drm_prime_init_file edc2e5d0 > [ 6.363994] drm_prime_destroy_file edc2e5d0 > [ 6.364260] drm_prime_init_file edc2e750 > [ 8.004837] drm_prime_init_file ee36ded0 > > Signed-off-by: Mandeep Singh Baines <msb at chromium.org> > CC: St?phane Marchesin <marcheu at chromium.org> > CC: Pawel Osciak <posciak at google.com> > CC: Inki Dae <inki.dae at samsung.com> > CC: Joonyoung Shim <jy0922.shim at samsung.com> > CC: Seung-Woo Kim <sw0312.kim at samsung.com> > CC: Kyungmin Park <kyungmin.park at samsung.com> > CC: David Airlie <airlied at linux.ie> > CC: dri-devel at lists.freedesktop.org
remove all CCs and can you send it again using text mode? your patch is messed up when I try to get patch file. Thanks. Inki Dae > --- > drivers/gpu/drm/exynos/exynos_drm_drv.c | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c > b/drivers/gpu/drm/exynos/exynos_drm_drv.c > index ebacec6..a27b8ff 100644 > --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c > +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c > @@ -160,7 +160,6 @@ static int exynos_drm_open(struct drm_device *dev, struct > drm_file *file) > if (!file_priv) > return -ENOMEM; > > - drm_prime_init_file_private(&file->prime); > file->driver_priv = file_priv; > > return exynos_drm_subdrv_open(dev, file); > @@ -184,7 +183,6 @@ static void exynos_drm_preclose(struct drm_device *dev, > e->base.destroy(&e->base); > } > } > - drm_prime_destroy_file_private(&file->prime); > spin_unlock_irqrestore(&dev->event_lock, flags); > > exynos_drm_subdrv_close(dev, file); > -- > 1.7.7.3 > > _______________________________________________ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel