* Re: [PATCH v2 0/3] AMDGPU / RADEON / DRM Fix mapping of user pages
@ 2020-03-27 22:33 Quoc Kien Ly
0 siblings, 0 replies; 2+ messages in thread
From: Quoc Kien Ly @ 2020-03-27 22:33 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 85 bytes --]
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
[-- Attachment #1.2: Type: text/html, Size: 1686 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2 0/3] AMDGPU / RADEON / DRM Fix mapping of user pages
2020-03-23 20:51 [PATCH 0/2] AMDGPU " Shane Francis
@ 2020-03-23 23:51 ` Shane Francis
0 siblings, 0 replies; 2+ messages in thread
From: Shane Francis @ 2020-03-23 23:51 UTC (permalink / raw)
To: dri-devel; +Cc: bigbeeshane
This patch set is to fix a bug in amdgpu / radeon drm that results in
a crash when dma_map_sg combines segments. There are 2 shortfalls
in the current kernel.
1) AMDGPU / RADEON assumes that the requested and created segments
from dma_map_sg are equal
2) drm_prime does not allow for setting the segment length
via the correct dma macro
Shane Francis (3):
drm/prime: correct logic for mapping sg to arrays
drm/amdgpu: fix scatter-gather mapping with user pages
drm/radeon: fix scatter-gather mapping with user pages
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 +--
drivers/gpu/drm/drm_prime.c | 71 +++++++++++++++++++++----
drivers/gpu/drm/radeon/radeon_ttm.c | 7 +--
include/drm/drm_prime.h | 5 ++
4 files changed, 75 insertions(+), 15 deletions(-)
--
2.26.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-30 7:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-27 22:33 [PATCH v2 0/3] AMDGPU / RADEON / DRM Fix mapping of user pages Quoc Kien Ly
-- strict thread matches above, loose matches on Subject: below --
2020-03-23 20:51 [PATCH 0/2] AMDGPU " Shane Francis
2020-03-23 23:51 ` [PATCH v2 0/3] AMDGPU / RADEON " Shane Francis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).