Merge "drm/msm: Set proper GEM address space range for drm mm allocator"
This commit is contained in:
commit
17d650383a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue