diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2020-06-22 19:55:38 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-06-22 22:12:29 +0300 |
commit | 30480e6ed508e3ff7a3e03c975696aa5196ffe8a (patch) | |
tree | 2c674e3e0b4522de3962a8dd6d462d8a1f5f3d64 /drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | |
parent | 078e8f8ce8ad96fdcb5ca4dc8714d266a77eefc3 (diff) | |
download | linux-30480e6ed508e3ff7a3e03c975696aa5196ffe8a.tar.xz |
drm/msm: Fix up the rest of the messed up address sizes
msm_gem_address_space_create() changed to take a start/length instead
of a start/end for the iova space but all of the callers were just
cut and pasted from the old usage. Most of the mistakes have been fixed
up so just catch up the rest.
Fixes: ccac7ce373c1 ("drm/msm: Refactor address space initialization")
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c index b8615d4fe8a3..680527e28d09 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c @@ -780,7 +780,7 @@ static int _dpu_kms_mmu_init(struct dpu_kms *dpu_kms) mmu = msm_iommu_new(dpu_kms->dev->dev, domain); aspace = msm_gem_address_space_create(mmu, "dpu1", - 0x1000, 0xfffffff); + 0x1000, 0x100000000 - 0x1000); if (IS_ERR(aspace)) { mmu->funcs->destroy(mmu); |