From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/rknpu/include/rknpu_job.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/kernel/drivers/rknpu/include/rknpu_job.h b/kernel/drivers/rknpu/include/rknpu_job.h index 6ef52d4..cd0d1df 100644 --- a/kernel/drivers/rknpu/include/rknpu_job.h +++ b/kernel/drivers/rknpu/include/rknpu_job.h @@ -30,7 +30,6 @@ struct rknpu_device *rknpu_dev; struct list_head head[RKNPU_MAX_CORES]; struct work_struct cleanup_work; - bool in_queue[RKNPU_MAX_CORES]; bool irq_entry[RKNPU_MAX_CORES]; unsigned int flags; int ret; @@ -43,9 +42,12 @@ struct dma_fence *fence; ktime_t timestamp; uint32_t use_core_num; - uint32_t run_count; - uint32_t interrupt_count; + atomic_t run_count; + atomic_t interrupt_count; + ktime_t hw_commit_time; ktime_t hw_recoder_time; + ktime_t hw_elapse_time; + atomic_t submit_count[RKNPU_MAX_CORES]; }; irqreturn_t rknpu_core0_irq_handler(int irq, void *data); -- Gitblit v1.6.2