linux_dsm_epyc7002/drivers/gpu/drm/exynos
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
..
exynos_ddc.c
exynos_drm_buf.c
exynos_drm_buf.h
exynos_drm_connector.c drm/exynos: drm_connector: Fix error check condition 2013-04-17 00:07:27 +09:00
exynos_drm_connector.h
exynos_drm_core.c
exynos_drm_crtc.c
exynos_drm_crtc.h
exynos_drm_dmabuf.c drm: prime: fix refcounting on the dmabuf import error path 2013-05-01 09:40:21 +10:00
exynos_drm_dmabuf.h
exynos_drm_drv.c drm/exynos: added ipp device registration to drm driver 2013-04-29 14:35:32 +09:00
exynos_drm_drv.h drm/exynos: added ipp device registration to drm driver 2013-04-29 14:35:32 +09:00
exynos_drm_encoder.c
exynos_drm_encoder.h
exynos_drm_fb.c
exynos_drm_fb.h
exynos_drm_fbdev.c
exynos_drm_fbdev.h
exynos_drm_fimc.c drm/exynos: add device tree support for fimc ipp driver 2013-04-29 14:35:32 +09:00
exynos_drm_fimc.h
exynos_drm_fimd.c drm/exynos: enable FIMD clocks 2013-04-29 14:35:31 +09:00
exynos_drm_g2d.c drm/exynos: Check g2d cmd list for g2d restrictions 2013-03-20 19:09:11 +09:00
exynos_drm_g2d.h
exynos_drm_gem.c drm/exynos: do not use generic flags to dumb 2013-04-29 14:35:32 +09:00
exynos_drm_gem.h drm/exynos: Add a new function to get gem buffer size 2013-03-20 19:09:11 +09:00
exynos_drm_gsc.c
exynos_drm_gsc.h
exynos_drm_hdmi.c exynos/drm: hdmi: cleanup for hdmi common device registration 2013-04-29 14:35:32 +09:00
exynos_drm_hdmi.h drm/exynos: hdmi: move mode_fixup to drm common hdmi 2013-04-17 00:06:42 +09:00
exynos_drm_iommu.c
exynos_drm_iommu.h
exynos_drm_ipp.c drm/exynos: added ipp device registration to drm driver 2013-04-29 14:35:32 +09:00
exynos_drm_ipp.h
exynos_drm_plane.c
exynos_drm_plane.h
exynos_drm_rotator.c drm/exynos: drm_rotator: Fix incorrect usage of IS_ERR_OR_NULL 2013-04-17 00:07:25 +09:00
exynos_drm_rotator.h
exynos_drm_vidi.c drm/exynos: Replaced kzalloc & memcpy with kmemdup 2013-03-20 19:09:10 +09:00
exynos_drm_vidi.h
exynos_hdmi.c drm/exynos: Remove unnecessary braces in exynos_hdmi.c 2013-04-29 14:40:17 +09:00
exynos_hdmi.h
exynos_hdmiphy.c
exynos_mixer.c drm/exynos: Don't blend mixer layer 0 2013-04-29 14:40:20 +09:00
Kconfig drm/exynos: Select VIDEOMODE_HELPERS for FIMD 2013-04-29 14:35:32 +09:00
Makefile
regs-fimc.h drm/exynos: add device tree support for fimc ipp driver 2013-04-29 14:35:32 +09:00
regs-gsc.h
regs-hdmi.h
regs-mixer.h
regs-rotator.h
regs-vp.h