Do not need to record a part of driver statistics because they are not exposed by NV50.
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- src/gallium/drivers/nouveau/nv50/nv50_miptree.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_miptree.c b/src/gallium/drivers/nouveau/nv50/nv50_miptree.c index 744a3a5..c123458 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_miptree.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_miptree.c @@ -168,10 +168,6 @@ nv50_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) nouveau_fence_ref(NULL, &mt->base.fence); nouveau_fence_ref(NULL, &mt->base.fence_wr); - NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_count, -1); - NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_bytes, - -(uint64_t)mt->total_size); - FREE(mt); } @@ -430,8 +426,6 @@ nv50_miptree_from_handle(struct pipe_screen *pscreen, mt->level[0].offset = 0; mt->level[0].tile_mode = mt->base.bo->config.nv50.tile_mode; - NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_count, 1); - /* no need to adjust bo reference count */ return &mt->base.base; } -- 2.4.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev