[Intel-gfx] [PATCH 4/7] drm/i915/gem/ttm: Place new BOs in the requested region
Thomas Hellström
thomas.hellstrom at linux.intel.com
Wed Aug 4 06:52:44 UTC 2021
On 8/4/21 8:49 AM, Thomas Hellström wrote:
> Hi, Jason,
>
> On 7/16/21 12:38 AM, Jason Ekstrand wrote:
>> __i915_gem_ttm_object_init() was ignoring the placement requests coming
>> from the client and always placing all BOs in SMEM upon creation.
>> Instead, compute the requested placement set from the object and pass
>> that into ttm_bo_init_reserved().
>
> This is done on purpose. When objects are initially created in SMEM,
> they are created in "Limbo", meaning they have no pages and costly
> allocation and clearing is deferred to first get_pages().
>
> So we shouldn't be doing this.
Ah, I see Matthew already responded on this. Sorry for the noise.
/Thomas
More information about the Intel-gfx
mailing list