Merge "drm/msm: Set proper GEM address space range for drm mm allocator"

This commit is contained in:
Linux Build Service Account 2017-12-18 15:25:02 -08:00 committed by Gerrit - the friendly Code Review server
commit 17d650383a
2 changed files with 2 additions and 2 deletions

View file

@ -585,7 +585,7 @@ int msm_gem_get_iova(struct drm_gem_object *obj,
obj_remove_domain(domain);
mutex_unlock(&msm_obj->lock);
return 0;
return ret;
}
/* get iova without taking a reference, used in places where you have

View file

@ -60,7 +60,7 @@ msm_gem_address_space_new(struct msm_mmu *mmu, const char *name,
if (aspace->va_len)
drm_mm_init(&aspace->mm, (start >> PAGE_SHIFT),
(end >> PAGE_SHIFT) - 1);
(aspace->va_len >> PAGE_SHIFT));
kref_init(&aspace->kref);