Message ID | 20240126122804.2169129-6-jacek.lawrynowicz@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | accel/ivpu fixes for 6.8-rc3 | expand |
On 1/26/2024 5:28 AM, Jacek Lawrynowicz wrote: > From: Krystian Pradzynski <krystian.pradzynski@intel.com> > > All recent 40xx firmware already supports D0i3 entry message and this > WA is no longer needed. Can I assume that the workaround only applies to pre-production firmware?
On 26.01.2024 19:24, Jeffrey Hugo wrote: > On 1/26/2024 5:28 AM, Jacek Lawrynowicz wrote: >> From: Krystian Pradzynski <krystian.pradzynski@intel.com> >> >> All recent 40xx firmware already supports D0i3 entry message and this >> WA is no longer needed. > > Can I assume that the workaround only applies to pre-production firmware? Yes, this was only affecting very early versions of the FW.
diff --git a/drivers/accel/ivpu/ivpu_fw.c b/drivers/accel/ivpu/ivpu_fw.c index 6576232f3e67..5fa8bd4603d5 100644 --- a/drivers/accel/ivpu/ivpu_fw.c +++ b/drivers/accel/ivpu/ivpu_fw.c @@ -222,7 +222,6 @@ ivpu_fw_init_wa(struct ivpu_device *vdev) const struct vpu_firmware_header *fw_hdr = (const void *)vdev->fw->file->data; if (IVPU_FW_CHECK_API_VER_LT(vdev, fw_hdr, BOOT, 3, 17) || - (ivpu_hw_gen(vdev) > IVPU_HW_37XX) || (ivpu_test_mode & IVPU_TEST_MODE_D0I3_MSG_DISABLE)) vdev->wa.disable_d0i3_msg = true;