commit | 649412069501c1710f42ad50ab420e2fd5eaea70 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Tue Jul 30 11:17:03 2019 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Jul 30 23:48:33 2019 -0500 |
tree | 52e0023de4d9fb3d161bc4121722fc9584fbf1f1 | |
parent | 6e92e156aacce9b5d2f8003b92d71e676e5e9139 [diff] |
drm/amdgpu: fix error handling in amdgpu_cs_process_fence_dep We always need to drop the ctx reference and should check for errors first and then dereference the fence pointer. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>