Re: [PATCH] drm/amdgpu: Add mem sync flag for IB allocated by SA

2021-04-20 Thread Huang Rui
On Tue, Apr 20, 2021 at 04:34:18PM +0800, Christian König wrote: > Am 20.04.21 um 10:27 schrieb Jinzhou Su: > > The buffer of SA bo will be used by many cases. So better > > to flush the cache of indirect buffer allocated by SA before > > commit the IB. > > > > Signed-off-by: Jinzhou Su > > --- >

Re: [PATCH] drm/amdgpu: Add mem sync flag for IB allocated by SA

2021-04-20 Thread Christian König
Am 20.04.21 um 10:27 schrieb Jinzhou Su: The buffer of SA bo will be used by many cases. So better to flush the cache of indirect buffer allocated by SA before commit the IB. Signed-off-by: Jinzhou Su --- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 ++ 1 file changed, 2 insertions(+) diff --

[PATCH] drm/amdgpu: Add mem sync flag for IB allocated by SA

2021-04-20 Thread Jinzhou Su
The buffer of SA bo will be used by many cases. So better to flush the cache of indirect buffer allocated by SA before commit the IB. Signed-off-by: Jinzhou Su --- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c