projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14bf92b
)
r600g: break out of search for reloc bo after finding it.
author
Dave Airlie
<airlied@redhat.com>
Mon, 4 Oct 2010 05:58:39 +0000
(15:58 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 4 Oct 2010 05:58:39 +0000
(15:58 +1000)
this function was taking quite a lot of pointless CPU.
src/gallium/winsys/r600/drm/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/r600_hw_context.c
b/src/gallium/winsys/r600/drm/r600_hw_context.c
index 2ca5a45e03d6f817b88f4ca5b00f3a0ab0f20070..c67c93541a3b573ad9f113bc34c1689cf209e74d 100644
(file)
--- a/
src/gallium/winsys/r600/drm/r600_hw_context.c
+++ b/
src/gallium/winsys/r600/drm/r600_hw_context.c
@@
-715,6
+715,7
@@
void r600_context_bo_reloc(struct r600_context *ctx, u32 *pm4, struct radeon_bo
reloc_id = i * sizeof(struct r600_reloc) / 4;
/* set PKT3 to point to proper reloc */
*pm4 = reloc_id;
+ break;
}
}
if (reloc_id == -1) {