]> 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)
commit23a88f17ade30110f807c3bfa5874a4695808694
tree60a4b1355404fc5c191d78e4b105a1a5a8086223
parent8c28c171ba39a5cdf598b0f1a06386699d395bff
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