summaryrefslogtreecommitdiffstats
path: root/include/linux/host1x.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-09-24 13:59:01 +0200
committerThierry Reding <treding@nvidia.com>2013-10-31 09:20:10 +0100
commite1e906448d2fc6f5a69e1967e00868f0cbfbb566 (patch)
tree7b28d7de7569a338f6d219b62edc9b14007411f4 /include/linux/host1x.h
parent3be8274341499cfc258eddda29f626d7be10dde5 (diff)
downloadlinux-e1e906448d2fc6f5a69e1967e00868f0cbfbb566.tar.gz
linux-e1e906448d2fc6f5a69e1967e00868f0cbfbb566.tar.bz2
linux-e1e906448d2fc6f5a69e1967e00868f0cbfbb566.zip
gpu: host1x: Make host1x header file public
In preparation to support host1x clients other than DRM, move this header into a public location. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/host1x.h')
-rw-r--r--include/linux/host1x.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h
new file mode 100644
index 000000000000..fe09939800bc
--- /dev/null
+++ b/include/linux/host1x.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2009-2013, NVIDIA Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but 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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __LINUX_HOST1X_H
+#define __LINUX_HOST1X_H
+
+enum host1x_class {
+ HOST1X_CLASS_HOST1X = 0x1,
+ HOST1X_CLASS_GR2D = 0x51,
+ HOST1X_CLASS_GR2D_SB = 0x52,
+};
+
+#endif