projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
freedreno: Initialize lower_int64_options to a proper value
[mesa.git]
/
src
/
freedreno
/
drm
/
msm_bo.c
diff --git
a/src/freedreno/drm/msm_bo.c
b/src/freedreno/drm/msm_bo.c
index da2609903c12b762faeb396d2dbf50141fd45bd5..7253a8cc7bd3c4aad86bae4db277a7e17e3c0e33 100644
(file)
--- a/
src/freedreno/drm/msm_bo.c
+++ b/
src/freedreno/drm/msm_bo.c
@@
-112,7
+112,8
@@
static uint64_t msm_bo_iova(struct fd_bo *bo)
int ret;
ret = drmCommandWriteRead(bo->dev->fd, DRM_MSM_GEM_INFO, &req, sizeof(req));
- debug_assert(ret == 0);
+ if (ret)
+ return 0;
return req.value;
}