aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2025-03-05 09:22:20 +0000
committerThomas Hellström <[email protected]>2025-03-05 16:08:59 +0000
commitd2d5f6d578848f13b1d01abd4e9a2452e5602586 (patch)
tree9971128e57aaf94f9d8ec8aef830c048a6c6a36e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/xe: Add a shrinker for xe bos (diff)
downloadkernel-d2d5f6d578848f13b1d01abd4e9a2452e5602586.tar.gz
kernel-d2d5f6d578848f13b1d01abd4e9a2452e5602586.zip
drm/xe: Increase the XE_PL_TT watermark
The XE_PL_TT watermark was set to 50% of system memory. The idea behind that was unclear since the net effect is that TT memory will be evicted to TTM_PL_SYSTEM memory if that watermark is exceeded, requiring PPGTT rebinds and dma remapping. But there is no similar watermark for TTM_PL_1SYSTEM memory. The TTM functionality that tries to swap out system memory to shmem objects if a 50% limit of total system memory is reached is orthogonal to this, and with the shrinker added, it's no longer in effect. Replace the 50% TTM_PL_TT limit with a 100% limit, in effect allowing all graphics memory to be bound to the device unless it has been swapped out by the shrinker. Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Link: https://lore.kernel.org/intel-xe/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions