drm/amdgpu: add eviction counter
authorChristian König <christian.koenig@amd.com>
Tue, 21 Jun 2016 14:28:14 +0000 (16:28 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:49 +0000 (14:54 -0400)
commitdbd5ed60ac856632609491229e6d7ad70115fb09
tree63947ebcb6273c20c88cf5348f790ab46b7615aa
parent0eaeb070ed6d22e5b42e47210c249283ddf5b08f
drm/amdgpu: add eviction counter

Keep track of the number of evictions since boot.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c