mirror of https://github.com/torvalds/linux.git
accel/ivpu: Increase autosuspend delay to 100ms on 40xx
The new HW is more power efficient and there is no need to enter the D0i3/D3 so quickly. Increasing autosuspend delay reduces latency in certain usage scenarios. Signed-off-by: Andrzej Kacprowski <Andrzej.Kacprowski@intel.com> Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240611120433.1012423-14-jacek.lawrynowicz@linux.intel.com
This commit is contained in:
parent
a4d46253fa
commit
cf1d06ac53
|
|
@ -99,7 +99,10 @@ static void timeouts_init(struct ivpu_device *vdev)
|
||||||
vdev->timeout.boot = 1000;
|
vdev->timeout.boot = 1000;
|
||||||
vdev->timeout.jsm = 500;
|
vdev->timeout.jsm = 500;
|
||||||
vdev->timeout.tdr = 2000;
|
vdev->timeout.tdr = 2000;
|
||||||
vdev->timeout.autosuspend = 10;
|
if (ivpu_hw_ip_gen(vdev) == IVPU_HW_IP_37XX)
|
||||||
|
vdev->timeout.autosuspend = 10;
|
||||||
|
else
|
||||||
|
vdev->timeout.autosuspend = 100;
|
||||||
vdev->timeout.d0i3_entry_msg = 5;
|
vdev->timeout.d0i3_entry_msg = 5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue