diff options
author | Marek Olšák <[email protected]> | 2016-08-05 01:28:17 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-08-10 01:11:10 +0200 |
commit | 645d395d9af74573ed09223720e799073d34b647 (patch) | |
tree | 0f9404e34d52e377f02b65624993c7af087c53d4 /src/gallium/winsys/radeon/drm/radeon_drm_winsys.h | |
parent | 1e04483c22e372aac8a664fe2b272b10aa774eea (diff) |
winsys/radeon: track the amount of mapped memory
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_drm_winsys.h')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h index fdbaebe67b5..27fbe906f6a 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h @@ -71,6 +71,8 @@ struct radeon_drm_winsys { int num_cs; /* The number of command streams created. */ uint64_t allocated_vram; uint64_t allocated_gtt; + uint64_t mapped_vram; + uint64_t mapped_gtt; uint64_t buffer_wait_time; /* time spent in buffer_wait in ns */ uint64_t num_cs_flushes; |