Message ID | 20250129125636.1047413-5-jacek.lawrynowicz@linux.intel.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | accel/ivpu: Changes for 6.15 | expand |
On 1/29/2025 5:56 AM, Jacek Lawrynowicz wrote: > From: Karol Wachowski <karol.wachowski@intel.com> > > Hardware scheduling (HWS) is supposed to be supported on all existing > platform with recent FW including pre-silicon ones. Turn on HWS by > default. Is there released firmware which does not have this enabled/supported? Should this be a "on by default, if FW VER > X"? -Jeff
Yes and there is a check for FW version in ivpu_fw_sched_mode_select() that verifies this. It is just above the changed lines from this patch. On 1/31/2025 7:47 PM, Jeffrey Hugo wrote: > On 1/29/2025 5:56 AM, Jacek Lawrynowicz wrote: >> From: Karol Wachowski <karol.wachowski@intel.com> >> >> Hardware scheduling (HWS) is supposed to be supported on all existing >> platform with recent FW including pre-silicon ones. Turn on HWS by >> default. > > Is there released firmware which does not have this enabled/supported? Should this be a "on by default, if FW VER > X"? > > -Jeff
diff --git a/drivers/accel/ivpu/ivpu_fw.c b/drivers/accel/ivpu/ivpu_fw.c index 6cf1fb826d1ba..cfe8f79ec5a6f 100644 --- a/drivers/accel/ivpu/ivpu_fw.c +++ b/drivers/accel/ivpu/ivpu_fw.c @@ -148,15 +148,7 @@ ivpu_fw_sched_mode_select(struct ivpu_device *vdev, const struct vpu_firmware_he if (IVPU_FW_CHECK_API_VER_LT(vdev, fw_hdr, JSM, 3, 24)) return VPU_SCHEDULING_MODE_OS; - switch (ivpu_device_id(vdev)) { - case PCI_DEVICE_ID_MTL: - case PCI_DEVICE_ID_ARL: - case PCI_DEVICE_ID_LNL: - case PCI_DEVICE_ID_PTL_P: - return VPU_SCHEDULING_MODE_HW; - default: - return VPU_SCHEDULING_MODE_OS; - } + return VPU_SCHEDULING_MODE_HW; } static int ivpu_fw_parse(struct ivpu_device *vdev)