diff options
author | 2023-09-01 08:17:38 +0100 | |
---|---|---|
committer | 2023-09-01 15:12:07 +0200 | |
commit | e2884fe84a83c562346eb9d92783a3576ce67177 (patch) | |
tree | 803a1ead16dc97cad48ef2d6f37b680d7b636cdf /drivers/gpu/drm/amd/amdgpu | |
parent | drm/drm_connector: Provide short description of param 'supported_colorspaces' (diff) | |
download | linux-e2884fe84a83c562346eb9d92783a3576ce67177.tar.gz linux-e2884fe84a83c562346eb9d92783a3576ce67177.tar.bz2 linux-e2884fe84a83c562346eb9d92783a3576ce67177.zip |
drm/amd: Make fence wait in suballocator uninterruptible
Commit c103a23f2f29
("drm/amd: Convert amdgpu to use suballocation helper.")
made the fence wait in amdgpu_sa_bo_new() interruptible but there is no
code to handle an interrupt. This caused the kernel to randomly explode
in high-VRAM-pressure situations so make it uninterruptible again.
Signed-off-by: Simon Pilkington <simonp.git@gmail.com>
Fixes: c103a23f2f29 ("drm/amd: Convert amdgpu to use suballocation helper.")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2761
CC: stable@vger.kernel.org # 6.4+
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c index c6b4337eb20c..10df731998b2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c @@ -81,7 +81,7 @@ int amdgpu_sa_bo_new(struct amdgpu_sa_manager *sa_manager, unsigned int size) { struct drm_suballoc *sa = drm_suballoc_new(&sa_manager->base, size, - GFP_KERNEL, true, 0); + GFP_KERNEL, false, 0); if (IS_ERR(sa)) { *sa_bo = NULL; |