Skip to content
Snippets Groups Projects
Commit fcbbb6ab authored by Alan Previn Teres Alexi's avatar Alan Previn Teres Alexi Committed by Ashutosh Dixit
Browse files

tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session


Subtest 'test_pxp_stale_buf_optout_execution' when run on its own,
could be executing without the PXP Arb session being alive. This
would result in the termination trigger to fail (when writing to
the pxp termination debugfs).

Create a background protected context to start the Arb session so
the simulated termination will succeed.

   v2: - use create_ctx_with_params instead of prepare_exec_assets
         for the background pxp context (Daniele)

Signed-off-by: default avatarAlan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: default avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
parent ffe3f667
Loading
Pipeline #820413 passed