Re: [PATCH] amdgpu: use dma-resv API instead of manual kmalloc

2020-01-25 Thread Stephen Kitt
And of course I forgot this is an internal API, so this doesn't work without some of other stuff which isn't ready. Please ignore... Regards, Stephen Le 25/01/2020 12:46, Stephen Kitt a écrit : Instead of hand-coding the dma_resv_list allocation, use dma_resv_list_alloc, which

[PATCH] amdgpu: use dma-resv API instead of manual kmalloc

2020-01-25 Thread Stephen Kitt
which touches shared_max. This suggests we'd probably be better off without it!) Signed-off-by: Stephen Kitt --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drive