drm/amd: Make fence wait in suballocator uninterruptible
Subsystems (2)
PATCH 1/1 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.
Fixes c103a23f2f29 ("drm/amd: Convert amdgpu to use suballocation helper.")
Signed-off-by Simon Pilkington <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c +1 -1
@@ -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 ;
Signature · 1 line
2.40.1