]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use the new TTM bytes moved counter v2
authorChristian König <christian.koenig@amd.com>
Thu, 27 Apr 2017 16:20:47 +0000 (18:20 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:04 +0000 (12:48 -0500)
commitd245991fd634c3e6220eb464d6368b66996aba08
tree994a35f99ee86912803c16a0b5145f4e492469a6
parent06eb882047706657d5c84c3f90bd3d23fa9e656b
drm/amdgpu: use the new TTM bytes moved counter v2

Instead of the global statistics use the per context bytes moved counter.

v2: rebased

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c