Re: [Intel-gfx] [PATCH v2] drm/i915/gt: Hold a wakeref for the active VM

From: Andrzej Hajda
Date: Wed Apr 05 2023 - 10:20:04 EST


On 31.03.2023 16:16, 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>


Queued.

Regards
Andrzej