Re: [Intel-gfx] [PATCH 15/20] drm/i915/selftests: handle allocation failures

2022-02-03 Thread Matthew Auld
On 03/02/2022 09:05, Thomas Hellström wrote: On 1/26/22 16:21, Matthew Auld wrote: If we have to contend with non-mappable LMEM, then we need to ensure the object fits within the mappable portion, like in the selftests, where we later try to CPU access the pages. However if it can't then we

Re: [Intel-gfx] [PATCH 15/20] drm/i915/selftests: handle allocation failures

2022-02-03 Thread Thomas Hellström
On 1/26/22 16:21, Matthew Auld wrote: If we have to contend with non-mappable LMEM, then we need to ensure the object fits within the mappable portion, like in the selftests, where we later try to CPU access the pages. However if it can't then we need to gracefully handle this, without

[Intel-gfx] [PATCH 15/20] drm/i915/selftests: handle allocation failures

2022-01-26 Thread Matthew Auld
If we have to contend with non-mappable LMEM, then we need to ensure the object fits within the mappable portion, like in the selftests, where we later try to CPU access the pages. However if it can't then we need to gracefully handle this, without throwing an error. Also it looks like TTM will