[Intel-gfx] [PATCH] drm/i915: Allow internal page allocations to fail

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri Dec 15 10:51:41 UTC 2017


On Fri, 2017-12-15 at 10:17 +0000, Chris Wilson wrote:
> Internal objects consistent of scratch pages not subject to the
> persistence guarantees of user facing objects. They are used for
> example, in ring buffers where they are only required for temporary
> storage of commands that will be rewritten every time. As they are
> temporary constructs, quietly report -ENOMEM back along the callchain
> rather than subject the system to oomkiller if an allocation fails.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Matthew Auld <matthew.auld at 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