summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-11-13 13:04:50 +0100
committerAlex Deucher <alexander.deucher@amd.com>2015-11-16 11:05:59 -0500
commit5d82730af746abca2aa74e00de6370d338df7e95 (patch)
tree14a6e0a63c5a24f3940843a5f66aacda8838343d /drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
parente284022163716ecf11c37fd1057c35d689ef2c11 (diff)
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_sa.c')
0 files changed, 0 insertions, 0 deletions