drm/msm: fix some crashes in submit fail path
authorRob Clark <robdclark@gmail.com>
Tue, 24 May 2016 22:43:26 +0000 (18:43 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 4 Jun 2016 18:45:49 +0000 (14:45 -0400)
commitba344afd667a6f1c6bf7c53e08fc16bd84fa4df7
tree8569e3070bfa246bf9a81d59e27878f4aabafaea
parent69a834c28fb514403eb91a4f0120da214a52e056
drm/msm: fix some crashes in submit fail path

If submit fails, before fence is created or before submit is added to
submit-list, then unitialized fields cause problems in the clean-up
path.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem_submit.c