kernel_optimize_test/drivers/gpu
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
..
drm drm: prime: fix refcounting on the dmabuf import error path 2013-05-01 09:40:21 +10:00
host1x drm/tegra: don't depend on OF 2013-04-22 12:40:56 +02:00
vga
Makefile gpu: host1x: Add host1x driver 2013-04-22 12:32:40 +02:00