diff options
author | 2019-07-30 11:17:03 +0200 | |
---|---|---|
committer | 2019-07-31 01:26:09 -0500 | |
commit | 67d0859e2758ef992fd32499747ce4b1038a63c0 (patch) | |
tree | 140cdd0ac457f2e39cbb12bf82a03cc35b4c01c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | drm/amd/powerplay: enable SW SMU reset functionality (diff) | |
download | linux-dev-67d0859e2758ef992fd32499747ce4b1038a63c0.tar.xz linux-dev-67d0859e2758ef992fd32499747ce4b1038a63c0.zip |
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 '')
0 files changed, 0 insertions, 0 deletions