[Intel-gfx] [PATCH] drm/i915: Call cond_resched() before repeating i915_gem_evict_something()

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Wed Oct 25 09:25:17 UTC 2017


On Tue, 2017-10-24 at 21:50 +0100, Chris Wilson wrote:
> Insert a breakpoint, a chance to escape back to the scheduler and run
> something else for a bit, if we find that the GGTT is full and needs to
> be idled in order to make some room. In practice, this should only be an
> issue in stress tests as the wait itself will normally give the chance
> for the scheduler to intervene and make progress.
> 
> References: https://bugs.freedesktop.org/show_bug.cgi?id=103438
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list