diff options
author | Christian König <christian.koenig@amd.com> | 2022-11-24 08:26:40 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-12-06 10:17:24 -0500 |
commit | f9d00a4a8dc8fff951c97b3213f90d6bc7a72175 (patch) | |
tree | b674071d97c95e3b57706a9345b7c48f4f8961b5 /drivers/staging/Makefile | |
parent | 6ee31b3a4f596aba5123fca2776df316c20f7b06 (diff) | |
download | linux-f9d00a4a8dc8fff951c97b3213f90d6bc7a72175.tar.bz2 |
drm/amdgpu: generally allow over-commit during BO allocation
We already fallback to a dummy BO with no backing store when we
allocate GDS,GWS and OA resources and to GTT when we allocate VRAM.
Drop all those workarounds and generalize this for GTT as well. This
fixes ENOMEM issues with runaway applications which try to allocate/free
GTT in a loop and are otherwise only limited by the CPU speed.
The CS will wait for the cleanup of freed up BOs to satisfy the
various domain specific limits and so effectively throttle those
buggy applications down to a sane allocation behavior again.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/staging/Makefile')
0 files changed, 0 insertions, 0 deletions