aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2015-11-13 12:04:50 +0000
committerAlex Deucher <[email protected]>2015-11-16 16:05:59 +0000
commit5d82730af746abca2aa74e00de6370d338df7e95 (patch)
tree14a6e0a63c5a24f3940843a5f66aacda8838343d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdgpu: fix incorrect mutex usage v3 (diff)
downloadkernel-5d82730af746abca2aa74e00de6370d338df7e95.tar.gz
kernel-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 <[email protected]> Reviewed-by: Chunming Zhou <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions