소스 검색

v3d: Fix BO stats accounting for imported buffers.

tags/19.0-branchpoint
Eric Anholt 6 년 전
부모
커밋
ac333ffa59
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      src/gallium/drivers/v3d/v3d_bufmgr.c

+ 3
- 0
src/gallium/drivers/v3d/v3d_bufmgr.c 파일 보기

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

Loading…
취소
저장