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_mem.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/kernel/drivers/rknpu/include/rknpu_mem.h b/kernel/drivers/rknpu/include/rknpu_mem.h
index 925535c..6997540 100644
--- a/kernel/drivers/rknpu/include/rknpu_mem.h
+++ b/kernel/drivers/rknpu/include/rknpu_mem.h
@@ -33,11 +33,14 @@
 	struct page **pages;
 	struct sg_table *sgt;
 	struct dma_buf *dmabuf;
+	struct list_head head;
 	unsigned int owner;
 };
 
-int rknpu_mem_create_ioctl(struct rknpu_device *rknpu_dev, unsigned long data);
-int rknpu_mem_destroy_ioctl(struct rknpu_device *rknpu_dev, unsigned long data);
+int rknpu_mem_create_ioctl(struct rknpu_device *rknpu_dev, unsigned long data,
+			   struct file *file);
+int rknpu_mem_destroy_ioctl(struct rknpu_device *rknpu_dev, unsigned long data,
+			    struct file *file);
 int rknpu_mem_sync_ioctl(struct rknpu_device *rknpu_dev, unsigned long data);
 
 #endif

--
Gitblit v1.6.2