drm/mm: revert "Break long searches in fragmented address spaces"
authorChristian König <christian.koenig@amd.com>
Mon, 30 Mar 2020 12:30:41 +0000 (14:30 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 31 Mar 2020 15:35:56 +0000 (17:35 +0200)
commitd8a26d8fc37c5b8b9e95f2fa194f287cf8cab3f4
treeea780c3a16277f29e15a4aa4864464d1b555cedf
parent4c1cb04e0e7ac4ba1ef5457929ef9b5671d9eed3
drm/mm: revert "Break long searches in fragmented address spaces"

This reverts commit 7be1b9b8e9d1e9ef0342d2e001f44eec4030aa4d.

The drm_mm is supposed to work in atomic context, so calling schedule()
or in this case cond_resched() is illegal.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/359278/
drivers/gpu/drm/drm_mm.c