diff options
author | Marek Olšák <marek.olsak@amd.com> | 2014-03-02 00:56:18 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2014-03-03 10:54:19 +0100 |
commit | 67e8e3f970ad747d3c854fb40f8ec0cecedd9089 (patch) | |
tree | 9bbf509dfde9cd4a11fb35aca45a2ac3f35c7b69 /Documentation | |
parent | drm/radeon: add a way to get and set initial buffer domains v2 (diff) | |
download | linux-67e8e3f970ad747d3c854fb40f8ec0cecedd9089.tar.xz linux-67e8e3f970ad747d3c854fb40f8ec0cecedd9089.zip |
drm/radeon: track memory statistics about VRAM and GTT usage and buffer moves v2
The statistics are:
- VRAM usage in bytes
- GTT usage in bytes
- number of bytes moved by TTM
The last one is actually a counter, so you need to sample it before and after
command submission and take the difference.
This is useful for finding performance bottlenecks. Userspace queries are
also added.
v2: use atomic64_t
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions