Skip to content

Commit dcbad72

Browse files
alexdeucherChristianKoenigAMD
authored andcommitted
drm/radeon: make fence wait in suballocator uninterrruptable
Commit 254986e ("drm/radeon: Use the drm suballocation manager implementation.") 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: 254986e ("drm/radeon: Use the drm suballocation manager implementation.") Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2769 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> CC: stable@vger.kernel.org # 6.4+ CC: Simon Pilkington <simonp.git@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230906195517.1345717-1-alexander.deucher@amd.com Signed-off-by: Christian König <christian.koenig@amd.com>
1 parent 7583028 commit dcbad72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/radeon/radeon_sa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ int radeon_sa_bo_new(struct radeon_sa_manager *sa_manager,
123123
unsigned int size, unsigned int align)
124124
{
125125
struct drm_suballoc *sa = drm_suballoc_new(&sa_manager->base, size,
126-
GFP_KERNEL, true, align);
126+
GFP_KERNEL, false, align);
127127

128128
if (IS_ERR(sa)) {
129129
*sa_bo = NULL;

0 commit comments

Comments
 (0)