summaryrefslogtreecommitdiff
path: root/drivers/gpu/msm/adreno_profile.c
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2015-12-03 08:38:11 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:16:32 -0700
commit531fca9ffc17f68c49be65beafc0fc5138a21d2d (patch)
treed2d481cd63bb2bc0d0b10809ba013c4bf885fc59 /drivers/gpu/msm/adreno_profile.c
parent7359adc0bfd3d94e4aa8f66b7f18aa276bffa598 (diff)
msm: kgsl: Move global pagetable entries to the IOMMU driver
Global pagetable entries are exclusively for IOMMU and per-process pagetables. Move all the code out of the generic driver and into the IOMMU driver and clean up a bunch of stuff along the way. Change-Id: Ic0dedbadbb368bb2a289ba4393f729d7e6066a17 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'drivers/gpu/msm/adreno_profile.c')
-rw-r--r--drivers/gpu/msm/adreno_profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/msm/adreno_profile.c b/drivers/gpu/msm/adreno_profile.c
index 5d5eedcaa798..1f73db223a0a 100644
--- a/drivers/gpu/msm/adreno_profile.c
+++ b/drivers/gpu/msm/adreno_profile.c
@@ -1108,7 +1108,7 @@ void adreno_profile_close(struct adreno_device *adreno_dev)
profile->log_tail = NULL;
profile->shared_head = 0;
profile->shared_tail = 0;
- kgsl_free_global(&profile->shared_buffer);
+ kgsl_free_global(&adreno_dev->dev, &profile->shared_buffer);
profile->shared_size = 0;
profile->assignment_count = 0;