projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
freedreno: Initialize the bo's iova at creation time.
[mesa.git]
/
src
/
gallium
/
drivers
/
freedreno
/
freedreno_state.c
diff --git
a/src/gallium/drivers/freedreno/freedreno_state.c
b/src/gallium/drivers/freedreno/freedreno_state.c
index 698ca82e521437515d7327d5a52c608c8d2b77fd..a72958a1bc8a158a2dad80db348f88516e7247c4 100644
(file)
--- a/
src/gallium/drivers/freedreno/freedreno_state.c
+++ b/
src/gallium/drivers/freedreno/freedreno_state.c
@@
-588,10
+588,6
@@
fd_set_global_binding(struct pipe_context *pctx,
for (unsigned i = 0; i < count; i++) {
unsigned n = i + first;
- if (so->buf[n]) {
- struct fd_resource *rsc = fd_resource(so->buf[n]);
- fd_bo_put_iova(rsc->bo);
- }
pipe_resource_reference(&so->buf[n], NULL);
}