[PATCH v2 06/16] drm/xe: Convert xe_bo_create_user() for exhaustive eviction
Simon Richter
Simon.Richter at hogyros.de
Sat Aug 23 09:32:56 UTC 2025
Hi,
On 8/22/25 18:40, Thomas Hellström wrote:
> + xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.interruptible = true},
> + err) {
> + if (vm) {
> + err = xe_vm_drm_exec_lock(vm, &exec);
> + drm_exec_retry_on_contention(&exec);
> + if (err)
> + break;
> + }
> + bo = xe_bo_create_user(xe, vm, args->size, args->cpu_caching,
> + bo_flags, &exec);
> + drm_exec_retry_on_contention(&exec);
> + if (IS_ERR(bo)) {
> + err = PTR_ERR(bo);
> + xe_validation_retry_on_oom(&ctx, &err);
> + break;
> + }
I can't try it again because the patch series doesn't apply to the
current drm-tip, but: when I was running Piglit against the last
version, I ended up on the failing path for the xe_validation_guard,
with 64 threads creating a context, submitting a small workload, and
dismantling the context again.
Am I supposed to end up in there?
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/intel-xe/attachments/20250823/2ec48351/attachment.sig>
More information about the Intel-xe
mailing list