summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-04-03 23:39:38 -0400
committerRob Clark <[email protected]>2015-04-05 16:36:34 -0400
commit2e1445c8f3df7608ba4522f8d088170de4ec788c (patch)
tree45b6aca363c7c67d50efb7439f46216f28d92553 /src/gallium/drivers
parent1fee3061d531a9f4068952209926ad518aab07ee (diff)
freedreno: don't bother setting resource timestamps
Waiting on a bo being ready is handled in fd_bo_cpu_prep. No need to keep separate timestamps around. Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_gmem.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c
index 6bdd7704b86..473d2b891e3 100644
--- a/src/gallium/drivers/freedreno/freedreno_gmem.c
+++ b/src/gallium/drivers/freedreno/freedreno_gmem.c
@@ -344,7 +344,6 @@ void
fd_gmem_render_tiles(struct fd_context *ctx)
{
struct pipe_framebuffer_state *pfb = &ctx->framebuffer;
- uint32_t i, timestamp = 0;
bool sysmem = false;
if (ctx->emit_sysmem_prep) {
@@ -396,14 +395,6 @@ fd_gmem_render_tiles(struct fd_context *ctx)
fd_reset_wfi(ctx);
- /* update timestamps on render targets: */
- timestamp = fd_ringbuffer_timestamp(ctx->ring);
- for (i = 0; i < pfb->nr_cbufs; i++)
- if (pfb->cbufs[i])
- fd_resource(pfb->cbufs[i]->texture)->timestamp = timestamp;
- if (pfb->zsbuf)
- fd_resource(pfb->zsbuf->texture)->timestamp = timestamp;
-
/* reset maximal bounds: */
ctx->max_scissor.minx = ctx->max_scissor.miny = ~0;
ctx->max_scissor.maxx = ctx->max_scissor.maxy = 0;