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
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
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
omap_fbdev.c
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
omap_gem.c
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