Re: [PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-25 Thread Daniel Vetter
On Thu, Feb 25, 2021 at 10:52:14AM +0100, Thomas Zimmermann wrote: > Hi > > Am 25.02.21 um 10:43 schrieb Daniel Vetter: > > On Wed, Feb 24, 2021 at 6:14 PM Noralf Trønnes wrote: > > > > > > > > > > > > Den 19.02.2021 14.54, skrev Thomas Zimmermann: > > > > Hi > > > > > > > > Am 19.02.21 um 13

Re: [PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-25 Thread Thomas Zimmermann
Hi Am 25.02.21 um 10:43 schrieb Daniel Vetter: On Wed, Feb 24, 2021 at 6:14 PM Noralf Trønnes wrote: Den 19.02.2021 14.54, skrev Thomas Zimmermann: Hi Am 19.02.21 um 13:22 schrieb Noralf Trønnes: dma-buf importing was reworked in commit 7d2cd72a9aa3 ("drm/shmem-helpers: Simplify dma-buf

Re: [PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-25 Thread Daniel Vetter
On Wed, Feb 24, 2021 at 6:14 PM Noralf Trønnes wrote: > > > > Den 19.02.2021 14.54, skrev Thomas Zimmermann: > > Hi > > > > Am 19.02.21 um 13:22 schrieb Noralf Trønnes: > >> dma-buf importing was reworked in commit 7d2cd72a9aa3 > >> ("drm/shmem-helpers: Simplify dma-buf importing"). Before that co

Re: [PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-25 Thread Thomas Zimmermann
Am 25.02.21 um 10:25 schrieb Noralf Trønnes: Den 25.02.2021 09.12, skrev Thomas Zimmermann: Hi Am 24.02.21 um 18:14 schrieb Noralf Trønnes: Den 19.02.2021 14.54, skrev Thomas Zimmermann: Hi Am 19.02.21 um 13:22 schrieb Noralf Trønnes: dma-buf importing was reworked in commit 7d2cd72a9

Re: [PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-25 Thread Noralf Trønnes
Den 25.02.2021 09.12, skrev Thomas Zimmermann: > Hi > > Am 24.02.21 um 18:14 schrieb Noralf Trønnes: >> >> >> Den 19.02.2021 14.54, skrev Thomas Zimmermann: >>> Hi >>> >>> Am 19.02.21 um 13:22 schrieb Noralf Trønnes: dma-buf importing was reworked in commit 7d2cd72a9aa3 ("drm/shmem-hel

Re: [PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-25 Thread Thomas Zimmermann
Hi Am 24.02.21 um 18:14 schrieb Noralf Trønnes: Den 19.02.2021 14.54, skrev Thomas Zimmermann: Hi Am 19.02.21 um 13:22 schrieb Noralf Trønnes: dma-buf importing was reworked in commit 7d2cd72a9aa3 ("drm/shmem-helpers: Simplify dma-buf importing"). Before that commit drm_gem_shmem_prime_impo

Re: [PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-24 Thread Noralf Trønnes
Den 19.02.2021 14.54, skrev Thomas Zimmermann: > Hi > > Am 19.02.21 um 13:22 schrieb Noralf Trønnes: >> dma-buf importing was reworked in commit 7d2cd72a9aa3 >> ("drm/shmem-helpers: Simplify dma-buf importing"). Before that commit >> drm_gem_shmem_prime_import_sg_table() did set ->pages_use_coun

Re: [PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-19 Thread Thomas Zimmermann
Hi Am 19.02.21 um 13:22 schrieb Noralf Trønnes: dma-buf importing was reworked in commit 7d2cd72a9aa3 ("drm/shmem-helpers: Simplify dma-buf importing"). Before that commit drm_gem_shmem_prime_import_sg_table() did set ->pages_use_count=1 and drm_gem_shmem_vunmap_locked() could call drm_gem_shmem

[PATCH] drm/shmem-helpers: vunmap: Don't put pages for dma-buf

2021-02-19 Thread Noralf Trønnes
dma-buf importing was reworked in commit 7d2cd72a9aa3 ("drm/shmem-helpers: Simplify dma-buf importing"). Before that commit drm_gem_shmem_prime_import_sg_table() did set ->pages_use_count=1 and drm_gem_shmem_vunmap_locked() could call drm_gem_shmem_put_pages() unconditionally. Now without the use c