linux_dsm_epyc7002/drivers/gpu/drm/omapdrm
Imre Deak 011c2282c7 drm: prime: fix refcounting on the dmabuf import error path
In commit be8a42ae60 we inroduced a refcount problem, where on the
drm_gem_prime_fd_to_handle() error path we'll call dma_buf_put() for
self imported dma buffers.

Fix this by taking a reference on the dma buffer in the .gem_import
hook instead of assuming the caller had taken one. Besides fixing the
bug this is also more logical.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-05-01 09:40:21 +10:00
..
Kconfig Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
Makefile
omap_connector.c drm/omap: Make fixed resolution panels work 2013-04-11 13:25:52 +03:00
omap_crtc.c drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_debugfs.c
omap_dmm_priv.h
omap_dmm_tiler.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
omap_dmm_tiler.h
omap_drv.c drm/omap: add statics to a few structs 2013-04-11 13:26:06 +03:00
omap_drv.h drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_encoder.c drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_fb.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
omap_fbdev.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
omap_gem_dmabuf.c drm: prime: fix refcounting on the dmabuf import error path 2013-05-01 09:40:21 +10:00
omap_gem_helpers.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
omap_gem.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
omap_irq.c drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_plane.c drm/omap: Take a fb reference in omap_plane_update() 2013-04-11 13:25:57 +03:00
tcm-sita.c
tcm-sita.h
tcm.h
TODO