drm/msm: Put back the vaddr in submit_reloc()
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 20 Dec 2016 15:54:30 +0000 (08:54 -0700)
committerRob Clark <robdclark@gmail.com>
Thu, 29 Dec 2016 20:02:59 +0000 (15:02 -0500)
commit6490abc4bc35fa4f3bdb9c7e49096943c50e29ea
tree0faf0ea07cc49abea32d29302ef4fa48b5b11c67
parent88b333b0ed790f9433ff542b163bf972953b74d3
drm/msm: Put back the vaddr in submit_reloc()

The error cases in submit_reloc() need to put back the virtual
address of the bo before failling. Add a single failure path
for the function.

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