]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move gtt usage tracking into the gtt manager v2
authorChristian König <christian.koenig@amd.com>
Mon, 7 Aug 2017 15:11:33 +0000 (17:11 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Aug 2017 19:46:02 +0000 (15:46 -0400)
commit97a739c853743c06307a2483bf4eed13b3658640
treeeb0455a12dcb2c2c04c5ee1012be5308c6954b05
parent68b221df5a82c725077f3b7fbbf32723c3cfee60
drm/amdgpu: move gtt usage tracking into the gtt manager v2

It doesn't make much sense to count those numbers twice.

v2: use and atomic64_t instead

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