]> 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)
commit436d7ffa6175a4746a3fb87c1e35234081aaa874
tree8a7ee848bf64b8389e347270c4ae3a15e9ada63b
parentc9c55ba55e24113020566115e9ec9f9d42b359b6
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