diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c index 456800d58fc..20ee0191832 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.c +++ b/src/gallium/drivers/freedreno/freedreno_context.c @@ -54,7 +54,7 @@ fd_context_flush(struct pipe_context *pctx, struct pipe_fence_handle **fencep, // TODO we want to lookup batch if it exists, but not create one if not. struct fd_batch *batch = fd_context_batch(ctx); - DBG("%p: flush: flags=%x\n", ctx->batch, flags); + DBG("%p: flush: flags=%x", ctx->batch, flags); /* In some sequence of events, we can end up with a last_fence that is * not an "fd" fence, which results in eglDupNativeFenceFDANDROID() diff --git a/src/gallium/drivers/freedreno/freedreno_surface.c b/src/gallium/drivers/freedreno/freedreno_surface.c index 602471b24b2..3a6617cd0ed 100644 --- a/src/gallium/drivers/freedreno/freedreno_surface.c +++ b/src/gallium/drivers/freedreno/freedreno_surface.c @@ -36,7 +36,6 @@ fd_create_surface(struct pipe_context *pctx, struct pipe_resource *ptex, const struct pipe_surface *surf_tmpl) { -// struct fd_resource* tex = fd_resource(ptex); struct fd_surface* surface = CALLOC_STRUCT(fd_surface); if (!surface) @@ -64,9 +63,6 @@ fd_create_surface(struct pipe_context *pctx, psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer; } - // TODO - DBG("TODO: %ux%u", psurf->width, psurf->height); - return &surface->base; }