Re: [Mesa-dev] [PATCH 2/2] winsys/amdgpu: set AMDGPU_GEM_CREATE_LOCAL if possible

2017-08-29 Thread Marek Olšák
On Tue, Aug 29, 2017 at 4:47 PM, Christian König wrote: > From: Christian König > > When the kernel supports it set the local flag and > stop adding those BOs to the BO list. > > Can probably be optimized much more. > > Signed-off-by: Christian König > --- > src/gallium/winsys/amdgpu/drm/amdgpu

[Mesa-dev] [PATCH 2/2] winsys/amdgpu: set AMDGPU_GEM_CREATE_LOCAL if possible

2017-08-29 Thread Christian König
From: Christian König When the kernel supports it set the local flag and stop adding those BOs to the BO list. Can probably be optimized much more. Signed-off-by: Christian König --- src/gallium/winsys/amdgpu/drm/amdgpu_bo.c | 8 src/gallium/winsys/amdgpu/drm/amdgpu_bo.h | 2 ++ sr