/*
- * Copyright (C) 2010-2015 ARM Limited. All rights reserved.
+ * Copyright (C) 2010-2014, 2016 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
#include "mali_osk.h"
#include <linux/rbtree.h>
+#ifdef CONFIG_DMA_SHARED_BUFFER
+#include <linux/dma-buf.h>
+#endif
typedef enum {
UMP_USED_BY_CPU = 0,
int is_cached;
ump_hw_usage hw_device;
ump_lock_usage lock_usage;
+#ifdef CONFIG_DMA_SHARED_BUFFER
+ struct dma_buf_attachment *import_attach;
+ struct sg_table *sgt;
+#endif
} ump_dd_mem;