projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
327e655
)
Don't forget to update buffer offset after validation.
author
Eric Anholt
<eric@anholt.net>
Thu, 16 Aug 2007 21:34:24 +0000
(14:34 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 16 Aug 2007 21:34:24 +0000
(14:34 -0700)
src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
b/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
index 6e29199cd8085c64b87a565174838bfaf2f04d15..7f1e10fbc8b80d42a9a33eecba42b14fc96f7148 100644
(file)
--- a/
src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
+++ b/
src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
@@
-262,6
+262,8
@@
dri_ttm_validate(dri_bo *buf, unsigned int flags)
/* XXX: add to fence list for sanity checking */
}
+ buf->offset = ttm_buf->drm_bo.offset;
+
return err;
}