diff options
author | 2015-11-13 13:04:50 +0100 | |
---|---|---|
committer | 2015-11-16 11:05:59 -0500 | |
commit | 5d82730af746abca2aa74e00de6370d338df7e95 (patch) | |
tree | 14a6e0a63c5a24f3940843a5f66aacda8838343d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | drm/amdgpu: fix incorrect mutex usage v3 (diff) | |
download | linux-rng-5d82730af746abca2aa74e00de6370d338df7e95.tar.xz linux-rng-5d82730af746abca2aa74e00de6370d338df7e95.zip |
drm/amdgpu: fix handling order in scheduler CS
We need to clear parser.ibs and num_ibs before amd_sched_fence_create,
otherwise the IB could be freed twice if fence creates fails.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions