freedreno: debug cleanup

Fix an extra \n and remove a useless trace (I guess after 7yrs it is no
longer actually TODO)

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7342>
This commit is contained in:
Rob Clark 2020-10-22 14:43:10 -07:00 committed by Marge Bot
parent 78b3f58c99
commit a8b9860a97
2 changed files with 1 additions and 5 deletions

View file

@ -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()

View file

@ -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;
}