summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/target-helpers/inline_drm_helper.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
index bdd8669ff86..5656ef076cf 100644
--- a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
@@ -225,9 +225,17 @@ pipe_vmwgfx_create_screen(int fd)
#if defined(GALLIUM_FREEDRENO)
#if defined(DRI_TARGET)
-const __DRIextension **__driDriverGetExtensions_freedreno(void);
+const __DRIextension **__driDriverGetExtensions_msm(void);
-PUBLIC const __DRIextension **__driDriverGetExtensions_freedreno(void)
+PUBLIC const __DRIextension **__driDriverGetExtensions_msm(void)
+{
+ globalDriverAPI = &galliumdrm_driver_api;
+ return galliumdrm_driver_extensions;
+}
+
+const __DRIextension **__driDriverGetExtensions_kgsl(void);
+
+PUBLIC const __DRIextension **__driDriverGetExtensions_kgsl(void)
{
globalDriverAPI = &galliumdrm_driver_api;
return galliumdrm_driver_extensions;