]> asedeno.scripts.mit.edu Git - linux.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)
commit6af046d26f34278eacd6ecddb37170624f6d4251
tree994a35f99ee86912803c16a0b5145f4e492469a6
parentdfb8fa9828dba4a83545c8d854bb6bc003a95d95
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