diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2020-06-22 10:55:38 -0600 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-06-22 12:12:29 -0700 |
commit | 30480e6ed508e3ff7a3e03c975696aa5196ffe8a (patch) | |
tree | 2c674e3e0b4522de3962a8dd6d462d8a1f5f3d64 /drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | |
parent | drm/msm: Fix setup of a6xx create_address_space. (diff) | |
download | linux-dev-30480e6ed508e3ff7a3e03c975696aa5196ffe8a.tar.xz linux-dev-30480e6ed508e3ff7a3e03c975696aa5196ffe8a.zip |
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/mdp4/mdp4_kms.c')
-rw-r--r-- | drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c b/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c index 08897184b1d9..fc6a3f8134c7 100644 --- a/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c +++ b/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c @@ -514,7 +514,7 @@ struct msm_kms *mdp4_kms_init(struct drm_device *dev) config->iommu); aspace = msm_gem_address_space_create(mmu, - "mdp4", 0x1000, 0xffffffff); + "mdp4", 0x1000, 0x100000000 - 0x1000); if (IS_ERR(aspace)) { if (!IS_ERR(mmu)) |