[PATCH 0/4] drm/amdgpu: pin_size fixes
Michel Dänzer
michel at daenzer.net
Fri Jun 15 14:42:26 UTC 2018
From: Michel Dänzer <michel.daenzer at amd.com>
I came up with the fixes in patches 1 & 3 while looking into
https://bugs.freedesktop.org/106872 . It's not clear that these will be
enough to fix that, but they are moving in the right direction anyway.
Patch 2 is refactoring in preparation for patch 3.
Patch 4 is separate so that patches 1-3 can be backported to older
kernels which don't have amdgpu_gmc_vram_full_visible.
Michel Dänzer (4):
drm/amdgpu: Update pin_size values before unpinning BO
drm/amdgpu: Refactor amdgpu_vram_mgr_bo_invisible_size helper
drm/amdgpu: Make amdgpu_vram_mgr_bo_invisible_size always accurate
drm/amdgpu: Use gmc_vram_full_visible in vram_mgr_bo_invisible_size
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 24 ++++++-------
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 38 ++++++++++++++++++++
3 files changed, 49 insertions(+), 14 deletions(-)
--
2.17.1
More information about the amd-gfx
mailing list