Re: [PATCH 3/9] drm/tegra: gem: Remove premature import restrictions

2019-11-29 Thread Daniel Vetter
On Fri, Nov 29, 2019 at 11:33:45AM +0100, Thierry Reding wrote: > On Fri, Nov 29, 2019 at 10:12:44AM +0100, Daniel Vetter wrote: > > On Thu, Nov 28, 2019 at 04:37:35PM +0100, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > It's not known at import time whether or not all users of a D

Re: [PATCH 3/9] drm/tegra: gem: Remove premature import restrictions

2019-11-29 Thread Thierry Reding
On Fri, Nov 29, 2019 at 10:12:44AM +0100, Daniel Vetter wrote: > On Thu, Nov 28, 2019 at 04:37:35PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > It's not known at import time whether or not all users of a DMA-BUF will > > be able to deal with non-contiguous memory. Each user need

Re: [PATCH 3/9] drm/tegra: gem: Remove premature import restrictions

2019-11-29 Thread Daniel Vetter
On Thu, Nov 28, 2019 at 04:37:35PM +0100, Thierry Reding wrote: > From: Thierry Reding > > It's not known at import time whether or not all users of a DMA-BUF will > be able to deal with non-contiguous memory. Each user needs to verify at > map-time whether it can access the buffer. > > Signed-o

[PATCH 3/9] drm/tegra: gem: Remove premature import restrictions

2019-11-28 Thread Thierry Reding
From: Thierry Reding It's not known at import time whether or not all users of a DMA-BUF will be able to deal with non-contiguous memory. Each user needs to verify at map-time whether it can access the buffer. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/gem.c | 7 --- 1 file ch