summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2017-05-17 20:05:08 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-05-24 18:24:38 -0400
commit68e2c5ffeb164f069692d00659d24dbda31178bc (patch)
tree80174509a262db0c1ca1e0c58c1c578bb51800c8 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent9156e723301c0a7a7def4cde820e018ce791b842 (diff)
downloadlwn-68e2c5ffeb164f069692d00659d24dbda31178bc.tar.gz
lwn-68e2c5ffeb164f069692d00659d24dbda31178bc.zip
drm/amdgpu: add an INFO query for monitoring VRAM CPU page faults
v2: bump the DRM version Signed-off-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 572e508d185f..359fb0ca8209 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1529,6 +1529,7 @@ struct amdgpu_device {
atomic64_t gtt_usage;
atomic64_t num_bytes_moved;
atomic64_t num_evictions;
+ atomic64_t num_vram_cpu_page_faults;
atomic_t gpu_reset_counter;
atomic_t vram_lost_counter;