]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Attach the GPU MMU when it is created
authorJordan Crouse <jcrouse@codeaurora.org>
Thu, 27 Jul 2017 16:42:39 +0000 (10:42 -0600)
committerRob Clark <robdclark@gmail.com>
Tue, 22 Aug 2017 17:19:15 +0000 (13:19 -0400)
commitc8f5c728aadd0a1813fe7aeb279bdf825aad5e24
tree60a4b1355404fc5c191d78e4b105a1a5a8086223
parent30df437a9ca27e98b82a17fd49b66070ae0bba61
drm/msm: Attach the GPU MMU when it is created

Currently the GPU MMU is attached in the adreno_gpu code but as
more and more of the GPU initialization moves to the generic
GPU path we have a need to map and use GPU memory earlier and
earlier.  There isn't any reason to defer attaching the MMU
until later so attach it right after the address space is
created so it can be used immediately.

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