disp: msm: retry dma buf attach on msm_gem_delayed_import error
In the event when msm_gem_delayed_import returns an error, reset the obj_dirty property to true to allow the buffer to detach and attach again. Change-Id: Ib8da8f237c5a4ab696675cbcf66f1a3dfae02639 Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
@@ -481,6 +481,7 @@ static int msm_gem_get_iova_locked(struct drm_gem_object *obj,
|
||||
if (ret) {
|
||||
DRM_ERROR("delayed dma-buf import failed %d\n",
|
||||
ret);
|
||||
msm_obj->obj_dirty = true;
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user