[PATCH v2 11/11] accel/ivpu: Add support for delayed D0i3 entry message

Jeffrey Hugo quic_jhugo at quicinc.com
Mon Oct 30 14:37:49 UTC 2023


On 10/28/2023 7:34 AM, Stanislaw Gruszka wrote:
> From: Andrzej Kacprowski <andrzej.kacprowski at linux.intel.com>
> 
> Currently the VPU firmware prepares for D0i3 every time the VPU
> is entering D0i2 Idle state. This is not optimal as we might not
> enter D0i3 every time we enter D0i2 Idle and this preparation
> is quite costly.
> 
> This optimization moves D0i3 preparation to a dedicated
> message sent from the host driver only when the driver is about
> to enter D0i3 - this reduces power consumption and latency for
> certain workloads, for example audio workloads that submit
> inference every 10 ms.
> 
> The VPU needs non zero time to enter IDLE state after responding to
> D0i3 entry message. If the driver does not wait for the VPU to enter
> IDLE state it could cause warm boot failures.
> 
> Signed-off-by: Andrzej Kacprowski <andrzej.kacprowski at linux.intel.com>
> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>
> Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>

Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>


More information about the dri-devel mailing list