diff options
author | Christian König <christian.koenig@amd.com> | 2019-07-30 11:17:03 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-31 01:26:09 -0500 |
commit | 67d0859e2758ef992fd32499747ce4b1038a63c0 (patch) | |
tree | 140cdd0ac457f2e39cbb12bf82a03cc35b4c01c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | f0bc1ee473fefd4d9f2ace9fad1cefdc0b7f6fdd (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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions