]> git.baikalelectronics.ru Git - kernel.git/commit
drm/shmem-helper: Only dma-buf imports are private obj
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Jun 2020 11:47:23 +0000 (13:47 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Jun 2020 17:11:51 +0000 (19:11 +0200)
commitf25e72ca3866a94ed50f67cb654f8aee4cb87545
treeab68c878eff6b177239c124334e465f97f3f0fd9
parentc104fa46324710082cfcad5cb02c073e488cf589
drm/shmem-helper: Only dma-buf imports are private obj

I broke that in my refactoring:

commit 98dd52d12c81f4b57968055835946654c432cf88
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri May 29 16:05:42 2020 +0200

    drm/shmem-helpers: Simplify dma-buf importing

I'm not entirely sure of the history here, but I suspect that in one
of the rebases or when applying the patch I moved the hunk from
drm_gem_shmem_prime_import_sg_table(), where it should be, to
drm_gem_shmem_create_with_handle(), which is totally wrong.

Remedy this.

Thanks for Thomas for the crucial hint in debugging this.

Tested-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reported-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 98dd52d12c81 ("drm/shmem-helpers: Simplify dma-buf importing")
Cc: Boris Brezillon <boris.brezillon@collabora.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200616114723.2363268-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_gem_shmem_helper.c