Skip to content
Commit ecccfc53 authored by Simon Pilkington's avatar Simon Pilkington Committed by Greg Kroah-Hartman
Browse files

drm/amd: Make fence wait in suballocator uninterruptible

commit e2884fe8 upstream.

Commit c103a23f


("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: default avatarSimon Pilkington <simonp.git@gmail.com>
Fixes: c103a23f

 ("drm/amd: Convert amdgpu to use suballocation helper.")
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2761
CC: stable@vger.kernel.org # 6.4+
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6dc454ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment