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: Steve Cohen <cohens@codeaurora.org>
This commit is contained in:
Steve Cohen
2019-10-07 16:55:06 -04:00
parent d1d9ae8b19
commit 79d42e98f1

View File

@@ -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);