drm/msm: Leave inuse count intact on map failure
authorAkhil P Oommen <akhilpo@codeaurora.org>
Tue, 22 Sep 2020 14:55:27 +0000 (20:25 +0530)
committerRob Clark <robdclark@chromium.org>
Tue, 22 Sep 2020 15:28:15 +0000 (08:28 -0700)
commit63ca94adc03cff509d20b1306e48afccb44d5bdf
tree269fc4046f1e2872768a1457387ebc92374fafec
parent9d8baa2bf224f6f010644b2a60a3ca73d829663e
drm/msm: Leave inuse count intact on map failure

Leave the inuse count intact on map failure to keep the accounting
accurate.

Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gem_vma.c