[PATCH] drm/amdgpu: add pipeline sync while vmid switch in same ctx

2016-06-02 Thread Alex Deucher
From: Chunming Zhou Since vmid-mgr supports vmid sharing in one vm, the same ctx could get different vmids for two emits without vm flush, vm_flush could be done in another ring. Signed-off-by: Chunming Zhou Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu

[PATCH] drm/amdgpu: add pipeline sync while vmid switch in same ctx

2016-05-24 Thread Alex Deucher
From: Chunming Zhou Since vmid-mgr supports vmid sharing in one vm, the same ctx could get different vmids for two emits without vm flush, vm_flush could be done in another ring. Signed-off-by: Chunming Zhou Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu