drm/amdgpu: Add mem sync flag for IB allocated by SA
stable inclusion from stable-5.10.38 commit 5b02d6efdb1bd2c4b06224067c2a8280f6fa0b79 bugzilla: 51875 CVE: NA -------------------------------- [ Upstream commit 5c88e3b8 ] The buffer of SA bo will be used by many cases. So it's better to invalidate the cache of indirect buffer allocated by SA before commit the IB. Signed-off-by: NJinzhou Su <Jinzhou.Su@amd.com> Reviewed-by: NChristian König <christian.koenig@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录