diff options
| author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-04-07 15:01:41 -0600 |
|---|---|---|
| committer | Jordan Crouse <jcrouse@codeaurora.org> | 2017-04-26 12:08:07 -0600 |
| commit | 4e061d8b6002fbb9c124a89f4952cebda0f0450d (patch) | |
| tree | adae0f84275392b51ca3fb27093e62fd70d0cd15 /net/unix/af_unix.c | |
| parent | 1576b22ae914d60cd762fd6ef6e47012cb544820 (diff) | |
drm/msm: Refactor GPU IOMMU
Very soon we will be adding support for secure domains and so a bit of
refactoring is needed the GPU IOMMU code:
* Add support for directly probing the context bank device at create
instead of at attach. This makes it a little bit easier to directly
associate a mmu device with a specific context bank.
* Specify the domain type at create time. Add a new domain type
MSM_DOMAIN_USER to associate the user domain with the gfx3d_user
context bank. Also add MSM_DOMAIN_DEFAULT with no context bank
for legacy devices (read MDP4) with only one context bank
to attach to the parent device. Adding a domain type saves us from
having to create N entry points for each domain type.
Note that dynamic domains stay with their own initalization function.
This is because dynamic domains are cloned from the parent domain
so the semantics are too different to try to smash into the generic
functions.
Change-Id: Ic0dedbad41692e776cddc72cda653ae637f9ec77
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
