Re: [PATCH 2/4] drm/prime: document that use the page array is deprecated

2020-10-09 Thread Daniel Vetter
On Fri, Oct 09, 2020 at 09:36:41AM +0200, Christian König wrote: > Am 08.10.20 um 16:14 schrieb Daniel Vetter: > > On Thu, Oct 08, 2020 at 04:09:14PM +0200, Daniel Vetter wrote: > > > On Thu, Oct 08, 2020 at 01:23:40PM +0200, Christian König wrote: > > > > We have reoccurring requests on this so be

Re: [PATCH 2/4] drm/prime: document that use the page array is deprecated

2020-10-09 Thread Christian König
Am 08.10.20 um 16:14 schrieb Daniel Vetter: On Thu, Oct 08, 2020 at 04:09:14PM +0200, Daniel Vetter wrote: On Thu, Oct 08, 2020 at 01:23:40PM +0200, Christian König wrote: We have reoccurring requests on this so better document that this approach doesn't work and dma_buf_mmap() needs to be used

Re: [PATCH 2/4] drm/prime: document that use the page array is deprecated

2020-10-08 Thread Daniel Vetter
On Thu, Oct 08, 2020 at 04:09:14PM +0200, Daniel Vetter wrote: > On Thu, Oct 08, 2020 at 01:23:40PM +0200, Christian König wrote: > > We have reoccurring requests on this so better document that > > this approach doesn't work and dma_buf_mmap() needs to be used instead. > > > > Signed-off-by: Chri

Re: [PATCH 2/4] drm/prime: document that use the page array is deprecated

2020-10-08 Thread Daniel Vetter
On Thu, Oct 08, 2020 at 01:23:40PM +0200, Christian König wrote: > We have reoccurring requests on this so better document that > this approach doesn't work and dma_buf_mmap() needs to be used instead. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/drm_prime.c | 7 ++- > 1 file c

[PATCH 2/4] drm/prime: document that use the page array is deprecated

2020-10-08 Thread Christian König
We have reoccurring requests on this so better document that this approach doesn't work and dma_buf_mmap() needs to be used instead. Signed-off-by: Christian König --- drivers/gpu/drm/drm_prime.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_prime.