This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
v3d: Fix BO stats accounting for imported buffers.
tags/19.0-branchpoint
Eric Anholt
6 years ago
parent
060575bea8
commit
ac333ffa59
1 changed files
with
3 additions
and
0 deletions
Split View
Show Diff Stats
3
0
src/gallium/drivers/v3d/v3d_bufmgr.c
+ 3
- 0
src/gallium/drivers/v3d/v3d_bufmgr.c
View File
@@ -374,6 +374,9 @@ v3d_bo_open_handle(struct v3d_screen *screen,
util_hash_table_set(screen->bo_handles, (void *)(uintptr_t)handle, bo);
screen->bo_count++;
screen->bo_size += bo->size;
done:
mtx_unlock(&screen->bo_handles_mutex);
return bo;
Write
Preview
Loading…
Cancel
Save