aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sti/sti_gdp.h
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2014-07-30 18:48:35 +0200
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2014-07-30 19:26:47 +0200
commitba2d53fb6f16f1f854923a8c6fa452e235d608b0 (patch)
tree8a54541d16c72e2e5155032a7a6a31e0ff1164c8 /drivers/gpu/drm/sti/sti_gdp.h
parentdrm: sti: add TVOut driver (diff)
downloadlinux-dev-ba2d53fb6f16f1f854923a8c6fa452e235d608b0.tar.xz
linux-dev-ba2d53fb6f16f1f854923a8c6fa452e235d608b0.zip
drm: sti: add GDP layer
Generic Display Pipeline are one of the compositor input sub-devices. GDP are dedicated to graphic input like RGB plans. GDP is part of Compositor hardware block which will be introduce later. A sti_layer structure is used to abstract GDP calls from Compositor. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Reviewed-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_gdp.h')
-rw-r--r--drivers/gpu/drm/sti/sti_gdp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_gdp.h b/drivers/gpu/drm/sti/sti_gdp.h
new file mode 100644
index 000000000000..1dab68274ad3
--- /dev/null
+++ b/drivers/gpu/drm/sti/sti_gdp.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) STMicroelectronics SA 2014
+ * Authors: Benjamin Gaignard <benjamin.gaignard@st.com>
+ * Fabien Dessenne <fabien.dessenne@st.com>
+ * for STMicroelectronics.
+ * License terms: GNU General Public License (GPL), version 2
+ */
+
+#ifndef _STI_GDP_H_
+#define _STI_GDP_H_
+
+#include <linux/types.h>
+
+struct sti_layer *sti_gdp_create(struct device *dev, int id);
+
+#endif