]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30fd51bb5243c205e75a7e1f3d691503ff700c28
treeea780c3a16277f29e15a4aa4864464d1b555cedf
parent1af8be08d0fc9f1a2467066f08db927dd62afcfb
drm/mm: revert "Break long searches in fragmented address spaces"

This reverts commit 644cac6d1b898970c0cf84bb05fa4e335cc673b9.

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