https://bugzilla.kernel.org/show_bug.cgi?id=206895
--- Comment #16 from bigbeesh...@gmail.com ---
I'll update drm_prime_sg_to_page_addr_arrays to support both the current logic
and dma mapped logic and get a patch up this evening.
That way at least nothing else get broke
--
You are receiving
https://bugzilla.kernel.org/show_bug.cgi?id=206895
--- Comment #15 from Alex Deucher (alexdeuc...@gmail.com) ---
General comment about the patch, you can make amdgpu_ttm_dma_sg_to_arrays
static since it's only used within amdgpu_ttm.c,
--
You are receiving this mail because:
You are watching
https://bugzilla.kernel.org/show_bug.cgi?id=206895
--- Comment #14 from Alex Deucher (alexdeuc...@gmail.com) ---
True. For now just send out the patch and we can discuss further on the list.
Thanks!
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=206895
--- Comment #13 from bigbeesh...@gmail.com ---
Indeed, however they may not have pushed the SG lists via dma map in the same
way as amdgpu.
In that case getting lengths from dma_map_sg would probably cause other issues
--
You are receiving
https://bugzilla.kernel.org/show_bug.cgi?id=206895
--- Comment #12 from Alex Deucher (alexdeuc...@gmail.com) ---
It's likely other drivers that rely on these helpers would be similarly broken.
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=206895
--- Comment #11 from Alex Deucher (alexdeuc...@gmail.com) ---
Thanks for the patch. Please fix drm_prime_sg_to_page_addr_arrays() directly
and send the patch to dri-devel@lists.freedesktop.org . Also please add your
Signed-off_by.
--
You are
https://bugzilla.kernel.org/show_bug.cgi?id=206895
--- Comment #10 from bigbeesh...@gmail.com ---
Created attachment 288017
--> https://bugzilla.kernel.org/attachment.cgi?id=288017=edit
amdgpu_possible_patch
drm_prime_sg_to_page_addr_arrays does not support cases when the number of
segments
https://bugzilla.kernel.org/show_bug.cgi?id=206895
bigbeesh...@gmail.com changed:
What|Removed |Added
Kernel Version|5.5.10 |5.5.10 & 5.6.0-rc6