[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <161519473525.8241.4435549444995105395@build.alporthouse.com>
Date: Mon, 08 Mar 2021 09:12:15 +0000
From: Chris Wilson <chris@...is-wilson.co.uk>
To: Jia-Ju Bai <baijiaju1990@...il.com>, airlied@...ux.ie,
daniel@...ll.ch, jani.nikula@...ux.intel.com,
joonas.lahtinen@...ux.intel.com, matthew.auld@...el.com,
rodrigo.vivi@...el.com
Cc: intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, Jia-Ju Bai <baijiaju1990@...il.com>
Subject: Re: [PATCH] gpu: drm: i915: fix error return code of igt_threaded_blt()
Quoting Jia-Ju Bai (2021-03-08 09:07:22)
> When kcalloc() returns NULL to tsk or thread, no error code of
> igt_threaded_blt() is returned.
> To fix this bug, -ENOMEM is returned as error code.
Because we decided to skip the test if it could not be run due to
insufficient memory, as opposed to an internal allocation failure from
the driver.
-Chris
Powered by blists - more mailing lists