drm/amdgpu: move vram usage tracking into the vram manager v2
authorChristian König <christian.koenig@amd.com>
Mon, 7 Aug 2017 15:46:49 +0000 (17:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Aug 2017 19:46:03 +0000 (15:46 -0400)
commit3c848bb38aca1f7fd23edeb867b89d714a2e6ce2
tree37886a411c494568d6ba4c82176ca327680b520b
parent9255d77d8cfd714f336a48168a9dada32912b19a
drm/amdgpu: move vram usage tracking into the vram manager v2

Looks like a better place for this.

v2: use atomic64_t members 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_cs.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
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c