I think the other call to drm_prime_sg_to_page_addr_arrays in amdgpu needs a similar fix.
Alex
Looking at the other call in amdgpu tmm it does not seem to undergo the segment remapping that happens in dma_map_sg, so should be safe.
I will port the changes to drm/radeon as that seems to use the same logic for user pages.
Regards : Shane Francis