aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_mailbox.h
diff options
context:
space:
mode:
authorPer Åstrand <per.astrand@arm.com>2020-10-23 21:25:05 +0200
committerPer Åstrand <per.astrand@arm.com>2020-11-16 13:57:35 +0100
commitf7e407a0fe58d76d54e3d1f9d2cb117036cd095b (patch)
tree8726e753f14c5a95d64312004c5117cf0e75b6d2 /kernel/ethosu_mailbox.h
parentf8ae5e1f5ca090b37a701f9dd75ee57106d30dc8 (diff)
downloadethos-u-linux-driver-stack-f7e407a0fe58d76d54e3d1f9d2cb117036cd095b.tar.gz
Add PMU config to inference creation
Add PMU configuration information to inference creation. Change-Id: Id8a69517a5d3e4822dbaf46f76cadb2700b3d981
Diffstat (limited to 'kernel/ethosu_mailbox.h')
-rw-r--r--kernel/ethosu_mailbox.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/ethosu_mailbox.h b/kernel/ethosu_mailbox.h
index 5a77b54..8f539ee 100644
--- a/kernel/ethosu_mailbox.h
+++ b/kernel/ethosu_mailbox.h
@@ -104,6 +104,9 @@ int ethosu_mailbox_inference(struct ethosu_mailbox *mbox,
struct ethosu_buffer **ifm,
uint32_t ofm_count,
struct ethosu_buffer **ofm,
- struct ethosu_buffer *network);
+ struct ethosu_buffer *network,
+ uint8_t *pmu_event_config,
+ uint8_t pmu_event_config_count,
+ uint8_t pmu_cycle_counter_enable);
#endif /* ETHOSU_MAILBOX_H */