force_alloc in ttm_operation_ctx
Matthew Brost
matthew.brost at intel.com
Wed Apr 23 01:48:08 UTC 2025
On Wed, Apr 23, 2025 at 09:35:35AM +1000, Dave Airlie wrote:
> Hey,
>
> Been digging a bit into cgroups stuff and I found this force_alloc
> flags in the TTM operation context that seemed like I should dig
> deeper, but I can't see this flag being used anywhere, places set it
> but I can't spot the consumer of it?
>
A quick grep shows:
mbrost at lstrano-desk:drm$ grep force_alloc */*.c
ttm/ttm_bo_vm.c: .force_alloc = true
ttm/ttm_resource.c: .force_alloc = true
We have this wired in xe_bo_evict() too but always set it to false at
the caller.
Matt
> Is there some out of tree patch or something currently being
> upstreamed to use it?
>
> Dave.
More information about the dri-devel
mailing list