Re: [PATCH] drm/amdkfd: Correct the migration DMA map direction

2024-12-04 Thread Felix Kuehling
On 2024-12-04 02:42, Prike Liang wrote: The SVM DMA device map direction should be set the same as the DMA unmap setting, otherwise the DMA core will report the following warning. Before finialize this solution, there're some discussion on the DMA mapping type(stream-based or coherent) in this

[PATCH] drm/amdkfd: Correct the migration DMA map direction

2024-12-03 Thread Prike Liang
The SVM DMA device map direction should be set the same as the DMA unmap setting, otherwise the DMA core will report the following warning. Before finialize this solution, there're some discussion on the DMA mapping type(stream-based or coherent) in this KFD migration case, followed by https://lor