]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: stop tracking visible memory stats
authorYunxiang Li <Yunxiang.Li@amd.com>
Thu, 24 Oct 2024 09:23:39 +0000 (10:23 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Nov 2024 16:32:40 +0000 (11:32 -0500)
commitfdee0872a29fe86e8450ab00838b9c0533388733
treebf3b76cf2aa768f2513893021368488bb04230ce
parentf2863650384b32f1a511e338f102b819044ca930
drm/amdgpu: stop tracking visible memory stats

Since on modern systems all of vram can be made visible anyways, to
simplify the new implementation, drops tracking how much memory is
visible for now. If this is really needed we can add it back on top of
the new implementation, or just report all the BOs as visible.

Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h