drm/msm: Fix wrong pointer check in a5xx_destroy
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 7 Mar 2017 16:50:27 +0000 (09:50 -0700)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:32 +0000 (06:59 -0400)
commit2002c9c33259fd9147ebe949142f0b585bbfe869
tree73585f8b1a4b43c8b5b3dbaca07d9d17b6b9bce0
parent02efb35959b0dd1792d2ce7fd133e3c7d902572b
drm/msm: Fix wrong pointer check in a5xx_destroy

Instead of checking for a5xx_gpu->gpmu_iova during destroy we
accidently check a5xx_gpu->gpmu_bo.

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