mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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> Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
This commit is contained in:
parent
d939e53a6b
commit
f7386b4ad7
1 changed files with 1 additions and 0 deletions
|
|
@ -476,6 +476,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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue