[Intel-gfx] [PATCH v2 09/16] drm/i915/pxp: Implement PXP irq handler
Chris Wilson
chris at chris-wilson.co.uk
Wed Mar 3 22:45:07 UTC 2021
Quoting Daniele Ceraolo Spurio (2021-03-01 19:31:53)
> +static int pxp_terminate(struct intel_pxp *pxp)
> +{
> + int ret = 0;
> +
> + mutex_lock(&pxp->mutex);
> +
> + pxp->global_state_attacked = true;
global_state_attacked is serialised by pxp->work
> +
> + ret = intel_pxp_arb_terminate_session_with_global_terminate(pxp);
> +
> + mutex_unlock(&pxp->mutex);
> +
> + return ret;
Fake error returns.
> +}
-Chris
More information about the Intel-gfx
mailing list