[PATCH 0/4] drm/amdgpu: pin_size fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michel Dänzer <michel.daenzer@xxxxxxx>

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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux