drm/amdgpu: fix context switch
Properly protect the state and also handle submission failures. Signed-off-by: NChristian König <christian.koenig@amd.com> Reviewed-by: NAlex Deucher <alexander.deucher@amd.com> Reviewed-by: NJammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: NMonk Liu <monk.liu@amd.com>
Showing
想要评论请 注册 或 登录