Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79d42e98 authored by Steve Cohen's avatar Steve Cohen
Browse files

disp: msm: attach address space to msm_gem_object



Ensure the msm_gem_object gets a reference to valid address space
so that sg sync can be properly performed.

Change-Id: Iee7cf49689861b863b3b3bfb3b4b9919ad17caa9
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent d1d9ae8b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -348,6 +348,7 @@ static struct msm_gem_vma *add_vma(struct drm_gem_object *obj,
		return ERR_PTR(-ENOMEM);

	vma->aspace = aspace;
	msm_obj->aspace = aspace;

	list_add_tail(&vma->list, &msm_obj->vmas);