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