projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
freedreno/drm: handle ancient kernels
[mesa.git]
/
src
/
freedreno
/
drm
/
freedreno_bo.c
diff --git
a/src/freedreno/drm/freedreno_bo.c
b/src/freedreno/drm/freedreno_bo.c
index a4218cd8ffb38957891d7a7524225fc35bb05307..b6d5cdd9bec254ee1f7b5f80e15956e3b0886756 100644
(file)
--- a/
src/freedreno/drm/freedreno_bo.c
+++ b/
src/freedreno/drm/freedreno_bo.c
@@
-236,6
+236,8
@@
fd_bo_mark_for_dump(struct fd_bo *bo)
uint64_t fd_bo_get_iova(struct fd_bo *bo)
{
+ /* ancient kernels did not support this */
+ assert(bo->iova != 0);
return bo->iova;
}