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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user