aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2021-10-27 21:40:51 +0000
committerAlex Deucher <[email protected]>2021-11-03 16:22:07 +0000
commit12fcf0a7dacca7d84b100bd34a7b8bb1f3198552 (patch)
treeee02235f5f2718a19ea701d7a2a638a8c75e334a /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
parentdrm/amdkfd: Fix SVM_ATTR_PREFERRED_LOC (diff)
downloadkernel-12fcf0a7dacca7d84b100bd34a7b8bb1f3198552.tar.gz
kernel-12fcf0a7dacca7d84b100bd34a7b8bb1f3198552.zip
drm/amdkfd: Avoid thrashing of stack and heap
Stack and heap pages tend to be shared by many small allocations. Concurrent access by CPU and GPU is therefore likely, which can lead to thrashing. Avoid this by setting the preferred location to system memory. Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Philip Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions