drm/amdgpu: use ctx bytes_moved
authorChristian König <christian.koenig@amd.com>
Thu, 5 Apr 2018 12:46:41 +0000 (14:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:05 +0000 (13:43 -0500)
commitf1018f50d48395b4a189bf8ea9af1e4441209cfd
tree2a7ed2dacb6d19a08126be82428d64b3ff633f84
parentc11d8afe10228e4621acfcb8f302255ea8567a1e
drm/amdgpu: use ctx bytes_moved

Instead of the global (inaccurate) counter.

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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c