Coresight is not supported on simulator, therefore add a boolean for
checking that (currently used by un-upstreamed code).
Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
}
spin_lock_init(&goya->hw_queues_lock);
+ hdev->supports_coresight = true;
return 0;
* @cdev_sysfs_created: were char devices and sysfs nodes created.
* @stop_on_err: true if engines should stop on error.
* @supports_sync_stream: is sync stream supported.
+ * @supports_coresight: is CoreSight supported.
*/
struct hl_device {
struct pci_dev *pdev;
u8 cdev_sysfs_created;
u8 stop_on_err;
u8 supports_sync_stream;
+ u8 supports_coresight;
/* Parameters for bring-up */
u8 mmu_enable;