RE: [PATCH v4 2/3] drm/amdgpu: 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 2/3] drm/amdgpu: fix scatter-gather mapping with user >pages > >Calls to dma_map_sg may return segments / entries than requested "may return less segments/entries" ? ^^^ >if they fa

[PATCH v4 2/3] drm/amdgpu: 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/amd/amdgpu/amdgpu_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri