Re: [PATCH v2] drm/i915/gt: Hold a wakeref for the active VM
From: Andi Shyti
Date: Tue Apr 04 2023 - 12:30:03 EST
Hi,
On Fri, Mar 31, 2023 at 04:16:36PM +0200, Andrzej Hajda wrote:
> From: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
>
> There may be a disconnect between the GT used by the engine and the GT
> used for the VM, requiring us to hold a wakeref on both while the GPU is
> active with this request.
>
> v2: added explanation to __queue_and_release_pm
>
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> [ahajda: removed not-yet-upstremed wakeref tracking bits]
> Signed-off-by: Andrzej Hajda <andrzej.hajda@xxxxxxxxx>
Thank you Tvrtko and Chris for answering my questions,
Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxxxxxxx>
Andi