[PATCH 2/2] drm/amdgpu: fix scatter-gather mapping with user pages

Shane Francis bigbeeshane at gmail.com
Mon Mar 23 22:38:56 UTC 2020


> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200323/81f94a74/attachment-0001.htm>


More information about the dri-devel mailing list