]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Make sure to detach the MMU during GPU cleanup
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 6 Feb 2017 17:39:29 +0000 (10:39 -0700)
committerRob Clark <robdclark@gmail.com>
Mon, 3 Apr 2017 20:09:37 +0000 (16:09 -0400)
commit70fb94cb3c53c98cfc166016a0b13a9d2e25e9cf
tree8a7ee848bf64b8389e347270c4ae3a15e9ada63b
parentd622cf57a66c36f547d317137bf8e988d66b4966
drm/msm: Make sure to detach the MMU during GPU cleanup

We should be detaching the MMU before destroying the address
space. To do this cleanly, the detach has to happen in
adreno_gpu_cleanup() because it needs access to structs
in adreno_gpu.c.  Plus it is better symmetry to have
the attach and detach at the same code level.

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