mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 08:10:11 +01:00
Fixed unlock check on EAGAIN
This commit is contained in:
parent
feff72929e
commit
9ba3aaaa1a
1 changed files with 1 additions and 0 deletions
|
|
@ -751,6 +751,7 @@ static unsigned long drm_bo_vm_nopfn(struct vm_area_struct *vma,
|
|||
err = drm_bo_wait(bo, 0, 1, 0, 1);
|
||||
if (err) {
|
||||
ret = (err != -EAGAIN) ? NOPFN_SIGBUS : NOPFN_REFAULT;
|
||||
bo->priv_flags &= ~_DRM_BO_FLAG_UNLOCKED;
|
||||
goto out_unlock;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue