summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/target.c
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2016-12-23 21:10:29 +0100
committerEmil Velikov <[email protected]>2017-01-12 19:27:11 +0000
commite8626e3b317035352148a6af15a2b781eba6e707 (patch)
treed14cae533c34cf4504c7fb0a179205b240e3c79c /src/gallium/targets/dri/target.c
parentc9e8b49b885242d84ba031dacef5aa4a5ac1e5b6 (diff)
imx: gallium driver for imx-drm scanout driver
Changes from V1 -> V2: - updated Copyright - added $(top_srcdir)/src/gallium/winsys to include path (suggested by Emil) - adapted driver to new renderonly API Signed-off-by: Christian Gmeiner <[email protected]> Acked-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri/target.c')
-rw-r--r--src/gallium/targets/dri/target.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c
index 98dfb15dbd2..441a27ff637 100644
--- a/src/gallium/targets/dri/target.c
+++ b/src/gallium/targets/dri/target.c
@@ -165,6 +165,14 @@ PUBLIC const __DRIextension **__driDriverGetExtensions_i965(void)
#if defined(GALLIUM_ETNAVIV)
+const __DRIextension **__driDriverGetExtensions_imx_drm(void);
+
+PUBLIC const __DRIextension **__driDriverGetExtensions_imx_drm(void)
+{
+ globalDriverAPI = &galliumdrm_driver_api;
+ return galliumdrm_driver_extensions;
+}
+
const __DRIextension **__driDriverGetExtensions_etnaviv(void);
PUBLIC const __DRIextension **__driDriverGetExtensions_etnaviv(void)