]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mm: Split up long running selftests with cond_resched()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Mar 2017 09:10:53 +0000 (10:10 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 May 2017 06:11:46 +0000 (08:11 +0200)
commitdb8d847670ad30a487b4221f7a82683ac69f0d18
tree232914e6b7382acb1b1ff2c7f645aea630866203
parentdab41530de3696fb0fe4d333bb939e0f74b3b355
drm/mm: Split up long running selftests with cond_resched()

Scatter a few cond_resched() in between phases of the drm_mm selftests
to try and prevent us incurring the wrath of the NMI watchdog.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170329091053.13837-1-chris@chris-wilson.co.uk
drivers/gpu/drm/selftests/test-drm_mm.c