Merge "disp: msm: get and release lock on msm_obj before put iova"
Dieser Commit ist enthalten in:

committet von
Gerrit - the friendly Code Review server

Commit
685240ed01
@@ -527,8 +527,11 @@ void msm_gem_aspace_domain_attach_detach_update(
|
||||
*/
|
||||
list_for_each_entry(msm_obj, &aspace->active_list, iova_list) {
|
||||
obj = &msm_obj->base;
|
||||
if (obj->import_attach)
|
||||
if (obj->import_attach) {
|
||||
mutex_lock(&msm_obj->lock);
|
||||
put_iova(obj);
|
||||
mutex_unlock(&msm_obj->lock);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
/* map active buffers */
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren