diff options
author | Rob Clark <robclark@freedesktop.org> | 2016-02-13 13:46:05 -0500 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2016-02-17 10:41:55 -0500 |
commit | 87eb4067912921ee3a260792b82fa5d4501ae8a9 (patch) | |
tree | 8495dde8dbc966a5f04da31a600d8992a66e0d7c /src/gallium | |
parent | 0e91dccf9cd2894e46028bac39caa54d80e39e8e (diff) |
freedreno/query: fix refcnt'ing issue
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_query_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_query_hw.c b/src/gallium/drivers/freedreno/freedreno_query_hw.c index fe985d57d13..433c678c6d9 100644 --- a/src/gallium/drivers/freedreno/freedreno_query_hw.c +++ b/src/gallium/drivers/freedreno/freedreno_query_hw.c @@ -330,7 +330,7 @@ prepare_sample(struct fd_hw_sample *samp, struct fd_bo *bo, assert(samp->tile_stride == tile_stride); return; } - samp->bo = bo; + samp->bo = fd_bo_ref(bo); samp->num_tiles = num_tiles; samp->tile_stride = tile_stride; } |