summaryrefslogtreecommitdiff
path: root/drivers/gpu/arm/midgard/mali_kbase_sync.h
diff options
context:
space:
mode:
authorJacob Chen <jacob2.chen@rock-chips.com>2016-10-15 16:11:46 +0800
committerJacob Chen <jacob2.chen@rock-chips.com>2016-10-15 16:11:46 +0800
commit028bc40a6d227cb553236588c43f35ad7ae2af97 (patch)
tree662944c4a76cecb58cb63da17d5ed9aac1b39914 /drivers/gpu/arm/midgard/mali_kbase_sync.h
parentf27d1ca8e35893191bb344bb461d9f5f20be5ae7 (diff)
HEADER: MALI: rockchip: upgrade midgard DDK to r9p0-05rel0release-20161015
Change-Id: Ie46489734268edac2db7508ed6976fc8b72c2f06 Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
Diffstat (limited to 'drivers/gpu/arm/midgard/mali_kbase_sync.h')
-rw-r--r--drivers/gpu/arm/midgard/mali_kbase_sync.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/gpu/arm/midgard/mali_kbase_sync.h b/drivers/gpu/arm/midgard/mali_kbase_sync.h
index 820bddc8c8b1..6d8e34d3c3ae 100644
--- a/drivers/gpu/arm/midgard/mali_kbase_sync.h
+++ b/drivers/gpu/arm/midgard/mali_kbase_sync.h
@@ -1,6 +1,6 @@
/*
*
- * (C) COPYRIGHT 2012-2016 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2012-2015 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
@@ -36,15 +36,6 @@ static inline struct sync_timeline *sync_pt_parent(struct sync_pt *pt)
}
#endif
-static inline int kbase_fence_get_status(struct sync_fence *fence)
-{
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
- return fence->status;
-#else
- return atomic_read(&fence->status);
-#endif
-}
-
/*
* Create a stream object.
* Built on top of timeline object.