summaryrefslogtreecommitdiffstats
path: root/drivers/accel/ivpu
diff options
context:
space:
mode:
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2024-01-26 13:28:00 +0100
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2024-02-06 13:36:33 +0100
commita7f31091ddf457352e3dd7ac183fdbd26b4dcd04 (patch)
treefe9216cfa2f131fde501f46a95a5bf8cdb7fc485 /drivers/accel/ivpu
parentb039f1c4d3727c3e44a7e89ff79e7e8533e1beec (diff)
downloadlinux-a7f31091ddf457352e3dd7ac183fdbd26b4dcd04.tar.gz
linux-a7f31091ddf457352e3dd7ac183fdbd26b4dcd04.tar.bz2
linux-a7f31091ddf457352e3dd7ac183fdbd26b4dcd04.zip
accel/ivpu: Disable d3hot_delay on all NPU generations
NPU does not require this delay regardless of the generation. All generations are integrated into the SOC. Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240126122804.2169129-4-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'drivers/accel/ivpu')
-rw-r--r--drivers/accel/ivpu/ivpu_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/accel/ivpu/ivpu_drv.c b/drivers/accel/ivpu/ivpu_drv.c
index 9418c73ee8ef..4b0640226986 100644
--- a/drivers/accel/ivpu/ivpu_drv.c
+++ b/drivers/accel/ivpu/ivpu_drv.c
@@ -480,9 +480,8 @@ static int ivpu_pci_init(struct ivpu_device *vdev)
/* Clear any pending errors */
pcie_capability_clear_word(pdev, PCI_EXP_DEVSTA, 0x3f);
- /* VPU 37XX does not require 10m D3hot delay */
- if (ivpu_hw_gen(vdev) == IVPU_HW_37XX)
- pdev->d3hot_delay = 0;
+ /* NPU does not require 10m D3hot delay */
+ pdev->d3hot_delay = 0;
ret = pcim_enable_device(pdev);
if (ret) {