diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-06-12 09:16:49 -0600 |
---|---|---|
committer | Jordan Crouse <jcrouse@codeaurora.org> | 2017-06-19 15:50:33 -0600 |
commit | ae2cb03114bd664101ff72709a534ed4ddafd012 (patch) | |
tree | d0673e00426daac310ae7d76b9e659b6e81cb865 /fs/squashfs | |
parent | 1db3fbd43a0bbc38494d11c65828e4d8b8eaa315 (diff) |
drm/msm: Attach the MMUs as soon as they are allocated
Currently the normal and secure MMUs are allocated when the
address space is created in msm_gpu_init() but not attached
until the end of adreno_gpu_init(). Since we can't map buffer
objects in the IOMMU without attaching it first this restricts
when we can allocate buffer objects in the sequence.
For arm-smmu based targets there isn't any reason why we can't
immediately attach the MMU after creating the address space -
this makes the whole system immediately available to map memory
and will facilitate moving around global allocations.
Change-Id: Ic0dedbad161396e9d095f3f3d1e4fca2d240a084
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'fs/squashfs')
0 files changed, 0 insertions, 0 deletions