[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:49:43 UTC 2021
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.
/Thomas
More information about the dri-devel
mailing list