Re: [PATCH 1/2] drm/amdgpu: add amdgpu.ttm_dma_allocation parameter

2018-01-25 Thread Christian König
Am 25.01.2018 um 09:35 schrieb Chunming Zhou: On 2018年01月25日 16:29, Christian König wrote: Am 25.01.2018 um 07:50 schrieb Chunming Zhou: it will be used to set ttm dma allocation path. NAK, disabling swiotlb on the kernel command line should have the same effect. The tricky is swiotlb is e

Re: [PATCH 1/2] drm/amdgpu: add amdgpu.ttm_dma_allocation parameter

2018-01-25 Thread Chunming Zhou
On 2018年01月25日 16:34, Michel Dänzer wrote: On 2018-01-25 07:50 AM, Chunming Zhou wrote: it will be used to set ttm dma allocation path. Change-Id: I9fa936db751811779cea66598bba0b8cf4cfd869 Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/

Re: [PATCH 1/2] drm/amdgpu: add amdgpu.ttm_dma_allocation parameter

2018-01-25 Thread Chunming Zhou
On 2018年01月25日 16:29, Christian König wrote: Am 25.01.2018 um 07:50 schrieb Chunming Zhou: it will be used to set ttm dma allocation path. NAK, disabling swiotlb on the kernel command line should have the same effect. The tricky is swiotlb is enabled by default, and there may be some other

Re: [PATCH 1/2] drm/amdgpu: add amdgpu.ttm_dma_allocation parameter

2018-01-25 Thread Michel Dänzer
On 2018-01-25 07:50 AM, Chunming Zhou wrote: > it will be used to set ttm dma allocation path. > > Change-Id: I9fa936db751811779cea66598bba0b8cf4cfd869 > Signed-off-by: Chunming Zhou > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + > drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 > 2 fi

Re: [PATCH 1/2] drm/amdgpu: add amdgpu.ttm_dma_allocation parameter

2018-01-25 Thread Christian König
Am 25.01.2018 um 07:50 schrieb Chunming Zhou: it will be used to set ttm dma allocation path. NAK, disabling swiotlb on the kernel command line should have the same effect. If that doesn't work we really need to thing about how to improve the detection logic. When I have a free minute I w