Re: [PATCH v4 3/3] drm/radeon: fix scatter-gather mapping with user pages

2020-03-25 Thread Alex Deucher
airl...@linux.ie; linux-ker...@vger.kernel.org; bigbeesh...@gmail.com; > > >amd-gfx-requ...@lists.freedesktop.org; alexander.deuc...@amd.com; > > >christian.koe...@amd.com > > >Subject: [PATCH v4 3/3] drm/radeon: fix scatter-gather mapping with user > > >pages &g

Re: [PATCH v4 3/3] drm/radeon: fix scatter-gather mapping with user pages

2020-03-25 Thread Shane Francis
u...@lists.freedesktop.org; alexander.deuc...@amd.com; > >christian.koe...@amd.com > >Subject: [PATCH v4 3/3] drm/radeon: fix scatter-gather mapping with user > >pages > > > >Calls to dma_map_sg may return segments / entries than requested > > "may return l

RE: [PATCH v4 3/3] drm/radeon: fix scatter-gather mapping with user pages

2020-03-25 Thread Ruhl, Michael J
ander.deuc...@amd.com; >christian.koe...@amd.com >Subject: [PATCH v4 3/3] drm/radeon: fix scatter-gather mapping with user >pages > >Calls to dma_map_sg may return segments / entries than requested "may return less segment..." ? ^^^ >if they fall o

[PATCH v4 3/3] drm/radeon: fix scatter-gather mapping with user pages

2020-03-25 Thread Shane Francis
Calls to dma_map_sg may return segments / entries than requested if they fall on page bounderies. The old implementation did not support this use case. Signed-off-by: Shane Francis --- drivers/gpu/drm/radeon/radeon_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers