aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/pvr/sgxdefs.h
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-11-14 19:06:31 -0800
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:49:55 -0800
commita52b15158207cc554508a4dd6d6506c14f3a620a (patch)
tree86f17047cb6aaab4456a47f3818b5249130dbcee /drivers/gpu/pvr/sgxdefs.h
parent690da81fe3a5ec874a8dcff4a36aea9d0f5bb6b7 (diff)
downloadkernel_samsung_crespo-a52b15158207cc554508a4dd6d6506c14f3a620a.tar.gz
kernel_samsung_crespo-a52b15158207cc554508a4dd6d6506c14f3a620a.tar.bz2
kernel_samsung_crespo-a52b15158207cc554508a4dd6d6506c14f3a620a.zip
PVR: Added PVR/IMG driver for S5PC11X - SGX DDK 1.6.16.3947.
Change-Id: Ib43459f5bd765d3841bd1ffb9c63b6355c2db2dd Signed-off-by: hoony.yu <hoony.yu@samsung.com> Signed-off-by: Brian Swetland <swetland@google.com>
Diffstat (limited to 'drivers/gpu/pvr/sgxdefs.h')
-rw-r--r--drivers/gpu/pvr/sgxdefs.h94
1 files changed, 94 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/sgxdefs.h b/drivers/gpu/pvr/sgxdefs.h
new file mode 100644
index 00000000000..9e5effbc853
--- /dev/null
+++ b/drivers/gpu/pvr/sgxdefs.h
@@ -0,0 +1,94 @@
+/**********************************************************************
+ *
+ * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful but, except
+ * as otherwise stated in writing, without any warranty; without even the
+ * implied warranty of merchantability or fitness for a particular purpose.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * The full GNU General Public License is included in this distribution in
+ * the file called "COPYING".
+ *
+ * Contact Information:
+ * Imagination Technologies Ltd. <gpl-support@imgtec.com>
+ * Home Park Estate, Kings Langley, Herts, WD4 8LZ, UK
+ *
+ ******************************************************************************/
+
+#ifndef _SGXDEFS_H_
+#define _SGXDEFS_H_
+
+#include "sgxerrata.h"
+#include "sgxfeaturedefs.h"
+
+#if defined(SGX520)
+#include "sgx520defs.h"
+#else
+#if defined(SGX530)
+#include "sgx530defs.h"
+#else
+#if defined(SGX535)
+#include "sgx535defs.h"
+#else
+#if defined(SGX535_V1_1)
+#include "sgx535defs.h"
+#else
+#if defined(SGX540)
+#include "sgx540defs.h"
+#else
+#if defined(SGX541)
+#include "sgx541defs.h"
+#else
+#if defined(SGX543)
+#include "sgx543defs.h"
+#else
+#if defined(SGX544)
+#include "sgx544defs.h"
+#else
+#if defined(SGX545)
+#include "sgx545defs.h"
+#else
+#if defined(SGX531)
+#include "sgx531defs.h"
+#else
+#if defined(SGX554)
+#include "sgx554defs.h"
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif
+
+#if defined(SGX_FEATURE_MP)
+#if defined(SGX541)
+#if SGX_CORE_REV == 100
+#include "sgx541_100mpdefs.h"
+#else
+#include "sgx541mpdefs.h"
+#endif
+#else
+#include "sgxmpdefs.h"
+#endif
+#else
+#if defined(SGX_FEATURE_SYSTEM_CACHE)
+#include "mnemedefs.h"
+#endif
+#endif
+
+#endif
+